PrivateGPT
Create a QnA chatbot on your documents without relying on the internet by utilizing the capabilities of local LLMs. Ensure complete privacy and security as none of your data ever leaves your local execution environment. Seamlessly process and inquire about your documents even without an internet connection. Inspired from imartinez
![pgpt](https://private-user-images.githubusercontent.com/4326215/242271189-76e24cd4-a890-4253-bb87-098c4f1328fd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDMwNzIwOTEsIm5iZiI6MTcwMzA3MTc5MSwicGF0aCI6Ii80MzI2MjE1LzI0MjI3MTE4OS03NmUyNGNkNC1hODkwLTQyNTMtYmI4Ny0wOThjNGYxMzI4ZmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQUlXTkpZQVg0Q1NWRUg1M0ElMkYyMDIzMTIyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMzEyMjBUMTEyOTUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzEyMmZmYWZlZWEwZDVmNjI3OWNjMTU0NTgxOTQxOGY5ZThiYzJmNTkzZGQ0YWFkYWU4MTU3MzdjMGQyNmQ2NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Oc9ZKOTQxpcDTlAMiBBqMWPNBMxwXul6dzGM2KV-7fs)
Contents
Getting started
Code is up, ⭐ (Star) the repo meanwhile to receive updates
Follow Anil Chandra Naidu Matcha & Ankur Singh on twitter for updates
Requirements
- Python 3.8 or later
- NodeJS v18.12.1 or later
- Minimum 16GB of memory
How to run
-
Go to client folder and run the below commands
npm install
npm run dev
-
Go to server folder and run the below commands
pip install -r requirements.txt
python privateGPT.py
-
Open http://localhost:3000, click on download model to download the required model initially
-
Upload any document of your choice and click on Ingest data. Ingestion is fast
-
Now run any query on your data. Data querying is slow and thus wait for sometime
Support
Join our discord https://discord.gg/A6EzvsKX4u to get support
Data
The supported extensions for documents are:
- .csv: CSV,
- .docx: Word Document,
- .enex: EverNote,
- .eml: Email,
- .epub: EPub,
- .html: HTML File,
- .md: Markdown,
- .msg: Outlook Message,
- .odt: Open Document Text,
- .pdf: Portable Document Format (PDF),
- .pptx : PowerPoint Document,
- .txt: Text file (UTF-8),