AcademyWorkflowsDevelopment

Chat with GitHub API docs using Pinecone and OpenAI

Development and product teams that want a chatbot to answer questions about an API specification, adaptable to their own OpenAPI docs.

  • Recommendedour rating
  • 22,955views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

chat-with-github-api-documentation-rag-powered-chatbot-with-pinecone-openai.json

Loading the file...

What it does

Fetches the GitHub API OpenAPI specification, splits it into chunks and stores OpenAI embeddings in a Pinecone vector database. A chat interface then finds the most relevant chunks for each question and passes them to gpt-4o-mini, which answers with code snippets when useful.

Use cases

  1. 01Answer how-to questions about an API in plain language
  2. 02Build an internal chatbot over your own OpenAPI spec
  3. 03Find the right endpoint without reading the full docs

Connects

HTTP Request · AI Agent · Embeddings OpenAI · OpenAI Chat Model · Simple Memory · Recursive Character Text Splitter · Pinecone Vector Store · Default Data Loader · Vector Store Question Answer Tool

Questions about
Chat with GitHub API docs using Pinecone and OpenAI.

What is Chat with GitHub API docs using Pinecone and OpenAI used for?

Development and product teams that want a chatbot to answer questions about an API specification, adaptable to their own OpenAPI docs. Fetches the GitHub API OpenAPI specification, splits it into chunks and stores OpenAI embeddings in a Pinecone vector database. A chat interface then finds the most relevant chunks for each question and passes them to gpt-4o-mini, which answers with code snippets when useful.

How do I import Chat with GitHub API docs using Pinecone and OpenAI into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Chat with GitHub API docs using Pinecone and OpenAI safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.