sqlchat
This commit is contained in:
7
testing/sqlchat_test.py
Normal file
7
testing/sqlchat_test.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import sqlchat
|
||||
|
||||
for response in sqlchat.StreamCompletion.create(
|
||||
prompt = 'write python code to reverse a string',
|
||||
messages = []):
|
||||
|
||||
print(response.completion.choices[0].text, end='')
|
||||
Reference in New Issue
Block a user