summaryrefslogtreecommitdiffstats
path: root/openaihosted
diff options
context:
space:
mode:
author9fo <71867245+9fo@users.noreply.github.com>2023-04-28 01:12:04 +0200
committerGitHub <noreply@github.com>2023-04-28 01:12:04 +0200
commit7c5398e6e1c08e75ff65a5f026e112c38ca32d49 (patch)
tree5428c756cc599db3550a8afe1d17cd0c4c047561 /openaihosted
parentrefactored cocalc too (diff)
downloadgpt4free-7c5398e6e1c08e75ff65a5f026e112c38ca32d49.tar
gpt4free-7c5398e6e1c08e75ff65a5f026e112c38ca32d49.tar.gz
gpt4free-7c5398e6e1c08e75ff65a5f026e112c38ca32d49.tar.bz2
gpt4free-7c5398e6e1c08e75ff65a5f026e112c38ca32d49.tar.lz
gpt4free-7c5398e6e1c08e75ff65a5f026e112c38ca32d49.tar.xz
gpt4free-7c5398e6e1c08e75ff65a5f026e112c38ca32d49.tar.zst
gpt4free-7c5398e6e1c08e75ff65a5f026e112c38ca32d49.zip
Diffstat (limited to '')
-rw-r--r--openaihosted/readme.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/openaihosted/readme.md b/openaihosted/readme.md
new file mode 100644
index 00000000..acd60bab
--- /dev/null
+++ b/openaihosted/readme.md
@@ -0,0 +1,10 @@
+### Example: `openaihosted`) <a name="example-openaihosted"></a>
+
+
+```python
+# import library
+import openaihosted
+
+res = openaihosted.Completion.create(systemprompt="U are ChatGPT", text="What is 4+4", assistantprompt="U are a helpful assistant.")['response']
+print(res) ## Responds with the answer
+```