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