Skip to content

Chat Assistant

Pinecone

Pinecone

Chat Assistant

Chat with a Pinecone assistant using the standard interface with optional multimodal context.

ActionAI Tool

Inputs

Name Type Required Description
assistantHosttextRequiredAssistant host URL returned by assistant creation/status, for example https://prod-1-data.ke.pinecone.io.
assistantNametextRequiredAssistant name.
messagesarray of objectRequiredChat message history array. Each item should include role and content.
roletextRequiredMessage role (e.g. user, assistant).
contenttextRequiredMessage body text.
modeltextOptionalOptional model (gpt-4o, gpt-4.1, o4-mini, claude-3-5-sonnet, claude-3-7-sonnet, gemini-2.5-pro).
streamyes/noOptionalReturn streaming chunks when true.
temperaturenumberOptionalSampling temperature.
json_responseyes/noOptionalRequest JSON response mode.
include_highlightsyes/noOptionalInclude citation highlights when available.
filterobjectOptionalOptional metadata filter for retrieval.
context_optionsobjectOptionalOptional context options such as multimodal and include_binary_content.

Outputs

Name Type Description
statusCodenumberHTTP status code
bodyobjectChat response with message, citations, usage, and model.
idtextChat response identifier.
finish_reasontextReason the model stopped generating (stop, length, content_filter, function_call).
messageobjectAssistant message.
roletextMessage role (e.g. assistant).
contenttextMessage content text.
modeltextModel used to generate the response.
citationsarray of objectStructured citations supporting the response.
positionnumberCharacter index where the citation applies in the response text.
referencesarray of objectSource references for this citation; each has a file object (id, name, status) and a pages array.
usageobjectToken usage for the chat request.
prompt_tokensnumberPrompt tokens consumed.
completion_tokensnumberCompletion tokens generated.
total_tokensnumberTotal tokens consumed.