Skip to content

v1.19.4

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jan 00:59
· 12392 commits to main since this release
2b1177e

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,
)

Full Changelog: v1.19.3...v1.19.4