From 241690d593ecb5b070f3964a17c9638e3f44082b Mon Sep 17 00:00:00 2001 From: zR <2448370773@qq.com> Date: Sun, 14 Jan 2024 10:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=BF=90=E8=A1=8C=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E6=8A=A5=E9=94=99=E5=92=8C=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=87=8C=E7=A8=8B=E7=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++++- README_en.md | 14 ++++++++++++-- .../knowledge_base/kb_service/milvus_kb_service.py | 2 +- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f747180e..ad09490e 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,13 @@ $ python startup.py -a --- ## 项目里程碑 ++ `2023年4月`: `Langchain-ChatGLM 0.1.0` 发布,支持基于 ChatGLM-6B 模型的本地知识库问答。 ++ `2023年8月`: `Langchain-ChatGLM` 改名为 `Langchain-Chatchat`,`0.2.0` 发布,使用 `fastchat` 作为模型加载方案,支持更多的模型和数据库。 ++ `2023年10月`: `Langchain-Chatchat 0.2.5` 发布,推出 Agent 内容,开源项目在`Founder Park & Zhipu AI & Zilliz` 举办的黑客马拉松获得三等奖。 ++ `2023年12月`: `Langchain-Chatchat` 开源项目获得超过 **20K** stars. ++ `2024年1月`: `LangChain 0.1.x` 推出,`Langchain-Chatchat 0.2.x` 停止更新和技术支持,全力研发具有更强应用性的 `Langchain-Chatchat 0.3.x`。 ++ 🔥 让我们一起期待未来 Chatchat 的故事 ··· --- ## 联系我们 ### Telegram @@ -157,4 +163,4 @@ $ python startup.py -a 二维码 -🎉 Langchain-Chatchat 项目官方公众号,欢迎扫码关注。 +🎉 Langchain-Chatchat 项目官方公众号,欢迎扫码关注。 \ No newline at end of file diff --git a/README_en.md b/README_en.md index cfe21e0e..cd18304e 100644 --- a/README_en.md +++ b/README_en.md @@ -156,6 +156,16 @@ $ python startup.py -a The above instructions are provided for a quick start. If you need more features or want to customize the launch method, please refer to the [Wiki](https://github.com/chatchat-space/Langchain-Chatchat/wiki/). +--- +## Project Milestones + ++ `April 2023`: `Langchain-ChatGLM 0.1.0` released, supporting local knowledge base question and answer based on the ChatGLM-6B model. ++ `August 2023`: `Langchain-ChatGLM` was renamed to `Langchain-Chatchat`, `0.2.0` was released, using `fastchat` as the model loading solution, supporting more models and databases. ++ `October 2023`: `Langchain-Chachat 0.2.5` was released, Agent content was launched, and the open source project won the third prize in the hackathon held by `Founder Park & Zhipu AI & Zilliz`. ++ `December 2023`: `Langchain-Chachat` open source project received more than **20K** stars. ++ `January 2024`: `LangChain 0.1.x` is launched, `Langchain-Chatchat 0.2.x` will stop updating and technical support, and all efforts will be made to develop `Langchain-Chatchat 0.3.x` with stronger applicability. + ++ 🔥 Let’s look forward to the future Chatchat stories together··· --- ## Contact Us @@ -164,9 +174,9 @@ please refer to the [Wiki](https://github.com/chatchat-space/Langchain-Chatchat/ [![Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white "langchain-chatglm")](https://t.me/+RjliQ3jnJ1YyN2E9) -### WeChat Group、 +### WeChat Group -二维码 +二维码 ### WeChat Official Account diff --git a/server/knowledge_base/kb_service/milvus_kb_service.py b/server/knowledge_base/kb_service/milvus_kb_service.py index dc392ee2..f08b62b8 100644 --- a/server/knowledge_base/kb_service/milvus_kb_service.py +++ b/server/knowledge_base/kb_service/milvus_kb_service.py @@ -53,7 +53,7 @@ class MilvusKBService(KBService): self.milvus = Milvus(embedding_function=EmbeddingsFunAdapter(self.embed_model), collection_name=self.kb_name, connection_args=kbs_config.get("milvus"), - index_params=kbs_config.ge("milvus_kwargs")["index_params"], + index_params=kbs_config.get("milvus_kwargs")["index_params"], search_params=kbs_config.get("milvus_kwargs")["search_params"] )