Adam / testing /sqlchat_test.py
Aymane Hrouch
Reformat code using PyCharm
f1594cf
raw
history blame
198 Bytes
import sqlchat
for response in sqlchat.StreamCompletion.create(
prompt='write python code to reverse a string',
messages=[]):
print(response.completion.choices[0].text, end='')