Update llama-cpp-logits/README.md
This commit is contained in:
@@ -29,14 +29,15 @@ volumes:
|
||||
## cURL test
|
||||
|
||||
```bash
|
||||
$ curl --request POST \
|
||||
sudo apt-get install -y curl jq
|
||||
|
||||
curl --request POST \
|
||||
--url http://localhost:8080/completion \
|
||||
--header "Content-Type: application/json" \
|
||||
--data '{"prompt": "Building a website can be done in 10 simple steps:","n_predict": 128}'
|
||||
```
|
||||
--data '{"prompt": "Building a website can be done in 10 simple steps:","n_predict": 128}' \
|
||||
| jq
|
||||
|
||||
```javascript
|
||||
{"content":"\n\n**1. Define Your Purpose:**\n\n* What do you want to achieve with your website?", ... }
|
||||
# {"content":"\n\n**1. Define Your Purpose:**\n\n* What do you want to achieve with your website?", ... }
|
||||
```
|
||||
|
||||
## Python Client
|
||||
|
||||
Reference in New Issue
Block a user