summaryrefslogtreecommitdiffstats
path: root/testing/t3nsor_test.py
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-06 21:57:16 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-06 21:57:16 +0200
commit8b4e40d82a7f9def17b88ce9eb522fac4f56cc25 (patch)
tree8fceb39aa9da9211341bd0110c7f493e96e7992e /testing/t3nsor_test.py
parentupdated t3nsor (gpt 3.5) (diff)
downloadgpt4free-8b4e40d82a7f9def17b88ce9eb522fac4f56cc25.tar
gpt4free-8b4e40d82a7f9def17b88ce9eb522fac4f56cc25.tar.gz
gpt4free-8b4e40d82a7f9def17b88ce9eb522fac4f56cc25.tar.bz2
gpt4free-8b4e40d82a7f9def17b88ce9eb522fac4f56cc25.tar.lz
gpt4free-8b4e40d82a7f9def17b88ce9eb522fac4f56cc25.tar.xz
gpt4free-8b4e40d82a7f9def17b88ce9eb522fac4f56cc25.tar.zst
gpt4free-8b4e40d82a7f9def17b88ce9eb522fac4f56cc25.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..38e047b9
--- /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) \ No newline at end of file