summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-20 16:01:57 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-20 16:01:57 +0200
commitfce0656ab1008c13a50a9dcec5336d79f22daf3e (patch)
tree5dd85537bf3df315177c59b63aa89c6df601f8d9 /testing
parentphind.com stream + response formatting (diff)
downloadgpt4free-fce0656ab1008c13a50a9dcec5336d79f22daf3e.tar
gpt4free-fce0656ab1008c13a50a9dcec5336d79f22daf3e.tar.gz
gpt4free-fce0656ab1008c13a50a9dcec5336d79f22daf3e.tar.bz2
gpt4free-fce0656ab1008c13a50a9dcec5336d79f22daf3e.tar.lz
gpt4free-fce0656ab1008c13a50a9dcec5336d79f22daf3e.tar.xz
gpt4free-fce0656ab1008c13a50a9dcec5336d79f22daf3e.tar.zst
gpt4free-fce0656ab1008c13a50a9dcec5336d79f22daf3e.zip
Diffstat (limited to '')
-rw-r--r--testing/ora_gpt4.py2
1 files changed, 1 insertions, 1 deletions
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)