mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 10:28:59 +08:00
fix: wrong param name (#11039)
This commit is contained in:
parent
04f1e18342
commit
40a5f1c80a
@ -18,9 +18,9 @@ from models.dataset import DocumentSegment
|
||||
def add_document_to_index_task(dataset_document_id: str):
|
||||
"""
|
||||
Async Add document to index
|
||||
:param document_id:
|
||||
:param dataset_document_id:
|
||||
|
||||
Usage: add_document_to_index.delay(document_id)
|
||||
Usage: add_document_to_index.delay(dataset_document_id)
|
||||
"""
|
||||
logging.info(click.style("Start add document to index: {}".format(dataset_document_id), fg="green"))
|
||||
start_at = time.perf_counter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user