PromptsDeprecated

Generate Prompt as Stream

Deprecated
POST

Generate a stream of completions using a previously defined deployment.

Important: This endpoint is DEPRECATED and has been superseded by execute-prompt-stream.

Request

This endpoint expects an object.
requests
list of objectsRequired
The generation request to make. Bulk requests are no longer supported, this field must be an array of length 1.
deployment_id
stringOptional

The ID of the deployment. Must provide either this or deployment_name.

deployment_name
stringOptional

The name of the deployment. Must provide either this or deployment_id.

options
objectOptional
Additional configuration that can be used to control what's included in the response.

Response

This endpoint returns a stream of object
delta
object