Module async_openai::config
source · Expand description
Client configurations: OpenAIConfig for OpenAI, AzureConfig for Azure OpenAI Service.
Structs§
- Configuration for Azure OpenAI Service
- Configuration for OpenAI API
Constants§
- Default v1 API base url
- Calls to the Assistants API require that you pass a Beta header
- Organization header
- Project header
Traits§
- crate::Client relies on this for every API call on OpenAI or Azure OpenAI service