fix: update model names for backwards compatibility (#3014)

chore: update model names in openai_constants.py for backwards compatibility
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-29 01:18:23 -03:00 committed by GitHub
commit e5885ab158
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,9 +7,11 @@ OPENAI_MODEL_NAMES = [
"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