summaryrefslogtreecommitdiffstats
path: root/openai_rev/theb/README.md
blob: bd37ba3fd8f6c05d0b8957dc232016eb8d181164 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
### Example: `theb` (use like openai pypi package) <a name="example-theb"></a>

```python
# import library
from openai_rev import theb

# simple streaming completion
for token in theb.Completion.create('hello world'):
    print(token, end='', flush=True)
```