Create playground chat completion.

Stream chat completion using the selected playground providers and registered customer's providers.

Path Params
string
required

The organization ID.

Body Params
string
required

The organization ID.

string
enum
required

Type of chat completion request

Allowed:
chatCompletion
object
required

Defines a chat completion request. It supports a subset of OpenAI API (https://platform.openai.com/docs/api-reference/chat/create) spec.

selectedPlaygroundProviders
array of objects

Playground providers that can be used during routing / proxying.

selectedPlaygroundProviders
selectedRegisteredProviders
array of objects

Registered providers that can be used during routing / proxying.

selectedRegisteredProviders
double

This weight determines the importance of the quality over cost when comparing models. Default is 0.5. E.g.: 0.5 means that the quality of the model is as important as the cost. 1 means that only the quality will be considered. 0 means that only the cost will be considered.

Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json