1
0
Fork 0
GPT4FREE/testing/sqlchat_test.py

5 lines
181 B
Python
Raw Normal View History

2023-04-22 13:08:19 +00:00
import sqlchat
for response in sqlchat.StreamCompletion.create(prompt='write python code to reverse a string', messages=[]):
2023-04-27 14:43:59 +00:00
print(response.completion.choices[0].text, end='')