Skip to content

Commit bd4db5e

Browse files
committed
update oai config list
1 parent 2410316 commit bd4db5e

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

OAI_CONFIG_LIST_sample

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
// Please modify the content, remove these four lines of comment and rename this file to OAI_CONFIG_LIST to run the sample code.
22
// 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.
33
//
4-
// NOTE: This configuration lists GPT-4 as the default model, as this represents our current recommendation, and is known to work well with AutoGen. If you use a model other than GPT-4, you may need to revise various system prompts (especially if using weaker models like GPT-3.5-turbo). Moreover, if you use models other than those hosted by OpenAI or Azure, you may incur additional risks related to alignment and safety. Proceed with caution if updating this default.
4+
// 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.
55
[
66
{
7-
"model": "gpt-4",
7+
"model": "gpt-4o",
88
"api_key": "<your OpenAI API key here>",
9-
"tags": ["gpt-4", "tool"]
10-
},
11-
{
12-
"model": "<your Azure OpenAI deployment name>",
13-
"api_key": "<your Azure OpenAI API key here>",
14-
"base_url": "<your Azure OpenAI API base here>",
15-
"api_type": "azure",
16-
"api_version": "<your Azure OpenAI API version here>"
9+
"tags": ["gpt-4o", "tool", "vision"]
1710
},
1811
{
1912
"model": "<your Azure OpenAI deployment name>",

0 commit comments

Comments
 (0)