summaryrefslogtreecommitdiffstats
path: root/theb/README.md
blob: 982c34a12fee79e46aeb507561add0ea2bd4b4cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
### 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)
```