github BerriAI/litellm v1.19.4

latest releases: v1.52.6, v1.52.5, v1.52.4...
9 months ago

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

Don't miss a new litellm release

NewReleases is sending notifications on new releases.