Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 267 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 267 Bytes

Example: theb (use like openai pypi package)

# import library
from gpt4free import theb

# simple streaming completion
for token in theb.Completion.create('hello world'):
    print(token, end='', flush=True)
print("")