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

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

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