- Private Deployments - Dedicated resources with guaranteed availability, recommended for production use
- Shared Endpoints - Pre-deployed models for quick experimentation and development
OpenAI-Compatible Method
Predibase supports OpenAI Chat Completions v1 compatible endpoints that make it easy to migrate from OpenAI to Predibase.Python SDK
Use the OpenAI Python SDK with Predibase’s endpoints:REST API
Use the OpenAI-compatible REST API:Predibase Method
Python SDK
First, install the Predibase Python SDK:Keep in mind that the
generate
command does not apply a chat template to the input text.
You may need to apply the chat template to the prompt first, depending on your use case.For vision language models, you must use the chat completions method
in order to provide images in the input.