11 lines
267 B
Markdown
11 lines
267 B
Markdown
### 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("")
|
|
```
|