summaryrefslogblamecommitdiffstats
path: root/testing/sqlchat_test.py
blob: 577d85a6c91f13269e6a9b8945d55000ebd071a6 (plain) (tree)
1
2
3
4
5
6


                                                


                                                       
import sqlchat

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