Chat
Chat through an OpenAI-compatible interface
Chat with an assistant. This endpoint is based on the OpenAI Chat Completion API, a commonly used and adopted API.
It is useful if you need inline citations or OpenAI-compatible responses, but has limited functionality compared to the standard chat interface.
For guidance and examples, see Chat with an assistant.
POST
Authorizations
Pinecone API Key
Path Parameters
The name of the assistant to be described.
Body
application/json
The list of queries / chats to chat an assistant
Optionally filter which documents can be retrieved using the following metadata fields.
The large language model to use for answer generation
Available options:
gpt-4o
, claude-3-5-sonnet
If false, the assistant will return a single JSON response. If true, the assistant will return a stream of responses.
Was this page helpful?