text-generation
, chat
, audio-text-to-text
, image-text-to-text
, video-text-to-text
, it also supports the closed source providers, openai
, anthropic
, mistral
, cohere
, and google
.
To specify a provider, prefix the model with the provider, e.g. gpt-4
should be passed in as openai/gpt4
Basic usage
Basic usage
Streaming
Streaming