summaryrefslogtreecommitdiffstats
path: root/gpt4free/theb/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'gpt4free/theb/README.md')
-rw-r--r--gpt4free/theb/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/gpt4free/theb/README.md b/gpt4free/theb/README.md
new file mode 100644
index 00000000..a4abdf62
--- /dev/null
+++ b/gpt4free/theb/README.md
@@ -0,0 +1,11 @@
+### Example: `theb` (use like openai pypi package) <a name="example-theb"></a>
+
+```python
+# import library
+from gpt4free import theb
+
+# simple streaming completion
+for token in theb.Completion.create('hello world'):
+ print(token, end='', flush=True)
+print("")
+```