summaryrefslogtreecommitdiffstats
path: root/testing/t3nsor_test.py
blob: 6d36400d01bdae0e7506d53fa9132ef9e53286ab (plain) (blame)
1
2
3
4
import t3nsor

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