Skip to content

Commit

Permalink
update oai config list
Browse files Browse the repository at this point in the history
  • Loading branch information
sonichi committed Nov 12, 2024
1 parent 2410316 commit bd4db5e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions OAI_CONFIG_LIST_sample
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
// 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-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.
// 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-4",
"model": "gpt-4o",
"api_key": "<your OpenAI API key here>",
"tags": ["gpt-4", "tool"]
},
{
"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>"
"tags": ["gpt-4o", "tool", "vision"]
},
{
"model": "<your Azure OpenAI deployment name>",
Expand Down

0 comments on commit bd4db5e

Please sign in to comment.