API Reference
Parasail offers a direct drop-in replacement for OpenAI's batch API. The same documentation, guides, and cookbooks apply.
We encourage you to use OpenAI's or community-built client libraries for your preferred language.
The only workflow changes are:
Use the Parasail URL:
https://api.saas.parasail.io
Use your Parasail API key. Create one here.
Use an open model that Parasail supports instead of ChatGPT.
OpenAI API reference
Client Setup
Chat Completions vs Text Completions:
As long as vLLM keeps support for both we have support for both endpoints.
/completions
endpoint provides the completion for a single prompt and takes a single string as an input, whereas the /chat/completions
provides the responses for a given dialog and requires the input in a specific format corresponding to the message history.
Last updated