1
0
Fork 0
GPT4FREE/testing/t3nsor.py
t.me/xtekky ab75098dd2 updated t3nsor (gpt 3.5)
changed iter lines to iter content chunks, way smoother and more updates + resolved dict issue
2023-04-06 21:29:56 +02:00

7 lines
186 B
Python

import t3nsor
for response in t3nsor.StreamCompletion.create(
prompt = 'write python code to reverse a string',
messages = []):
print(response.completion.choices[0].text)