From defdfb3a63bb6bf2bfb7f1986554f93233e2bdaa Mon Sep 17 00:00:00 2001 From: Nikolaos Pothitos Date: Wed, 13 Nov 2024 10:21:54 +0200 Subject: [PATCH] readme : indent commands under bullets --- examples/server/README.md | 40 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/examples/server/README.md b/examples/server/README.md index a29e48e6a..45b1e99fc 100644 --- a/examples/server/README.md +++ b/examples/server/README.md @@ -667,29 +667,29 @@ See [OpenAI Embeddings API documentation](https://platform.openai.com/docs/api-r - input as string -```shell -curl http://localhost:8080/v1/embeddings \ --H "Content-Type: application/json" \ --H "Authorization: Bearer no-key" \ --d '{ - "input": "hello", - "model":"GPT-4", - "encoding_format": "float" -}' -``` + ```shell + curl http://localhost:8080/v1/embeddings \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer no-key" \ + -d '{ + "input": "hello", + "model":"GPT-4", + "encoding_format": "float" + }' + ``` - `input` as string array -```shell -curl http://localhost:8080/v1/embeddings \ --H "Content-Type: application/json" \ --H "Authorization: Bearer no-key" \ --d '{ - "input": ["hello", "world"], - "model":"GPT-4", - "encoding_format": "float" -}' -``` + ```shell + curl http://localhost:8080/v1/embeddings \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer no-key" \ + -d '{ + "input": ["hello", "world"], + "model":"GPT-4", + "encoding_format": "float" + }' + ``` ### GET `/slots`: Returns the current slots processing state