gpt4free/openaihosted/readme.md
2023-04-27 16:12:04 -07:00

303 B

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