1
0
Fork 0
GPT4FREE/testing/t3nsor_test.py

5 lines
171 B
Python
Raw Normal View History

import t3nsor
for response in t3nsor.StreamCompletion.create(prompt='write python code to reverse a string', messages=[]):
2023-04-13 15:49:16 +00:00
print(response.completion.choices[0].text)