Merge branch 'master' into branch-0.2.9
This commit is contained in:
commit
76c08d4746
|
|
@ -148,7 +148,7 @@ $ python startup.py -a
|
||||||
[](https://t.me/+RjliQ3jnJ1YyN2E9)
|
[](https://t.me/+RjliQ3jnJ1YyN2E9)
|
||||||
|
|
||||||
### 项目交流群
|
### 项目交流群
|
||||||
<img src="img/qr_code_82.jpg" alt="二维码" width="300" />
|
<img src="img/qr_code_83.jpg" alt="二维码" width="300" />
|
||||||
|
|
||||||
🎉 Langchain-Chatchat 项目微信交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。
|
🎉 Langchain-Chatchat 项目微信交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,10 @@ kbs_config = {
|
||||||
"index_name": "test_index",
|
"index_name": "test_index",
|
||||||
"user": "",
|
"user": "",
|
||||||
"password": ""
|
"password": ""
|
||||||
|
},
|
||||||
|
"milvus_kwargs":{
|
||||||
|
"search_params":{"metric_type": "L2"}, #在此处增加search_params
|
||||||
|
"index_params":{"metric_type": "L2","index_type": "HNSW"} # 在此处增加index_params
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 218 KiB |
|
|
@ -52,7 +52,7 @@ pysrt~=1.1.2
|
||||||
|
|
||||||
# Online api libs dependencies
|
# 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
|
dashscope>=1.13.6 # qwen
|
||||||
# volcengine>=1.0.119 # fangzhou
|
# volcengine>=1.0.119 # fangzhou
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ pysrt~=1.1.2
|
||||||
|
|
||||||
# Online api libs dependencies
|
# 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
|
dashscope>=1.13.6 # qwen
|
||||||
# volcengine>=1.0.119 # fangzhou
|
# volcengine>=1.0.119 # fangzhou
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -320,7 +320,7 @@ class ApiRequest:
|
||||||
# pprint(data)
|
# pprint(data)
|
||||||
|
|
||||||
response = self.post("/chat/agent_chat", json=data, stream=True)
|
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(
|
def knowledge_base_chat(
|
||||||
self,
|
self,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue