Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / RAG & Knowledge Bases

RAG & Knowledge Bases

Ask Questions About a PDF with OpenAI and Pinecone

When a chat message arrives, a question-answering chain with OpenAI searches a Pinecone index built from a Google Drive PDF and replies.

What it does

## Try me out 1. In Pinecone, create an index with 1536 dimensions and select it in *both* Pinecone nodes 2. Click 'test workflow' at the bottom of the canvas to load data into the vector store 3. Click 'chat' at the bottom of the canvas to ask questions about the data

The steps

  1. Google Drive
  2. Recursive Character Text Splitter
  3. Embeddings OpenAI
  4. Default Data Loader
  5. Question and Answer Chain
  6. OpenAI Chat Model
  7. Embeddings OpenAI2
  8. Vector Store Retriever
  9. Read Pinecone Vector Store
  10. Insert into Pinecone vector store
  11. When clicking 'Chat' button below
  12. When clicking 'Test Workflow' button
  13. Set Google Drive file URL

Similar automations