mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 10:59:03 +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):
|
def add_document_to_index_task(dataset_document_id: str):
|
||||||
"""
|
"""
|
||||||
Async Add document to index
|
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"))
|
logging.info(click.style("Start add document to index: {}".format(dataset_document_id), fg="green"))
|
||||||
start_at = time.perf_counter()
|
start_at = time.perf_counter()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user