Unverified Commit 6e428cdd authored by Harry Mellor's avatar Harry Mellor Committed by GitHub
Browse files

[Doc] Syntax highlight request responses as JSON instead of bash (#20582)


Signed-off-by: default avatarHarry Mellor <19981378+hmellor@users.noreply.github.com>
parent 93b9d9f4
......@@ -448,7 +448,7 @@ curl -v "http://127.0.0.1:8000/classify" \
??? console "Response"
```bash
```json
{
"id": "classify-7c87cac407b749a6935d8c7ce2a8fba2",
"object": "list",
......@@ -496,7 +496,7 @@ curl -v "http://127.0.0.1:8000/classify" \
??? console "Response"
```bash
```json
{
"id": "classify-9bf17f2847b046c7b2d5495f4b4f9682",
"object": "list",
......@@ -566,7 +566,7 @@ curl -X 'POST' \
??? console "Response"
```bash
```json
{
"id": "score-request-id",
"object": "list",
......@@ -608,7 +608,7 @@ The total number of pairs is `len(text_2)`.
??? console "Response"
```bash
```json
{
"id": "score-request-id",
"object": "list",
......@@ -657,7 +657,7 @@ The total number of pairs is `len(text_2)`.
??? console "Response"
```bash
```json
{
"id": "score-request-id",
"object": "list",
......@@ -736,7 +736,7 @@ Result documents will be sorted by relevance, and the `index` property can be us
??? console "Response"
```bash
```json
{
"id": "rerank-fae51b2b664d4ed38f5969b612edff77",
"model": "BAAI/bge-reranker-base",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment