From fce0656ab1008c13a50a9dcec5336d79f22daf3e Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Thu, 20 Apr 2023 15:01:57 +0100 Subject: ora.sh --- testing/ora_gpt4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/ora_gpt4.py b/testing/ora_gpt4.py index aa22d73c..1191d0ad 100644 --- a/testing/ora_gpt4.py +++ b/testing/ora_gpt4.py @@ -24,4 +24,4 @@ chatbot_id = gpt4_chatbot_ids[0] model = ora.CompletionModel.load(chatbot_id, 'gpt-4') response = ora.Completion.create(model, 'hello') -print(response) +print(response.completion.choices[0].text) -- cgit v1.2.3