Name | Description |
---|---|
key_file_path | The directory path where the API key files are located. Defaults to the current directory. Type: str | None Default: ’.’ |
openai_api_key_file | The filename containing the OpenAI API key. Defaults to ‘key_openai.txt’. Type: str | None Default: ‘key_openai.txt’ |
aoai_api_key_file | The filename containing the Azure OpenAI API key. Defaults to ‘key_aoai.txt’. Type: str | None Default: ‘key_aoai.txt’ |
openai_api_base_file | The filename containing the OpenAI API base URL. Defaults to ‘base_openai.txt’. Type: str | None Default: ‘base_openai.txt’ |
aoai_api_base_file | The filename containing the Azure OpenAI API base URL. Defaults to ‘base_aoai.txt’. Type: str | None Default: ‘base_aoai.txt’ |
exclude | The API type to exclude from the configuration list. Can be ‘openai’ or ‘aoai’. Defaults to None. Type: str | None Default: None |
Type | Description |
---|---|
list[dict[str, typing.Any]] | List[Dict]: A list of configuration dictionaries. Each dictionary contains keys for ‘api_key’, and optionally ‘base_url’, ‘api_type’, and ‘api_version’. |