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