blob: a7af9dd802753ec410c18f7dcfe2fe3f52e044ba (
plain) (
tree)
|
|
### Example: `theb` (use like openai pypi package) <a name="example-theb"></a>
```python
# import library
from gpt4free import theb
# simple streaming completion
while True:
x = input()
for token in theb.Completion.create(x):
print(token, end='', flush=True)
print("")
```
|