Skip to content

Commit

Permalink
gpt-4-turbo in azure
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Nov 20, 2023
1 parent 493ceb9 commit 2e980c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion daras_ai_v2/language_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ def is_chat_model(self) -> bool:
AZURE_OPENAI_MODEL_PREFIX = "openai-"

llm_model_names = {
LargeLanguageModels.gpt_4_turbo: "gpt-4-1106-preview",
LargeLanguageModels.gpt_4_turbo: (
"openai-gpt-4-turbo-prod-ca-1",
"gpt-4-1106-preview",
),
LargeLanguageModels.gpt_4: (
"openai-gpt-4-prod-ca-1",
"gpt-4",
Expand Down

0 comments on commit 2e980c3

Please sign in to comment.