Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / RAG & Knowledge Bases

RAG & Knowledge Bases

Chat with GitHub OpenAPI Specification using RAG (Pinecone and OpenAI)

When you run it, it answers questions from your own knowledge base with OpenAI / ChatGPT.

What it does

## Indexing content in the vector database This part of the workflow is responsible for extracting content, generating embeddings and sending them to the Pinecone vector store. It requests the OpenAPI specifications from GitHub using a HTTP request. Then, it splits the file in chunks, generating embeddings for each chunk using OpenAI, and saving them in Pinecone vector DB.

The steps

  1. When clicking ‘Test workflow’
  2. HTTP Request
  3. Pinecone Vector Store
  4. Default Data Loader
  5. Recursive Character Text Splitter
  6. When chat message received
  7. AI Agent
  8. OpenAI Chat Model
  9. Window Buffer Memory
  10. Vector Store Tool
  11. OpenAI Chat Model1
  12. Generate User Query Embedding
  13. Pinecone Vector Store (Querying)
  14. Generate Embeddings

Similar automations