1
0
Fork 0
GPT4FREE/testing/t3nsor_test.py
2023-04-28 00:40:43 +05:30

4 lines
171 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)