1
0
Fork 0
GPT4FREE/gpt4free/theb/README.md

15 lines
281 B
Markdown

### 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("")
```