1
0
Fork 0
GPT4FREE/testing/sqlchat_test.py

7 lines
198 B
Python
Raw Normal View History

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