autogen
autogen.config_list_gpt4_gpt35
config_list_gpt4_gpt35
Get a list of configs for ‘gpt-4’ followed by ‘gpt-3.5-turbo’ API calls.
Parameters:Name | Description |
---|---|
key_file_path | The path to the key files. Type: str | None Default: ’.’ |
openai_api_key_file | The file name of the openai api key. Type: str | None Default: ‘key_openai.txt’ |
aoai_api_key_file | The file name of the azure openai api key. Type: str | None Default: ‘key_aoai.txt’ |
aoai_api_base_file | The file name of the azure openai api base. Type: str | None Default: ‘base_aoai.txt’ |
exclude | The api type to exclude, “openai” or “aoai”. Type: str | None Default: None |
Type | Description |
---|---|
list[dict[str, typing.Any]] | list: A list of configs for openai api calls. |