From a41a4630c164e4b5219632b4f42457b4506a7dc0 Mon Sep 17 00:00:00 2001 From: Jaewook Lee <11328376+jaewooklee93@users.noreply.github.com> Date: Thu, 11 Jul 2024 10:04:10 +0900 Subject: [PATCH] [llama-cpp] fix json ouptut --- llama-cpp-logits/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llama-cpp-logits/README.md b/llama-cpp-logits/README.md index c4dab76..c07189a 100644 --- a/llama-cpp-logits/README.md +++ b/llama-cpp-logits/README.md @@ -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) ```