Skip to content

Chat-with-Your-Documents is an AI-powered document chatbot using RAG, FastAPI, and React.js for local PDF question answering.

Notifications You must be signed in to change notification settings

devcom33/Chat-with-Your-Documents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-with-Your-Documents (React Frontend & FastAPI Backend)

An AI-powered document chatbot that lets you chat with your own PDF documents, featuring a modern React.js frontend and a robust FastAPI backend.

License React FastAPI

Overview

This project provides a local solution for interacting with PDF documents using natural language. It combines a React.js frontend for a user-friendly experience with a FastAPI backend for efficient document processing and question answering using Retrieval-Augmented Generation (RAG).

App Showcase:

Chat-with-Your-Documents Screenshot

See the application in action!

Key Features

  • Modern React.js Frontend: A clean and responsive user interface.
  • FastAPI Backend: Handles document processing and question answering efficiently.
  • Retrieval-Augmented Generation (RAG): Provides accurate and context-aware answers by grounding the responses in your uploaded document.
  • Local Document Q&A: Ask questions and get answers based on your PDF documents, all running locally.
  • Persistent Vector Store: Uses FAISS (via Langchain) for efficient storage and retrieval of document embeddings.
  • Optional Together AI Integration: Can leverage the Together AI API (Llama 3) for enhanced language generation. The core application can function, but the chatbot will not respond without a valid API key.

Technology Stack

Prerequisites

  • Node.js and npm (Node Package Manager)
  • Python 3.10 or higher
  • (Optional) A Together AI API key (required for the chatbot to respond)

Setup and Installation

1. Clone the repository:

git clone https://github.com/devcom33/Chat-with-Your-Documents.git
cd Chat-with-Your-Documents