writinwaters
commited on
Commit
·
c22c7b5
1
Parent(s):
dfddc2c
minor (#2998)
Browse files### What problem does this PR solve?
_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._
### Type of change
- [x] Documentation Update
api/http_api_reference.md
CHANGED
|
@@ -536,7 +536,7 @@ Downloads a document from a specified dataset.
|
|
| 536 |
- Headers:
|
| 537 |
- `'Authorization: Bearer {YOUR_API_KEY}'`
|
| 538 |
- Output:
|
| 539 |
-
- `'{
|
| 540 |
|
| 541 |
#### Request example
|
| 542 |
|
|
@@ -556,11 +556,11 @@ curl --request GET \
|
|
| 556 |
|
| 557 |
### Response
|
| 558 |
|
| 559 |
-
|
| 560 |
|
| 561 |
```text
|
| 562 |
test_2.
|
| 563 |
-
|
| 564 |
|
| 565 |
Failure:
|
| 566 |
|
|
@@ -1954,7 +1954,7 @@ Failure:
|
|
| 1954 |
|
| 1955 |
---
|
| 1956 |
|
| 1957 |
-
##
|
| 1958 |
|
| 1959 |
**POST** `/api/v1/chat/{chat_id}/completion`
|
| 1960 |
|
|
|
|
| 536 |
- Headers:
|
| 537 |
- `'Authorization: Bearer {YOUR_API_KEY}'`
|
| 538 |
- Output:
|
| 539 |
+
- `'{PATH_TO_THE_FILE}'`
|
| 540 |
|
| 541 |
#### Request example
|
| 542 |
|
|
|
|
| 556 |
|
| 557 |
### Response
|
| 558 |
|
| 559 |
+
Success:
|
| 560 |
|
| 561 |
```text
|
| 562 |
test_2.
|
| 563 |
+
```
|
| 564 |
|
| 565 |
Failure:
|
| 566 |
|
|
|
|
| 1954 |
|
| 1955 |
---
|
| 1956 |
|
| 1957 |
+
## Converse
|
| 1958 |
|
| 1959 |
**POST** `/api/v1/chat/{chat_id}/completion`
|
| 1960 |
|