AnaGPT / models /gpt4free /testing /t3nsor_test.py
‘xiarui’
init
25d0227
raw
history blame contribute delete
187 Bytes
import t3nsor
for response in t3nsor.StreamCompletion.create(
prompt = 'write python code to reverse a string',
messages = []):
print(response.completion.choices[0].text)