autogen
autogen.get_config_list
get_config_list
Get a list of configs for OpenAI API client.
Parameters:Name | Description |
---|---|
api_keys | The api keys for openai api calls. Type: list[str] |
base_urls | The api bases for openai api calls. If provided, should match the length of api_keys. Type: list[str] | None Default: None |
api_type | The api type for openai api calls. Type: str | None Default: None |
api_version | The api version for openai api calls. Type: str | None Default: None |
Type | Description |
---|---|
list[dict[str, typing.Any]] | list: A list of configs for OepnAI API calls. |