summaryrefslogtreecommitdiffstats
path: root/gpt4free/theb/README.md
blob: a4abdf627cd1c7da88fc2934aa5ae7880634f546 (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
from gpt4free import theb

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