summaryrefslogtreecommitdiffstats
path: root/gpt4free/oraai/README.md
diff options
context:
space:
mode:
authorhp256 <971748116@qq.com>2023-05-19 04:53:44 +0200
committerhp256 <971748116@qq.com>2023-05-19 04:53:44 +0200
commite94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4 (patch)
tree2b36060a9243e0b2c796e0932baabc6633cf5ab8 /gpt4free/oraai/README.md
parentMerge pull request #561 from ading2210/main (diff)
downloadgpt4free-e94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4.tar
gpt4free-e94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4.tar.gz
gpt4free-e94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4.tar.bz2
gpt4free-e94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4.tar.lz
gpt4free-e94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4.tar.xz
gpt4free-e94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4.tar.zst
gpt4free-e94e9ffa4ee5aa70ab5a958cdce52ea619eb2de4.zip
Diffstat (limited to 'gpt4free/oraai/README.md')
-rw-r--r--gpt4free/oraai/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/gpt4free/oraai/README.md b/gpt4free/oraai/README.md
new file mode 100644
index 00000000..6f538711
--- /dev/null
+++ b/gpt4free/oraai/README.md
@@ -0,0 +1,20 @@
+# OraAI
+Written by [hp_mzx](https://github.com/hpsj).
+
+## Examples:
+### Completion:
+```python
+chunk = oraai.Completion.create("who are you")
+print(chunk)
+```
+
+### Chat Completion:
+Support context
+```python
+obj = oraai.Completion()
+whilt True:
+ prompt = input("Please enter a question:")
+ chunk = obj.create(prompt)
+ print(chunk)
+print()
+``` \ No newline at end of file