# ๐๏ธ Upgrade [HuixiangDou2](https://github.com/tpoisonooo/HuixiangDou2)(ACL25) is a GraphRAG solution whose effectiveness has been demonstrated in the plant-science domain and that contributed to the [**cover paper in Cell**](https://www.cell.com/molecular-plant/issue?pii=S1674-2052(24)X0008-8) Molecular Plant. If you work outside computer science, give the new release a try. --- English | [็ฎไฝไธญๆ](README_zh.md)
HuixiangDou1 is a **professional knowledge assistant** based on LLM. Advantages: 1. Design three-stage pipelines of preprocess, rejection and response * `chat_in_group` copes with **group chat** scenario, answer user questions without message flooding, see [2401.08772](https://arxiv.org/abs/2401.08772), [2405.02817](https://arxiv.org/abs/2405.02817), [Hybrid Retrieval](./docs/en/doc_knowledge_graph.md) and [Precision Report](./evaluation/) * `chat_with_repo` for **real-time streaming** chat 2. No training required, with CPU-only, 2G, 10G configuration 3. Offers a complete suite of Web, Android, and pipeline source code, industrial-grade and commercially viable Check out the [scenes in which HuixiangDou are running](./huixiangdou-inside.md) and current public service status: - [readthedocs ChatWithAI](https://huixiangdou.readthedocs.io/zh-cn/latest/) (cpu-only) is available - [OpenXLab](https://openxlab.org.cn/apps/detail/tpoisonooo/huixiangdou-web) is using GPU and under continuous maintenance - [WeChat bot](https://cdn.vansin.top/internlm/dou.jpg) has a cost associated with WeChat integration. All code has been verified to be functional for one year. Please deploy it on your own for either the [free](https://github.com/InternLM/HuixiangDou/blob/main/docs/zh/doc_add_wechat_accessibility.md) or [commercial](https://github.com/InternLM/HuixiangDou/blob/main/docs/zh/doc_add_wechat_commercial.md) version. If this helps you, please give it a star โญ # ๐ New Features Our Web version has been released to [OpenXLab](https://openxlab.org.cn/apps/detail/tpoisonooo/huixiangdou-web), where you can create knowledge base, update positive and negative examples, turn on web search, test chat, and integrate into Feishu/WeChat groups. See [BiliBili](https://www.bilibili.com/video/BV1S2421N7mn) and [YouTube](https://www.youtube.com/watch?v=ylXrT-Tei-Y) ! The Web version's API for Android also supports other devices. See [Python sample code](./tests/test_openxlab_android_api.py). - \[2025/03\] Simplify deployment and removing `--standalone` - \[2025/03\] [Forwarding multiple wechat group message](./docs/zh/doc_merge_wechat_group.md) - \[2024/09\] [Inverted indexer](https://github.com/InternLM/HuixiangDou/pull/387) makes LLM prefer knowledge base๐ฏ - \[2024/09\] [Code retrieval](./huixiangdou/services/parallel_pipeline.py) - \[2024/08\] [chat_with_readthedocs](https://huixiangdou.readthedocs.io/en/latest/), see [how to integrate](./docs/zh/doc_add_readthedocs.md) ๐ - \[2024/07\] Image and text retrieval & Removal of `langchain` ๐ - \[2024/07\] [Hybrid Knowledge Graph and Dense Retrieval](./docs/en/doc_knowledge_graph.md) improve 1.7% F1 score ๐ฏ - \[2024/06\] [Evaluation of chunksize, splitter, and text2vec model](./evaluation) ๐ฏ - \[2024/05\] [wkteam WeChat access](./docs/zh/doc_add_wechat_commercial.md), parsing image & URL, support coreference resolution - \[2024/05\] [SFT LLM on NLP task, F1 increased by 29%](./sft/) ๐ฏ| ๐ค | LoRA-Qwen1.5-14B | LoRA-Qwen1.5-32B | alpaca data | arXiv |
| LLM | File Format | Retrieval Method | Integration | Preprocessing |
| - [DeepSeek](https://www.deepseek.com) - [InternLM](https://internlm.intern-ai.org.cn) - [GLM](https://www.zhipuai.cn) - [KIMI](https://kimi.moonshot.cn) - [StepFun](https://platform.stepfun.com) - [vLLM](https://github.com/vllm-project/vllm) - [Silicon๐ท๏ธ](https://cloud.siliconflow.cn/s/tpoisonooo) - [PPIO๐ท๏ธ](https://ppinfra.com/user/register?invited_by=7GF8QS) - [Xi-Api](https://api.xi-ai.cn) | - excel - html - markdown - pdf - ppt - txt - word | - Dense for Document - Sparse for Code - [Knowledge Graph](./docs/en/doc_knowledge_graph.md) - [Internet Search](./huixiangdou/services/web_search.py) - [SourceGraph](https://sourcegraph.com) - Image and Text | - WeChat([android](./docs/zh/doc_add_wechat_accessibility.md)/[wkteam](./docs/zh/doc_add_wechat_commercial.md)) - Lark - [OpenXLab Web](https://openxlab.org.cn/apps/detail/tpoisonooo/huixiangdou-web) - [Gradio Demo](./huixiangdou/gradio_ui.py) - [HTTP Server](./huixiangdou/api_server.py) - [Read the Docs](./docs/zh/doc_add_readthedocs.md) | - [Coreference Resolution](https://arxiv.org/abs/2405.02817) |