Fix example in doc (#4133)

### What problem does this PR solve?

Fix example in doc

### Type of change

- [x] Documentation Update

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai 2024-12-19 20:08:22 +08:00 committed by GitHub
parent e38e3bcc3b
commit 10a62115c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -415,7 +415,7 @@ Uploads documents to a specified dataset.
curl --request POST \
--url http://{address}/api/v1/datasets/{dataset_id}/documents \
--header 'Content-Type: multipart/form-data' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--form 'file=@./test1.txt' \
--form 'file=@./test2.pdf'
```