What's Changed
New OpenAI Models
text-embedding-3-large
,
text-embedding-3-small
gpt-4-0125-preview
Usage - New Embedding models
response = litellm.embedding(
model="text-embedding-3-large",
input=["good morning from litellm", "this is another item"],
metadata={"anything": "good day"},
)
response = litellm.embedding(
model="text-embedding-3-small",
input=["good morning from litellm", "this is another item"],
metadata={"anything": "good day"},
)
Usage - gpt-4-0125-preview
response = litellm.completion(
model="gpt-4-0125-preview",
messages=messages,
max_tokens=10,
)
- fix(main.py): allow vertex ai project and location to be set in completion() call by @krrishdholakia in #1623
- [UI] Admin UI improvements by @ishaan-jaff in #1625
Full Changelog: v1.19.3...v1.19.4