-
Notifications
You must be signed in to change notification settings - Fork 761
Closed
Labels
Description
OpenAI supports OpenAI-Organization
and OpenAI-Project
headers which allows users to select organisation and project that needs to be used with the API Key. Gateway needs to add support for it in configs as well as headers:
-
Configs: Add
openai_organization
andopenai_project
params which can be used in addition toprovider
andapi_key
params. -
Headers: Add
x-portkey-openai-project
andx-portkey-openai-organization
headers which can used along withx-portkey-provider
andAuthorization
header.
OpenAI Docs Ref: https://platform.openai.com/docs/api-reference/organizations-and-projects-optional