summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-22 15:08:19 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-22 15:08:19 +0200
commit85a1961b640e552b3abebae2462a1b425cd87f4f (patch)
tree45b931f9458edc8903fad7f5dc4f08781296da5f /testing
parentdocu (diff)
downloadgpt4free-85a1961b640e552b3abebae2462a1b425cd87f4f.tar
gpt4free-85a1961b640e552b3abebae2462a1b425cd87f4f.tar.gz
gpt4free-85a1961b640e552b3abebae2462a1b425cd87f4f.tar.bz2
gpt4free-85a1961b640e552b3abebae2462a1b425cd87f4f.tar.lz
gpt4free-85a1961b640e552b3abebae2462a1b425cd87f4f.tar.xz
gpt4free-85a1961b640e552b3abebae2462a1b425cd87f4f.tar.zst
gpt4free-85a1961b640e552b3abebae2462a1b425cd87f4f.zip
Diffstat (limited to '')
-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