summaryrefslogblamecommitdiffstats
path: root/testing/t3nsor_test.py
blob: 1506a1b457e8bc3aa83dfe95fe4bbebb7c8ca8f8 (plain) (tree)
1
2
3
4
5
6


                                               

                                                       
                                              
import t3nsor

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