Skip to content

An app to interact privately with your documents using the power of GPT, 100% privately, no data leaks

License

Notifications You must be signed in to change notification settings

donburi82/privateGPT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrivateGPT

Document QA pipeline using SentenceTransformers embeddings and local LLMs - private and secure. Original pipeline from imartinez and UI from SamurAI.

Contents

Difference

UI

  • Retrieve a list of documents
  • Delete documents
  • View which part of the source documents the LLM referred to
  • Library versions up to date with original pipeline as of 3rd July 2023

Requirements

  • Python 3.8 or later
  • NodeJS v18.12.1 or later
  • Minimum 16GB of memory

How to run

  1. Go to client folder and run the below commands

    npm install   
    npm run dev
  2. Go to server folder and run the below commands

    pip install -r requirements.txt
    python privateGPT.py
  3. Open http://localhost:3000, click on download model to download the required model initially

  4. Upload any document of your choice and click on Ingest data. Ingestion is fast

  5. Now run any query on your data. Data querying is slow and thus wait for sometime

Supported Documents

The supported extensions for documents are:

  • .csv: CSV,
  • .doc/.docx: Word Document,
  • .enex: EverNote,
  • .eml: Email,
  • .epub: EPub,
  • .html: HTML File,
  • .md: Markdown,
  • .odt: Open Document Text,
  • .pdf: Portable Document Format (PDF),
  • .ppt/.pptx : PowerPoint Document,
  • .txt: Text file (UTF-8),

Check repos

About

An app to interact privately with your documents using the power of GPT, 100% privately, no data leaks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.9%
  • Python 36.2%
  • CSS 5.9%