AI Agents

Chat with GitHub Specifications Using RAG

17 nodes 327 132 Automatic trigger
Download

Workflow Description

An automation that enables interactive questioning of GitHub project specifications through an intelligent chatbot. Documents are indexed in Pinecone and answers are generated via OpenAI using retrieval-augmented generation techniques for accurate, context-aware responses.

How it works

  1. 1.Load GitHub specifications and split content into searchable text chunks
  2. 2.Store chunks in Pinecone vector database for rapid semantic retrieval
  3. 3.Receive user questions through the chat interface and convert to embeddings
  4. 4.Search Pinecone for relevant documentation segments matching the query
  5. 5.Generate precise answers using OpenAI based on retrieved context

Use cases

  • Answer technical questions about project architecture and requirements without manual file browsing
  • Quickly locate specific information within large GitHub documentation repositories

Requirements

  • Active Pinecone account with API key and configured vector index
  • OpenAI API key for chat model and embedding generation access

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Vector Store Document Default Data Loader Text Splitter Chat Trigger AI Agent OpenAI Memory

Details

Trigger Automatic trigger
Nodes 17
Apps 7
Views 327
Downloads 132

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

When clicking ‘Test workflow’

Manual Trigger

#1

HTTP Request

HTTP Request

#2

Pinecone Vector Store

Vector Store Pinecone

#3

Default Data Loader

Document Default Data Loader

#4

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#5

When chat message received

Chat Trigger

#6

AI Agent

Agent

#7

OpenAI Chat Model

OpenAI

#8

Window Buffer Memory

Memory Buffer Window

#9

Vector Store Tool

Tool Vector Store

#10

OpenAI Chat Model1

OpenAI

#11

Sticky Note

Sticky Note

#12

Sticky Note1

Sticky Note

#13

Generate User Query Embedding

OpenAI

#14

Pinecone Vector Store (Querying)

Vector Store Pinecone

#15

Generate Embeddings

OpenAI

#16

Sticky Note2

Sticky Note

#17