Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 254 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 254 Bytes

Example: theb (use like openai pypi package)

# import library
import theb

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