UP-LIFT / .github

0 stars 1 forks source link

Segregate API Keys for OpenAI #8

Open ChakshuGautam opened 10 months ago

ChakshuGautam commented 10 months ago
singhalkarun commented 10 months ago
  1. Update BFF to send OpenAI API Key when sending request to ai-tools in headers
  2. Update Service in ai-tools to accept OpenAI API Keys from headers and utilize those instead of expecting it from environment.

Each project and it's each environment has a separate bff deployment, so this we will be able to use different API Keys.

@ChakshuGautam

singhalkarun commented 9 months ago

We will be also tracking token usage for different programs on our end as OpenAI doesn't give cost breakdown basis API Key.

@ChakshuGautam