Body
application/json
The ID of the completion model to run (e.g., "text-davinci-003")
The input text prompt
Maximum number of tokens to generate
Sampling temperature
Nucleus sampling probability
Whether to stream responses
Sends a prompt to an OpenAI compatible text completion model and returns generated text. Provides completions for all open source models that are ‘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”.
The ID of the completion model to run (e.g., "text-davinci-003")
The input text prompt
Maximum number of tokens to generate
Sampling temperature
Nucleus sampling probability
Whether to stream responses