PrivateGPT
Ask questions about your documents with LLMs, 100% offline.
- Star 数
- 57.7K
- Fork 数
- 7.6K
- 未关闭 Issue
- 35
- 最近提交
- 2026-11-26
数据来自 GitHub API · 更新于 2026-11-30
PrivateGPT 是什么?
PrivateGPT is a production-ready RAG API and Gradio UI for chatting with documents without data leaving your machine. Built on LlamaIndex, it exposes an OpenAI-style API and supports Ollama, llama.cpp and cloud backends via profiles.
主要功能
- Document ingestion and contextual chat
- OpenAI-compatible API
- Pluggable LLMs, embeddings and vector stores
- Gradio web UI
系统要求
- 平台
- Windows · macOS · Linux · Docker
- Python
- 3.11
- 备注
- Poetry; Ollama for the default local setup.
如何安装 PrivateGPT
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
Ollama profile
- 1Clone the repo and install the Ollama extras.
git clone https://github.com/zylon-ai/private-gpt cd private-gpt poetry install --extras "ui llms-ollama embeddings-ollama vector-stores-qdrant" - 2Pull models in Ollama, then run.
ollama pull llama3.1 ollama pull nomic-embed-text PGPT_PROFILES=ollama make run
优势
- Fully offline
- Clean API for building apps
不足
- Basic UI
- Setup requires Poetry and extras
PrivateGPT 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| PrivateGPT Ask questions about your documents with LLMs, 100% offline. | 57.7K | Apache-2.0 | — | |
| AnythingLLM All-in-one desktop and Docker app for private document chat and agents. | 68.8K | MIT | — | |
| Khoj Self-hostable AI second brain that searches and chats over your notes and the web. | 38.3K | AGPL-3.0 | — | |
| Open WebUI Self-hosted ChatGPT-style interface for Ollama and OpenAI-compatible APIs. | 159.8K | Open WebUI License (BSD-3-Clause based) | — | |
| RAGFlow RAG engine built on deep document understanding. | 94.9K | Apache-2.0 | — | |
| LibreChat Open-source ChatGPT clone supporting every major AI provider. | 47.7K | MIT | — |
常见问题
PrivateGPT 免费吗?
是的——PrivateGPT 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。
PrivateGPT 支持 Windows、Mac 和 Linux 吗?
PrivateGPT 支持:Windows, macOS, Linux, Docker。
如何安装 PrivateGPT?
1. Clone the repo and install the Ollama extras. 2. Pull models in Ollama, then run.
PrivateGPT 有哪些好的替代品?
常见替代品包括 AnythingLLM, Khoj, Open WebUI, RAGFlow,详见本页对比表。