config_list_gpt4_gpt35

config_list_gpt4_gpt35(
    key_file_path: str | None = '.',
    openai_api_key_file: str | None = 'key_openai.txt',
    aoai_api_key_file: str | None = 'key_aoai.txt',
    aoai_api_base_file: str | None = 'base_aoai.txt',
    exclude: str | None = None
) -> list[dict[str, typing.Any]]

Get a list of configs for ‘gpt-4’ followed by ‘gpt-3.5-turbo’ API calls.

Parameters:
NameDescription
key_file_pathThe path to the key files.

Type: str | None

Default: ’.’
openai_api_key_fileThe file name of the openai api key.

Type: str | None

Default: ‘key_openai.txt’
aoai_api_key_fileThe file name of the azure openai api key.

Type: str | None

Default: ‘key_aoai.txt’
aoai_api_base_fileThe file name of the azure openai api base.

Type: str | None

Default: ‘base_aoai.txt’
excludeThe api type to exclude, “openai” or “aoai”.

Type: str | None

Default: None
Returns:
TypeDescription
list[dict[str, typing.Any]]list: A list of configs for openai api calls.