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