summaryrefslogtreecommitdiffstats
path: root/testing/t3nsor_test.py
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-15 16:42:07 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-15 16:42:07 +0200
commit8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf (patch)
tree4b455354c3afded5a2b0af0234c4a9e6a4e495ce /testing/t3nsor_test.py
parentphind.com api (gpt-4 + internet) best answers (diff)
downloadgpt4free-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/t3nsor_test.py')
-rw-r--r--testing/t3nsor_test.py7
1 files changed, 7 insertions, 0 deletions
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)