# QAnything **Repository Path**: OrdinaryStars/QAnything ## Basic Information - **Project Name**: QAnything - **Description**: QAnything (Question and Answer based on Anything) 是致力于支持任意格式文件或数据库的本地知识库问答系统,可断网安装使用。 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://qanything.ai - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 101 - **Created**: 2025-11-17 - **Last Updated**: 2025-11-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
***NOTE:***
- In `WithoutReranker` setting, our `bce-embedding-base_v1` outperforms all the other embedding models.
- With fixing the embedding model, our `bce-reranker-base_v1` achieves the best performance.
- **The combination of `bce-embedding-base_v1` and `bce-reranker-base_v1` is SOTA**.
- If you want to use embedding and rerank separately, please refer to [BCEmbedding](https://github.com/netease-youdao/BCEmbedding)
### LLM
The open source version of QAnything is based on QwenLM and has been fine-tuned on a large number of professional question-answering datasets. It greatly enhances the ability of question-answering.
If you need to use it for commercial purposes, please follow the license of QwenLM. For more details, please refer to: [QwenLM](https://github.com/QwenLM/Qwen)
# 🚀 Latest Updates
- ***2024-05-20***: **Support other large model services compatible with OpenAI API, and provide an optimized powerful PDF parser.** - See More👉 [v1.4.1](https://github.com/netease-youdao/QAnything/releases/tag/v1.4.1)
- ***2024-04-26***: **Support web search, FAQ, custom bot, file traceability preview etc.** - See More👉 [v1.4.0](https://github.com/netease-youdao/QAnything/releases/tag/v1.4.0-python)
- ***2024-04-03***: **Support installation in a pure Python environment.Support hybrid search.** - See More👉 [v1.3.0](https://github.com/netease-youdao/QAnything/releases/tag/v1.3.0)
- ***2024-01-29***: **Support for custom large models, including OpenAI API and other open-source large models, with a minimum GPU requirement of GTX 1050Ti, greatly improving deployment, debugging, and user experience.** - See More👉 [v1.2.0](https://github.com/netease-youdao/QAnything/releases/tag/v1.2.0)
- ***2024-01-23***: **Enable rerank by default and fix various issues when starting on Windows.** - See More👉 [v1.1.1](https://github.com/netease-youdao/QAnything/releases/tag/v1.1.1)
- ***2024-01-18***: **Support one-click startup, support Windows deployment, improve PDF, XLSX, HTML parsing efficiency.** - See More👉 [v1.1.0](https://github.com/netease-youdao/QAnything/releases/tag/v1.1.0)
# Before You Start
**Star us on GitHub, and be instantly notified for new release!**

* [🏄 Try QAnything Online](https://qanything.ai)
* [📚 Try read.youdao.com | 有道速读](https://read.youdao.com)
* [🛠️ Only use our BCEmbedding(embedding & rerank)](https://github.com/netease-youdao/BCEmbedding)
* [📖 FAQ](FAQ_zh.md)
* [👂️Let me hear your voice](https://qanything.canny.io/feature-requests)
# Getting Started
## Installation Methods
We provide two versions:
Python version and Docker version
The Python version is suitable for quickly experiencing new features, while the Docker version is suitable for secondary development and use in actual production environments, with new features temporarily not supported.
The features corresponding to different installation methods are as follows:
| features | python version | docker version | Explanation |
|-----------------------------------------------------------------|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Detailed installation document | ✅ [Details](./QAnything使用说明.md) | ✅ [Details](./QAnything使用说明.md) | |
| Support API | ✅ [Details](https://github.com/netease-youdao/QAnything/blob/qanything-python/docs/API.md) | ✅ [Details](https://github.com/netease-youdao/QAnything/blob/master/docs/API.md) | |
| Support production environment | ❌ | ✅ | |
| Support offline installation (private deployment) | ❌ | ✅ [Details](./QAnything使用说明.md) | |
| Support multiple concurrency | ❌ | ✅ [Details](./QAnything使用说明.md) | When using API instead of local large models in Python, manual settings are possible.[Details](./QAnything使用说明.md) |
| Support multi-card inference | ❌ | ✅ [Details](./QAnything使用说明.md) | |
| Support Mac (M series chips) | ✅ | ❌ | Currently running the local LLM on Mac relies on llamacpp, and the question-answering speed is slow. It is recommended to use the OpenAI API to call the model service. |
| Support Linux | ✅ | ✅ | Python version defaults to onnxruntime-gpu on Linux, automatically switching to onnxruntime when glibc<2.28. |
| Support windows WSL | ✅ | ✅ | |
| Support CPU only | ✅ [Details](./QAnything使用说明.md) | ❌ | |
| Support hybrid search (BM25+embedding) | ❌ | ✅ | |
| Support web search (need VPN) | ✅ [Details](./QAnything使用说明.md) | ❌ | Docker version plan. |
| Support FAQ | ✅ [Details](./QAnything使用说明.md) | ❌ | Docker version plan. |
| Support BOT | ✅ [Details](./QAnything使用说明.md) | ❌ | Docker version plan. |
| Support Traceability | ✅ [Details](./QAnything使用说明.md) | ❌ | Docker version plan. |
| Support Log retrieval by API | ✅ [Details](./QAnything使用说明.md) | ❌ | Docker version plan. |
| Support audio file | ✅ | ❌ | In the Docker version plan, uploading files will support mp3 and wav format files. |
| Support OpenCloudOS | ✅[Details](./QAnything使用说明.md) | ❌ | |
| Support interfaces compatible with Openaiapi (including ollama) | ✅ [Details](./QAnything使用说明.md) | ✅ [Details](./QAnything使用说明.md) | The api_key, base_url, model and other parameters need to be set manually. |
| PDF parsing performance improvement (including tables) | ✅ [Details](./QAnything使用说明.md) | ❌ | |
| User-defined configuration (Experimental: Improve speed) | ✅ [Details](./QAnything使用说明.md) | ❌ | |
| Improvement in parsing performance of other file types | ❌ | ❌ | The next version is expected to be released in 15 days. |
## Installation(Pure Python environment)
If you prefer not to use Docker for installation, we provide a [Pure Python Installation Guide](https://github.com/netease-youdao/QAnything/blob/qanything-python/README.md). The installation of a pure Python environment is intended for demo purposes only and is not recommended for deployment in a production environment.
- Support installation on CPU only (Retrieval run on CPU, while LLMs calls online API).
- Support installation on Mac.
## Installation(Docker)
### Prerequisites
#### **For Linux**
|**System**| **Required item** | **Minimum Requirement** | **Note** |
|---------------------------|--------------------|-------------------------|------------------------------------------------------------------|
|Linux | NVIDIA GPU Memory | >= 4GB (use OpenAI API) | Minimum: GTX 1050Ti(use OpenAI API)
Welcome to scan the code to join the QAnything discussion group.
## Email
If you need to contact our team privately, please reach out to us via the following email:
qanything@rd.netease.com
## GitHub issues & discussions
Reach out to the maintainer at one of the following places:
- [Github issues](https://github.com/netease-youdao/QAnything/issues)
- [Github discussions](https://github.com/netease-youdao/QAnything/discussions)
- Contact options listed on [this GitHub profile](https://github.com/netease-youdao)