mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-14 09:03:34 +00:00
Update url in POST /file-uploads (#2193)
This commit is contained in:
parent
853de933a1
commit
b0d82e9fbb
@ -84,7 +84,7 @@ def upload_file(
|
|||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
You can use this endpoint to upload a file for indexing
|
You can use this endpoint to upload a file for indexing
|
||||||
(see [http://localhost:3000/guides/rest-api#indexing-documents-in-the-haystack-rest-api-document-store]).
|
(see https://haystack.deepset.ai/guides/rest-api#indexing-documents-in-the-haystack-rest-api-document-store).
|
||||||
"""
|
"""
|
||||||
if not INDEXING_PIPELINE:
|
if not INDEXING_PIPELINE:
|
||||||
raise HTTPException(status_code=501, detail="Indexing Pipeline is not configured.")
|
raise HTTPException(status_code=501, detail="Indexing Pipeline is not configured.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user