diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-15 16:42:07 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-15 16:42:07 +0200 |
commit | 8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf (patch) | |
tree | 4b455354c3afded5a2b0af0234c4a9e6a4e495ce /testing | |
parent | phind.com api (gpt-4 + internet) best answers (diff) | |
download | gpt4free-8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf.tar gpt4free-8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf.tar.gz gpt4free-8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf.tar.bz2 gpt4free-8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf.tar.lz gpt4free-8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf.tar.xz gpt4free-8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf.tar.zst gpt4free-8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf.zip |
Diffstat (limited to 'testing')
-rw-r--r-- | testing/poe_test.py | 2 | ||||
-rw-r--r-- | testing/t3nsor_test.py | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/testing/poe_test.py b/testing/poe_test.py index 6e91fb01..122f19c7 100644 --- a/testing/poe_test.py +++ b/testing/poe_test.py @@ -6,7 +6,7 @@ print('token', token) sleep(2) -for response in quora.StreamingCompletion.create(model = 'gpt-4', +for response in quora.StreamingCompletion.create(model = 'gpt-3.5-turbo', prompt = 'hello world', token = token): diff --git a/testing/t3nsor_test.py b/testing/t3nsor_test.py new file mode 100644 index 00000000..eb8e2ae8 --- /dev/null +++ b/testing/t3nsor_test.py @@ -0,0 +1,7 @@ +import t3nsor + +for response in t3nsor.StreamCompletion.create( + prompt = 'write python code to reverse a string', + messages = []): + + print(response.completion.choices[0].text) |