POST
/
assistant
/
chat
/
{assistant_name}
/
chat
/
completions

This feature is in public preview.

Authorizations

Api-Key
string
headerrequired

Pinecone API Key

Path Parameters

assistant_name
string
required

The name of the assistant to be described.

Body

application/json
messages
object[]
required

An array of objects that represent the messages in a conversation.

streaming
boolean
default: false

Whether to return a streaming response.

Response

200 - application/json
chat_completion
object

The ChatCompletionModel describes the response format of a chat request