summaryrefslogtreecommitdiffstats
path: root/openaihosted/readme.md
diff options
context:
space:
mode:
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
+```