From 8c0f5e9634ac6314a8b7a73dddffed08ccacd4cf Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Sat, 15 Apr 2023 15:42:07 +0100 Subject: updated quora(poe) (token creation patched atm) --- 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..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) -- cgit v1.2.3