forked from ag2ai/ag2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OAI_CONFIG_LIST_sample
18 lines (18 loc) · 1023 Bytes
/
OAI_CONFIG_LIST_sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Please modify the content, remove these four lines of comment and rename this file to OAI_CONFIG_LIST to run the sample code.
// If using pyautogen v0.1.x with Azure OpenAI, please replace "base_url" with "api_base" (line 14 and line 21 below). Use "pip list" to check version of pyautogen installed.
//
// NOTE: This configuration lists gpt-4o as the default model. If you use a different model, you may need to revise various system prompts (especially if using weaker models like gpt-4o-mini). Proceed with caution when updating this default and be aware of additional risks related to alignment and safety.
[
{
"model": "gpt-4o",
"api_key": "<your OpenAI API key here>",
"tags": ["gpt-4o", "tool", "vision"]
},
{
"model": "<your Azure OpenAI deployment name>",
"api_key": "<your Azure OpenAI API key here>",
"base_url": "<your Azure OpenAI API base here>",
"api_type": "azure",
"api_version": "<your Azure OpenAI API version here>"
}
]