Chat with GitHub OpenAPI Specification using RAG (Pinecone and OpenAI)
Triggered manually or by an app event. Connects HTTP request. 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
Front matter
name: Chat with GitHub OpenAPI Specification using RAG (Pinecone and OpenAI)
description: Triggered manually or by an app event. Connects HTTP request. ## 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. ## Querying and response generation This part of the workflow is responsible for the chat interface, querying the vector
category: Automation
kind: Workflow
software: HTTP requestChat with GitHub OpenAPI Specification using RAG (Pinecone and OpenAI)
Triggered manually or by an app event. Connects HTTP request. ## 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. ## Querying and response generation
This part of the workflow is responsible for the chat interface, querying the vector
Steps
- When clicking ‘Test workflow’ (manualTrigger)
- HTTP Request (httpRequest)
- Pinecone Vector Store (noOp)
- Default Data Loader (noOp)
- Recursive Character Text Splitter (noOp)
- When chat message received (noOp)
- AI Agent (noOp)
- OpenAI Chat Model (noOp)
- Window Buffer Memory (noOp)
- Vector Store Tool (noOp)
- OpenAI Chat Model1 (noOp)
- Sticky Note (stickyNote)
- Sticky Note1 (stickyNote)
- Generate User Query Embedding (noOp)
- Pinecone Vector Store (Querying) (noOp)
- Generate Embeddings (noOp)
- Sticky Note2 (stickyNote)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Make OpenAI Citation for File Retrieval RAG
- Telegram RAG pdf
- RAG & GenAI App With WordPress Content
- RAG:Context-Aware Chunking | Google Drive to Pinecone via OpenRouter & Gemini
- Extractfromfile Workflow: ChatGPT, n8n and Extract From File (n8n workflow collection) (Http) (1135)
- Extractfromfile Workflow: ChatGPT, n8n and Extract From File (n8n workflow collection) (Http) (1183)
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.