Actions6
- Assistant Actions
- File Actions
- Context Snippet Actions
Context Snippet → Get Context Snippets
AI-generatedSummary
Retrieve relevant context snippets from a specified Pinecone Assistant based on a user-provided query, with optional filters and configuration.
Inputs
- Assistant Name (required) — Select the Pinecone Assistant name to query.
- Query (required) — The text query to use for retrieving context snippets.
- Additional Fields — Optional parameters including: Include Multimodal Context (boolean) to include multimodal snippets, Include Binary Content (boolean) to include binary content with multimodal snippets, Metadata Filter (key-value pairs) or Advanced Metadata Filter (JSON) to restrict snippets by file metadata, Snippet Size (number) to set maximum snippet token size, Top K (number) to limit the number of returned snippets, and Source Tag (string) to attribute usage to this integration.
Output shape
a list of JSON objects each representing a context snippet matching the query and filters
Returns an array of context snippets from the specified assistant. Only one of Metadata Filter or Advanced Metadata Filter can be set per request. The query parameter is required and must be non-empty. Includes multimodal and binary content options if enabled. The returned snippets are limited by Top K and sized by Snippet Size parameters.