Simple RAG Consumption with Pinecone > Introduction to Simple RAG Consumption with Pinecone recipe
Introduction to Simple RAG Consumption with Pinecone recipe
The Simple Retrieval Augmented Generation (RAG) Consumption with Pinecone recipe is based on REST and SOAP APIs.
The process submits a query that is received from the user, converts it into a vector, and uses it to search for similar vectors in a database. The top K matches are retrieved, filtered by a cutoff score, and used to form a context. This context including the original query is passed to a Large Language Model (LLM) to generate and return a comprehensive response.