From 8b4e40d82a7f9def17b88ce9eb522fac4f56cc25 Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Thu, 6 Apr 2023 21:57:16 +0200 Subject: writesonic.com api (gpt3.5 with internet) will add image generation later on --- testing/t3nsor_test.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testing/t3nsor_test.py (limited to 'testing/t3nsor_test.py') 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 -- cgit v1.2.3