Skip to content

Commit

Permalink
fix: update model names for backwards compatibility (langflow-ai#3014)
Browse files Browse the repository at this point in the history
chore: update model names in openai_constants.py for backwards compatibility
  • Loading branch information
ogabrielluiz authored Jul 29, 2024
1 parent 469625c commit e5885ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/base/langflow/base/models/openai_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"gpt-3.5-turbo",
"gpt-3.5-turbo-0125",
]

OPENAI_EMBEDDING_MODEL_NAMES = [
"text-embedding-3-small",
"text-embedding-3-large",
"text-embedding-ada-002",
]

# Backwards compatibility
MODEL_NAMES = OPENAI_MODEL_NAMES

0 comments on commit e5885ab

Please sign in to comment.