Files
gpt4free/openaihosted
2023-04-27 16:12:04 -07:00
..
2023-04-27 16:05:06 -07:00
2023-04-27 16:12:04 -07:00

Example: openaihosted)

# import library
import openaihosted

res = openaihosted.Completion.create(systemprompt="U are ChatGPT", text="What is 4+4", assistantprompt="U are a helpful assistant.")['response']
print(res) ## Responds with the answer