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 |
|---|---|---|---|
assistantHost | text | Required | Assistant host URL returned by assistant creation/status, for example https://prod-1-data.ke.pinecone.io. |
assistantName | text | Required | Assistant name. |
messages | array of object | Required | Chat message history array. Each item should include role and content. |
role | text | Required | Message role (e.g. user, assistant). |
content | text | Required | Message body text. |
model | text | Optional | Optional model (gpt-4o, gpt-4.1, o4-mini, claude-3-5-sonnet, claude-3-7-sonnet, gemini-2.5-pro). |
stream | yes/no | Optional | Return streaming chunks when true. |
temperature | number | Optional | Sampling temperature. |
json_response | yes/no | Optional | Request JSON response mode. |
include_highlights | yes/no | Optional | Include citation highlights when available. |
filter | object | Optional | Optional metadata filter for retrieval. |
context_options | object | Optional | Optional context options such as multimodal and include_binary_content. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code |
body | object | Chat response with message, citations, usage, and model. |
id | text | Chat response identifier. |
finish_reason | text | Reason the model stopped generating (stop, length, content_filter, function_call). |
message | object | Assistant message. |
role | text | Message role (e.g. assistant). |
content | text | Message content text. |
model | text | Model used to generate the response. |
citations | array of object | Structured citations supporting the response. |
position | number | Character index where the citation applies in the response text. |
references | array of object | Source references for this citation; each has a file object (id, name, status) and a pages array. |
usage | object | Token usage for the chat request. |
prompt_tokens | number | Prompt tokens consumed. |
completion_tokens | number | Completion tokens generated. |
total_tokens | number | Total tokens consumed. |