diff options
Diffstat (limited to 't3nsor/t3nsor_test.py')
-rw-r--r-- | t3nsor/t3nsor_test.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t3nsor/t3nsor_test.py b/t3nsor/t3nsor_test.py new file mode 100644 index 00000000..eb8e2ae8 --- /dev/null +++ b/t3nsor/t3nsor_test.py @@ -0,0 +1,7 @@ +import t3nsor + +for response in t3nsor.StreamCompletion.create( + prompt = 'write python code to reverse a string', + messages = []): + + print(response.completion.choices[0].text) |