summaryrefslogblamecommitdiffstats
path: root/g4f/.v1/gpt4free/theb/README.md
blob: a7af9dd802753ec410c18f7dcfe2fe3f52e044ba (plain) (tree)
1
2
3
4
5
6
7

                                                                              

                
                         

                             





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