Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Enterprise AI Knowledge Base Assistant

🤖 Enterprise AI Knowledge Base Assistant

Version 1.0 — An AI-powered Retrieval-Augmented Generation (RAG) system that enables businesses to chat with their internal documents using natural language.

Version Status n8n Supabase OpenRouter License


💼 Business Problem

Most companies store valuable business knowledge inside PDF documents.

These documents usually contain:

  • Services
  • Pricing
  • Internal documentation
  • Company policies
  • FAQs
  • Product documentation
  • Employee knowledge

As businesses grow, searching through dozens of PDF files becomes slow and inefficient.

Support teams spend unnecessary time searching for information instead of helping customers.

This results in:

  • Slow customer support
  • Inconsistent answers
  • Reduced productivity
  • Repeated manual work
  • Difficult employee onboarding
  • Poor knowledge accessibility

Traditional keyword search is also limited because users rarely know the exact wording inside documents.


📈 Business Impact

This solution transforms static company documents into an intelligent AI assistant capable of retrieving accurate business information in seconds.

Instead of searching through multiple files, employees simply ask questions in natural language and receive grounded answers directly from company documentation.

The result is:

  • Faster customer support
  • Better employee productivity
  • Consistent answers
  • Reduced manual searching
  • Easier access to company knowledge

🚀 Solution

The system automatically creates an AI-powered knowledge base by:

  1. Searching company PDF files inside Google Drive.
  2. Downloading and extracting document content.
  3. Splitting documents into semantic chunks.
  4. Generating vector embeddings.
  5. Storing embeddings inside Supabase Vector Store.
  6. Retrieving relevant information using semantic similarity search.
  7. Allowing an AI Agent to answer questions based only on retrieved company knowledge.

Unlike a traditional chatbot, the assistant does not rely on general AI knowledge.

Instead, every answer is generated using the retrieved business documentation.


🎬 Demo

Example Question

How much does SmartSoft ERP development cost?

Example Response

According to the SmartSoft knowledge base,
ERP System Development starts from $5,000.

🏗️ System Architecture

System Architecture

✨ Key Features

  • AI-powered document search
  • Retrieval-Augmented Generation (RAG)
  • Semantic search using embeddings
  • Google Drive integration
  • Automatic PDF extraction
  • Supabase Vector Database
  • Hugging Face Embeddings
  • OpenRouter AI Agent
  • Multi-document retrieval
  • Conversation memory
  • Accurate document-grounded responses

🛠 Technology Stack

Technology Purpose
n8n Workflow Automation
Supabase Vector Database
pgvector Semantic Search
Hugging Face Embedding Generation
Google Drive Document Storage
OpenRouter Language Model
AI Agent Tool Calling
RAG Knowledge Retrieval

🔄 Workflows

Knowledge Synchronization

  • Search PDF files
  • Download documents
  • Extract text
  • Split into chunks
  • Generate embeddings
  • Store vectors

Knowledge Sync


AI Knowledge Chat

  • Receive user question
  • Generate query embedding
  • Search vector database
  • Retrieve relevant chunks
  • Generate grounded answer

Knowledge Chat



🛣️ Roadmap

Version 2

  • Automatic document synchronization
  • Detect newly uploaded documents
  • Update changed documents automatically
  • Duplicate detection
  • Metadata filtering
  • Multiple knowledge bases
  • DOCX support
  • Website indexing
  • Production deployment

👨‍💻 Author

Adel Sheded

AI Automation Developer

Specialized in:

  • AI Agents
  • n8n Automation
  • RAG Systems
  • API Integrations
  • Workflow Automation

📂 Project Assets

This repository includes:

  • Project documentation
  • System architecture
  • Workflow overview
  • Demo screenshots

The complete n8n workflow files are intentionally not included. They are available upon request for clients or during project discussions.

📄 License

MIT License


Note: This project is intended for portfolio and educational purposes. All API keys, credentials, and sensitive configuration have been removed. The included knowledge base documents are sample data created for demonstration only.

About

AI-powered RAG Knowledge Base Assistant built with n8n, Supabase, OpenRouter, and HuggingFace Embeddings.Version 1 of an AI-powered RAG Knowledge Base Assistant. Built to answer questions from company documents using semantic search. Future versions will include automatic document synchronization, update detection, multi-file management, and produc

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors