Langchain-Chatchat
Ask questions about your own documents using open-source AI models that can run fully offline.
- Your data
- Your choice: device or online
- Coding needed
- With some setup
- Cost
- Free
- Runs on
- Windows, Mac, Linux
Ask questions about your own documents using open-source AI models that can run fully offline.
Langchain-Chatchat builds a question-and-answer system over your own files, a "knowledge base". It splits your documents into pieces, finds the pieces most related to your question, and passes them to an AI model to write the answer.
It is designed to work well with Chinese and with open-source models such as GLM, Qwen and Llama, and can run entirely on your own machines without the internet. It can also connect to online services like OpenAI.
You use it through a simple web page or through an API, a doorway for other programs. Newer versions also include agent features that can call tools.
Teams and developers, especially Chinese-speaking ones, who want a private document Q&A system.
With some setup. Installed with Python commands, plus a separate tool to run the AI model; then used in a web page. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?