writesonic.com api (gpt3.5 with internet)

will add image generation later on
This commit is contained in:
t.me/xtekky
2023-04-06 21:57:16 +02:00
parent ab75098dd2
commit 8b4e40d82a
4 changed files with 264 additions and 1 deletions

7
testing/t3nsor_test.py Normal file
View File

@@ -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)