Skip to content

Interact privately with your documents using the power of LLAMA 2, 100% privately, no data leaks

License

Notifications You must be signed in to change notification settings

nanospeck/privateLLAMA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrivateLLAMA (LLAMA 2)

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 SamurAIGPT

pgpt

Contents

Getting started

Code is up, ⭐ (Star) the repo meanwhile to receive updates

Follow Akhil on twitter for updates

Requirements

  • Python 3.8 or later
  • NodeJS v18.12.1 or later (nvm install 18.12.1 to upgrade)
  • Minimum 16GB of memory

How to run

  1. Go to client folder and run the below commands

    npm install   
    npm run dev
  2. Copy the example.env template into .env

    cp example.env .env
  3. Go to server folder and run the below commands (feel free to use virtual env)

    pip install -r requirements.txt # for some it might be pip3 instead of pip
    python privateLLAMA.py # for some it might be python3 instead of python
  4. Open http://localhost:3000, click on download model to download the required model initially

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

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

  7. IMPORTANT: If there are errors in model processing download the model manually from here and replace the file in folder /models

Support

Reach out Akhil on twitter 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),

About

Interact privately with your documents using the power of LLAMA 2, 100% privately, no data leaks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published