summaryrefslogblamecommitdiffstats
path: root/g4f/.v1/testing/sqlchat_test.py
blob: 1db71be2e8abccc16cdbfc1b78a8d3e9adbf2122 (plain) (tree)
1
2
3
4

              
                                                                                                             
                                                      
import sqlchat

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