summaryrefslogtreecommitdiffstats
path: root/openaihosted/readme.md
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-28 10:03:48 +0200
committerGitHub <noreply@github.com>2023-04-28 10:03:48 +0200
commitc5cdbaf6e19fa5693c4194e53772452b9e1c3eac (patch)
tree5edf2d2f6f7d88f523397587e569ea06e4acc38f /openaihosted/readme.md
parentMerge pull request #215 from hikeri/main (diff)
parentfixed # (diff)
downloadgpt4free-c5cdbaf6e19fa5693c4194e53772452b9e1c3eac.tar
gpt4free-c5cdbaf6e19fa5693c4194e53772452b9e1c3eac.tar.gz
gpt4free-c5cdbaf6e19fa5693c4194e53772452b9e1c3eac.tar.bz2
gpt4free-c5cdbaf6e19fa5693c4194e53772452b9e1c3eac.tar.lz
gpt4free-c5cdbaf6e19fa5693c4194e53772452b9e1c3eac.tar.xz
gpt4free-c5cdbaf6e19fa5693c4194e53772452b9e1c3eac.tar.zst
gpt4free-c5cdbaf6e19fa5693c4194e53772452b9e1c3eac.zip
Diffstat (limited to 'openaihosted/readme.md')
-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
+```