Allow specifying OpenAI-Organization header: (#313)
See https://platform.openai.com/docs/api-reference/introduction > For users who belong to multiple organizations, you can pass a header > to specify which organization is used for an API request. Usage from > these API requests will count against the specified organization's > subscription quota.
This commit is contained in:
@@ -94,7 +94,9 @@ Create a .env.local file in the root of the repo with your OpenAI API Key:
|
||||
OPENAI_API_KEY=YOUR_KEY
|
||||
```
|
||||
|
||||
> you can set `OPENAI_API_HOST` where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.
|
||||
> You can set `OPENAI_API_HOST` where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.
|
||||
|
||||
> Additionally, if you have multiple OpenAI Organizations, you can set `OPENAI_ORGANIZATION` to specify one.
|
||||
|
||||
**4. Run App**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user