mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 04:36:01 +08:00
Fix: Change the field name of the document ID from "documents" to "do… (#6753)
…cument_ids" to maintain consistency. ### What problem does this PR solve? Close #6752 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Co-authored-by: wenju.li <wenju.li@deepctr.cn>
This commit is contained in:
parent
160bf4ccb3
commit
9ce6521582
@ -170,7 +170,7 @@ class RAGFlow:
|
|||||||
"keyword": keyword,
|
"keyword": keyword,
|
||||||
"question": question,
|
"question": question,
|
||||||
"dataset_ids": dataset_ids,
|
"dataset_ids": dataset_ids,
|
||||||
"documents": document_ids
|
"document_ids": document_ids
|
||||||
}
|
}
|
||||||
# Send a POST request to the backend service (using requests library as an example, actual implementation may vary)
|
# Send a POST request to the backend service (using requests library as an example, actual implementation may vary)
|
||||||
res = self.post('/retrieval',json=data_json)
|
res = self.post('/retrieval',json=data_json)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user