readme : indent commands under bullets
This commit is contained in:
parent
b9e82cc07a
commit
defdfb3a63
1 changed files with 20 additions and 20 deletions
|
@ -667,29 +667,29 @@ See [OpenAI Embeddings API documentation](https://platform.openai.com/docs/api-r
|
||||||
|
|
||||||
- input as string
|
- input as string
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl http://localhost:8080/v1/embeddings \
|
curl http://localhost:8080/v1/embeddings \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer no-key" \
|
-H "Authorization: Bearer no-key" \
|
||||||
-d '{
|
-d '{
|
||||||
"input": "hello",
|
"input": "hello",
|
||||||
"model":"GPT-4",
|
"model":"GPT-4",
|
||||||
"encoding_format": "float"
|
"encoding_format": "float"
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
- `input` as string array
|
- `input` as string array
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl http://localhost:8080/v1/embeddings \
|
curl http://localhost:8080/v1/embeddings \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer no-key" \
|
-H "Authorization: Bearer no-key" \
|
||||||
-d '{
|
-d '{
|
||||||
"input": ["hello", "world"],
|
"input": ["hello", "world"],
|
||||||
"model":"GPT-4",
|
"model":"GPT-4",
|
||||||
"encoding_format": "float"
|
"encoding_format": "float"
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
### GET `/slots`: Returns the current slots processing state
|
### GET `/slots`: Returns the current slots processing state
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue