[llama-cpp] fix json ouptut
This commit is contained in:
@@ -32,7 +32,7 @@ $ curl --request POST \
|
||||
```
|
||||
|
||||
```json
|
||||
{"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
|
||||
@@ -78,9 +78,6 @@ response = requests.post(
|
||||
}
|
||||
).json()
|
||||
|
||||
# print(response['content'])
|
||||
|
||||
|
||||
df = pl.DataFrame(response['completion_probabilities'][0]['probs'])
|
||||
print(df)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user