Authorizations
Pinecone API Key
Path Parameters
The name of the assistant to be described.
Body
The desired configuration to retrieve context from an assistant.
Parameters to retrieve context from an assistant.
The query that is used to generate the context. Exactly one of query or messages should be provided.
Optionally filter which documents can be retrieved using the following metadata fields.
{ "genre": { "$ne": "documentary" } }
The list of messages to use for generating the context. Exactly one of query or messages should be provided.
The maximum number of context snippets to return. Default is 16. Maximum is 64.
20
The maximum context snippet size. Default is 2048 tokens. Minimum is 512 tokens. Maximum is 8192 tokens.
4096
Whether or not to retrieve image-related context snippets. If false
, only text snippets are returned.
If image-related context snippets are returned, this field determines whether or not they should include base64 image data. If false
, only the image captions are returned. Only available when multimodal=true
.