mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-07 15:38:27 +08:00
Merge branch 'panda-master' into panda-dev
This commit is contained in:
commit
67034669a9
@ -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 项目微信交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。
|
||||||
|
|
||||||
|
|||||||
@ -105,6 +105,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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
img/qr_code_83.jpg
Normal file
BIN
img/qr_code_83.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 218 KiB |
@ -258,7 +258,7 @@ def make_text_splitter(
|
|||||||
print(e)
|
print(e)
|
||||||
text_splitter_module = importlib.import_module('langchain.text_splitter')
|
text_splitter_module = importlib.import_module('langchain.text_splitter')
|
||||||
TextSplitter = getattr(text_splitter_module, "RecursiveCharacterTextSplitter")
|
TextSplitter = getattr(text_splitter_module, "RecursiveCharacterTextSplitter")
|
||||||
text_splitter = TextSplitter(chunk_size=250, chunk_overlap=50)
|
text_splitter = TextSplitter(chunk_size=chunk_size, chunk_overlap=chunk_overlap)
|
||||||
return text_splitter
|
return text_splitter
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user