From 351fbbb1e6ac47b1e0e3ba5107a65d570ec6f4ce Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Thu, 13 Apr 2023 16:49:16 +0100 Subject: t3nsor.tech api unpatch --- t3nsor/t3nsor_test.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 t3nsor/t3nsor_test.py (limited to 't3nsor/t3nsor_test.py') diff --git a/t3nsor/t3nsor_test.py b/t3nsor/t3nsor_test.py new file mode 100644 index 00000000..eb8e2ae8 --- /dev/null +++ b/t3nsor/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) -- cgit v1.2.3