diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-20 16:01:57 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-20 16:01:57 +0200 |
commit | fce0656ab1008c13a50a9dcec5336d79f22daf3e (patch) | |
tree | 5dd85537bf3df315177c59b63aa89c6df601f8d9 /testing/ora_gpt4.py | |
parent | phind.com stream + response formatting (diff) | |
download | gpt4free-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 'testing/ora_gpt4.py')
-rw-r--r-- | testing/ora_gpt4.py | 2 |
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) |