summaryrefslogtreecommitdiffstats
path: root/testing/t3nsor.py
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-06 21:29:56 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-06 21:29:56 +0200
commitab75098dd21eb9cf4024d67ddcfaac01f946ea9f (patch)
tree374ed252ab858cac831d358567dc77e374f0749c /testing/t3nsor.py
parentupdated poe api (gpt4) (diff)
downloadgpt4free-ab75098dd21eb9cf4024d67ddcfaac01f946ea9f.tar
gpt4free-ab75098dd21eb9cf4024d67ddcfaac01f946ea9f.tar.gz
gpt4free-ab75098dd21eb9cf4024d67ddcfaac01f946ea9f.tar.bz2
gpt4free-ab75098dd21eb9cf4024d67ddcfaac01f946ea9f.tar.lz
gpt4free-ab75098dd21eb9cf4024d67ddcfaac01f946ea9f.tar.xz
gpt4free-ab75098dd21eb9cf4024d67ddcfaac01f946ea9f.tar.zst
gpt4free-ab75098dd21eb9cf4024d67ddcfaac01f946ea9f.zip
Diffstat (limited to '')
-rw-r--r--testing/t3nsor.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/t3nsor.py b/testing/t3nsor.py
new file mode 100644
index 00000000..38e047b9
--- /dev/null
+++ b/testing/t3nsor.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