Get Playground Prompt Request
In a similar way to our /v1/chat_completions endpoint, this endpoint is used (unauthenticated) to store Playground requests in the database. The endpoint returns the created log, and Frontend handles the data.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The user prompt
The App ID belonging to this user's org where all the logs will be logged
The name of the model which will be used
The temperature of the request
0 < x < 1
The maximum number of tokens for the request
x > 1
The Assistant ID to use for this request
The Assistant version ID to use for this request
The Conversation ID to use for this request
The Parent Request ID to use for this request
The list of plugins to enable for the request
A list of images that should be analyzed (vision api)
A list of files that should be analyzed (images, audio, etc.)
Was this page helpful?