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

12 lines
267 B
Markdown
Raw Normal View History

2023-04-27 18:32:39 +00:00
### Example: `theb` (use like openai pypi package) <a name="example-theb"></a>
```python
# import library
2023-04-29 09:25:24 +00:00
from gpt4free import theb
2023-04-27 18:32:39 +00:00
# simple streaming completion
for token in theb.Completion.create('hello world'):
print(token, end='', flush=True)
print("")
```