Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Context snippets overview

Learn how Pinecone Assistant retrieves context snippets with relevancy scores and references for RAG applications and agentic workflows.

You can retrieve the context snippets that Pinecone Assistant uses to generate its responses. This data includes relevant chunks, relevancy scores, and references.

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.

The Pinecone Python SDK and Node.js SDK provide convenient programmatic access to retrieve context snippets.

Context retrieval usage is measured in tokens, similar to Pinecone Assistant. See Pricing for up-to-date pricing information.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu