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