updated t3nsor (gpt 3.5)

changed iter lines to iter content chunks, way smoother and more updates + resolved dict issue
This commit is contained in:
t.me/xtekky
2023-04-06 21:29:56 +02:00
parent 76571f2591
commit ab75098dd2
2 changed files with 30 additions and 24 deletions

7
testing/t3nsor.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)