openai_utils
autogen.oai.openai_utils.get_config
get_config
Constructs a configuration dictionary for a single model with the provided API configurations.
Example:
Name | Description |
---|---|
api_key | The API key for authenticating API requests. Type: str | None |
base_url | The base URL of the API. If not provided, defaults to None. Type: str | None Default: None |
api_type | The type of API. If not provided, defaults to None. Type: str | None Default: None |
api_version | The version of the API. If not provided, defaults to None. Type: str | None Default: None |
Type | Description |
---|---|
dict[str, typing.Any] | Dict: A dictionary containing the provided API configurations. |