Skip to content

Commit

Permalink
Merge pull request #613 from deeppavlov/feat/add-gpt-4o
Browse files Browse the repository at this point in the history
Add gpt-4o configs
  • Loading branch information
RafilGalimzyanov authored Jun 5, 2024
2 parents ac98775 + 2499e96 commit dc48669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/openai_api_lm/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"gpt-4": json.load(open("common/generative_configs/openai-chatgpt.json", "r")),
"gpt-4-32k": json.load(open("common/generative_configs/openai-chatgpt.json", "r")),
"gpt-4-1106-preview": json.load(open("common/generative_configs/openai-chatgpt.json", "r")),
"gpt-4o": json.load(open("common/generative_configs/openai-chatgpt.json", "r")),
}
CHAT_COMPLETION_MODELS = ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4", "gpt-4-32k", "gpt-4-1106-preview", "gpt-4o"]

Expand Down
1 change: 1 addition & 0 deletions skills/dff_universal_prompted_skill/scenario/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"http://openai-api-gpt4:8159/respond": ["OPENAI_API_KEY", "OPENAI_ORGANIZATION"],
"http://openai-api-gpt4-32k:8160/respond": ["OPENAI_API_KEY", "OPENAI_ORGANIZATION"],
"http://openai-api-gpt4-turbo:8180/respond": ["OPENAI_API_KEY", "OPENAI_ORGANIZATION"],
"http://openai-api-gpt4o:8181/respond": ["OPENAI_API_KEY", "OPENAI_ORGANIZATION"],
"http://transformers-lm-gptjt:8161/respond": [],
"http://anthropic-api-claude-v1:8164/respond": ["ANTHROPIC_API_KEY"],
"http://anthropic-api-claude-instant-v1:8163/respond": ["ANTHROPIC_API_KEY"],
Expand Down

0 comments on commit dc48669

Please sign in to comment.