mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-17 09:25:50 +00:00
5 lines
181 B
Python
5 lines
181 B
Python
import sqlchat
|
|
|
|
for response in sqlchat.StreamCompletion.create(prompt='write python code to reverse a string', messages=[]):
|
|
print(response.completion.choices[0].text, end='')
|