summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/sqlchat_test.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/sqlchat_test.py b/testing/sqlchat_test.py
new file mode 100644
index 00000000..28e9d2e3
--- /dev/null
+++ b/testing/sqlchat_test.py
@@ -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='') \ No newline at end of file