fix: update model names for backwards compatibility (#3014)
chore: update model names in openai_constants.py for backwards compatibility
This commit is contained in:
parent
469625c0a3
commit
e5885ab158
1 changed files with 3 additions and 1 deletions
|
|
@ -7,9 +7,11 @@ OPENAI_MODEL_NAMES = [
|
||||||
"gpt-3.5-turbo",
|
"gpt-3.5-turbo",
|
||||||
"gpt-3.5-turbo-0125",
|
"gpt-3.5-turbo-0125",
|
||||||
]
|
]
|
||||||
|
|
||||||
OPENAI_EMBEDDING_MODEL_NAMES = [
|
OPENAI_EMBEDDING_MODEL_NAMES = [
|
||||||
"text-embedding-3-small",
|
"text-embedding-3-small",
|
||||||
"text-embedding-3-large",
|
"text-embedding-3-large",
|
||||||
"text-embedding-ada-002",
|
"text-embedding-ada-002",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Backwards compatibility
|
||||||
|
MODEL_NAMES = OPENAI_MODEL_NAMES
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue