File size: 187 Bytes
ab75098
 
 
 
 
 
351fbbb
1
2
3
4
5
6
7
8
import t3nsor

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

    print(response.completion.choices[0].text)