1
0
Fork 0
GPT4FREE/gpt4free/theb
2023-05-01 17:53:32 +05:00
..
__init__.py theb: multiple messages 2023-05-01 17:53:32 +05:00
README.md theb: multiple messages 2023-05-01 17:53:32 +05:00
theb_test.py refactored code 2023-04-29 15:50:18 +05:30

Example: theb (use like openai pypi package)

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