diff --git a/README.md b/README.md
index 8d41b73..953a049 100644
--- a/README.md
+++ b/README.md
@@ -148,7 +148,7 @@ $ python startup.py -a
[](https://t.me/+RjliQ3jnJ1YyN2E9)
### 项目交流群
-
+
🎉 Langchain-Chatchat 项目微信交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。
diff --git a/configs/kb_config.py.example b/configs/kb_config.py.example
index 6be2848..731148a 100644
--- a/configs/kb_config.py.example
+++ b/configs/kb_config.py.example
@@ -102,6 +102,10 @@ kbs_config = {
"index_name": "test_index",
"user": "",
"password": ""
+ },
+ "milvus_kwargs":{
+ "search_params":{"metric_type": "L2"}, #在此处增加search_params
+ "index_params":{"metric_type": "L2","index_type": "HNSW"} # 在此处增加index_params
}
}
diff --git a/img/qr_code_83.jpg b/img/qr_code_83.jpg
new file mode 100644
index 0000000..bfde76a
Binary files /dev/null and b/img/qr_code_83.jpg differ
diff --git a/requirements_api.txt b/requirements_api.txt
index 174e076..2210fe2 100644
--- a/requirements_api.txt
+++ b/requirements_api.txt
@@ -52,7 +52,7 @@ pysrt~=1.1.2
# Online api libs dependencies
-zhipuai>=1.0.7,<=2.0.0 # zhipu
+zhipuai>=1.0.7, <=2.0.0 # zhipu
dashscope>=1.13.6 # qwen
# volcengine>=1.0.119 # fangzhou
diff --git a/requirements_lite.txt b/requirements_lite.txt
index f365bc8..b022f57 100644
--- a/requirements_lite.txt
+++ b/requirements_lite.txt
@@ -52,7 +52,7 @@ pysrt~=1.1.2
# Online api libs dependencies
-zhipuai>=1.0.7,<=2.0.0 # zhipu
+zhipuai>=1.0.7, <=2.0.0 # zhipu
dashscope>=1.13.6 # qwen
# volcengine>=1.0.119 # fangzhou
diff --git a/webui_pages/utils.py b/webui_pages/utils.py
index 18f76a8..2f642d8 100644
--- a/webui_pages/utils.py
+++ b/webui_pages/utils.py
@@ -320,7 +320,7 @@ class ApiRequest:
# pprint(data)
response = self.post("/chat/agent_chat", json=data, stream=True)
- return self._httpx_stream2generator(response)
+ return self._httpx_stream2generator(response, as_json=True)
def knowledge_base_chat(
self,