Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segregate API Keys for OpenAI #8

Open
1 task
ChakshuGautam opened this issue Nov 30, 2023 · 2 comments
Open
1 task

Segregate API Keys for OpenAI #8

ChakshuGautam opened this issue Nov 30, 2023 · 2 comments
Assignees

Comments

@ChakshuGautam
Copy link
Contributor

ChakshuGautam commented Nov 30, 2023

  • Share plan
@singhalkarun
Copy link

  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
Copy link

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

@ChakshuGautam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants