mirror of https://github.com/xtekky/gpt4free
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
196 B
Python
7 lines
196 B
Python
2 years ago
|
import sqlchat
|
||
|
|
||
|
for response in sqlchat.StreamCompletion.create(
|
||
|
prompt = 'write python code to reverse a string',
|
||
|
messages = []):
|
||
|
|
||
|
print(response.completion.choices[0].text, end='')
|