Ask AI Questions About PDFs

n8n AI Data Management Content Creation

Contributed by Sabrina Ramonov 🍄. From the community directory at agents.sabrina.dev, republished with permission and full credit.

The workflow first populates a Pinecone index with vectors from a Bitcoin whitepaper.

Then, it waits for a manual chat message. When received, the chat message is turned into a vector and compared to the vectors in Pinecone.

The most similar vectors are retrieved and passed to OpenAI for generating a chat response.

Note: To use this template, you need to be on n8n version 1.19.4 or later.

Tools used: Pinecone, OpenAI

Download the workflow template (JSON)

Original tutorial

Want this running in your business? KOBA42 builds and operates automations like this one.