Top Builders

Explore the top contributors showcasing the highest number of app submissions within our community.

PrivateGPT

PrivateGPT is a tool that enables you to ask questions to your documents without an internet connection, using the power of Language Models (LLMs). It is 100% private, and no data leaves your execution environment at any point. You can ingest documents and ask questions without an internet connection!

PrivateGPT is built with LangChain, GPT4All, LlamaCpp, Chroma, and SentenceTransformers.

demo

Setup and Usage

  1. Install all required packages by running pip3 install -r requirements.txt.
  2. Download an LLM model (e.g., ggml-gpt4all-j-v1.3-groovy.bin) and place it in a directory of your choice.
  3. Rename example.env to .env and edit the variables according to your setup.
  4. Run python ingest.py to ingest your documents.
  5. Run python privateGPT.py to ask questions to your documents locally.

Supported Document Formats

PrivateGPT supports the following document formats:

  • .csv: CSV
  • .docx: Word Document
  • .doc: 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
  • .ppt: PowerPoint Document
  • .txt: Text file (UTF-8)

How It Works

PrivateGPT leverages local models and the power of LangChain to run the entire pipeline locally, without any data leaving your environment, and with reasonable performance.

  • ingest.py uses LangChain tools to parse the document and create embeddings locally using HuggingFaceEmbeddings (SentenceTransformers). It then stores the result in a local vector database using Chroma vector store.
  • privateGPT.py uses a local LLM based on GPT4All-J or LlamaCpp to understand questions and create answers. The context for the answers is extracted from the local vector store using a similarity search to locate the right piece of context from the docs.

System Requirements

Python Version

To use this software, you must have Python 3.10 or later installed. Earlier versions of Python will not compile.

C++ Compiler

If you encounter an error while building a wheel during the pip install process, you may need to install a C++ compiler on your computer. Follow the instructions for your operating system to install the appropriate compiler.

privateGPT AI technology page Hackathon projects

Discover innovative solutions crafted with privateGPT AI technology page, developed by our community members during our engaging hackathons.

SupplyGenius Pro

SupplyGenius Pro

Core Features 1. Document Processing & Analysis - Automated analysis of supply chain documents - Extraction of key information (parties, dates, terms) - Compliance status verification - Confidence scoring for extracted data 2. Demand Forecasting & Planning - AI-powered demand prediction - Time series analysis with confidence intervals - Seasonal pattern recognition - Multi-model ensemble forecasting (LSTM, Random Forest) 3.Inventory Optimization - Real-time inventory level monitoring - Dynamic reorder point calculation - Holding cost optimization - Stockout risk prevention 4. Risk Management - Supply chain disruption simulation - Real-time risk monitoring - Automated mitigation strategy generation - Risk score calculation 5. Supplier Management - Supplier performance tracking - Lead time optimization - Pricing analysis - Automated purchase order generation 6. Financial Analytics - ROI calculation - Cost optimization analysis - Financial impact assessment - Budget forecasting 7. Real-time Monitoring - Live metrics dashboard - WebSocket-based alerts - Performance monitoring - System health tracking 8. Security Features - JWT-based authentication - Role-based access control - Rate limiting - Secure API endpoints -- Technical Capabilities 1. AI Integration - IBM Granite 13B model integration - RAG (Retrieval Augmented Generation) - Custom AI toolchains - Machine learning pipelines 2. Data Processing - Real-time data processing - Time series analysis - Statistical modeling - Data visualization 3. Performance Optimization - Redis caching - Async operations - Rate limiting - Load balancing 4. Monitoring & Logging - Prometheus metrics - Detailed logging - Performance tracking - Error handling

privateGPT