Turn resource to plural form (#3061)

### What problem does this PR solve?

Turn resource to plural form

### Type of change
- [x] Refactoring

Co-authored-by: liuhua <10215101452@stu.ecun.edu.cn>
This commit is contained in:
liuhua
2024-10-28 15:06:18 +08:00
committed by GitHub
parent 396feadd4b
commit 07bb2a6fd6
9 changed files with 29 additions and 29 deletions

View File

@ -1169,14 +1169,14 @@ Failure:
## Retrieve chunks
**GET** `/api/v1/retrievals`
**GET** `/api/v1/retrieval`
Retrieves chunks from specified datasets.
### Request
- Method: POST
- URL: `/api/v1/retrievals`
- URL: `/api/v1/retrieval`
- Headers:
- `'content-Type: application/json'`
- `'Authorization: Bearer {YOUR_API_KEY}'`
@ -1197,7 +1197,7 @@ Retrieves chunks from specified datasets.
```bash
curl --request POST \
--url http://{address}/api/v1/retrievals \
--url http://{address}/api/v1/retrieval \
--header 'Content-Type: application/json' \
--header 'Authorization: {YOUR_API_KEY}' \
--data '