mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Update displayed_name to display_name (#4311)
### What problem does this PR solve? Update displayed_name to display_name ### Type of change - [x] Refactoring Co-authored-by: liuhua <10215101452@stu.ecun.edu.cn>
This commit is contained in:
@ -894,7 +894,7 @@ dataset = rag_object.list_datasets(name="ragflow")
|
||||
dataset = dataset[0]
|
||||
name = 'ragflow_test.txt'
|
||||
path = './test_data/ragflow_test.txt'
|
||||
documents =[{"displayed_name":"test_retrieve_chunks.txt","blob":open(path, "rb").read()}]
|
||||
documents =[{"display_name":"test_retrieve_chunks.txt","blob":open(path, "rb").read()}]
|
||||
docs = dataset.upload_documents(documents)
|
||||
doc = docs[0]
|
||||
doc.add_chunk(content="This is a chunk addition test")
|
||||
|
||||
Reference in New Issue
Block a user