atoti_ai_openai.ConnectionConfig(Configuration for connecting to OpenAI.
*,
api_key: str | None =None,
base_url: str | None =None,
organization_id: str | None =None,
custom_headers: Mapping[str, str] | None =None,
max_retries: int | None =None,
timeout: timedelta | None =None,
)
See also:
The other
ConnectionConfig implementations.Attributes
api_key
OpenAI API key for authentication.base_url
Base URL for the OpenAI API. Useful for OpenAI-compatible providers. The path to the API (such as/v1) must be included.