Skip to content

Commit 828a62e

Browse files
committed
readme : indent commands under bullets
1 parent d02f60a commit 828a62e

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

examples/server/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -671,29 +671,29 @@ See [OpenAI Embeddings API documentation](https://platform.openai.com/docs/api-r
671671

672672
- input as string
673673

674-
```shell
675-
curl http://localhost:8080/v1/embeddings \
676-
-H "Content-Type: application/json" \
677-
-H "Authorization: Bearer no-key" \
678-
-d '{
679-
"input": "hello",
680-
"model":"GPT-4",
681-
"encoding_format": "float"
682-
}'
683-
```
674+
```shell
675+
curl http://localhost:8080/v1/embeddings \
676+
-H "Content-Type: application/json" \
677+
-H "Authorization: Bearer no-key" \
678+
-d '{
679+
"input": "hello",
680+
"model":"GPT-4",
681+
"encoding_format": "float"
682+
}'
683+
```
684684

685685
- `input` as string array
686686

687-
```shell
688-
curl http://localhost:8080/v1/embeddings \
689-
-H "Content-Type: application/json" \
690-
-H "Authorization: Bearer no-key" \
691-
-d '{
692-
"input": ["hello", "world"],
693-
"model":"GPT-4",
694-
"encoding_format": "float"
695-
}'
696-
```
687+
```shell
688+
curl http://localhost:8080/v1/embeddings \
689+
-H "Content-Type: application/json" \
690+
-H "Authorization: Bearer no-key" \
691+
-d '{
692+
"input": ["hello", "world"],
693+
"model":"GPT-4",
694+
"encoding_format": "float"
695+
}'
696+
```
697697

698698
### GET `/slots`: Returns the current slots processing state
699699

0 commit comments

Comments
 (0)