Pinecone Docs home page
Search...
⌘K
Status
Support
Log In
Sign up free
Sign up free
Search...
Navigation
Retrieve context snippets
Context snippets overview
Guides
Reference
Examples
Releases
Pinecone Assistant
Get started
Overview
Quickstart
Pricing and limits
Build an assistant
Create an assistant
Manage assistants
Upload your data
Overview
Upload files
Manage files
Chat with an assistant
Standard interface
OpenAI-compatible interface
Evaluate answers
Overview
Evaluate answers
Retrieve context snippets
Overview
Retrieve context snippets
Integrate with AI agents
Use an MCP server
Admin
Manage billing
Manage security
Manage organizations
Manage projects
On this page
Use cases
SDK support
Pricing
Retrieve context snippets
Context snippets overview
Copy page
You can
retrieve the context snippets
that Pinecone Assistant uses to generate its responses. This data includes relevant chunks, relevancy scores, and references.
Use cases
Retrieving context snippets is useful for performing tasks like the following:
Understanding what relevant data snippets Pinecone Assistant is providing to the LLM for chat generation.
Using the retrieved snippets with your own LLM.
Using the retrieved snippets with your own RAG application or agentic workflow.
SDK support
The Pinecone
Python SDK
and
Node.js SDK
provide convenient programmatic access to
retrieve context snippets
.
Pricing
Context retrieval usage is
measured in tokens
, similar to Pinecone Assistant. See
Pricing
for up-to-date pricing information.
Pricing updates specific to context retrieval will be made as the feature becomes generally available.
Was this page helpful?
Yes
No
Evaluate answers
Retrieve context snippets
Assistant
Responses are generated using AI and may contain mistakes.