mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-08 16:10:18 +08:00
修复es 知识库查询bug (#2848)
This commit is contained in:
parent
36956520ea
commit
9c5aa5bf2f
@ -221,6 +221,9 @@ class ESKBService(KBService):
|
||||
"query": {
|
||||
"term": {
|
||||
"metadata.source.keyword": file_path
|
||||
},
|
||||
"term": {
|
||||
"_index": self.index_name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user