ChatGPT
Table of Contents
Contexts
apiKey
Type | Description | isCrypt |
---|---|---|
string | OpenAI secret key | true |
model
Type | Description | isCrypt |
---|---|---|
select | Choose your ChatGPT model | false |
Actions
Create a completion
Send a message (prompt) and receive a reply.
Documentation
First of all, you can configure your credentials :
apikey /* your OpenAI API key */
and then choose your ChatGPT model:
GPT 3.5
GPT 4
The most powerful one is GPT4, but is a bit more expensive than 3.5. Please refer to OpenAI pricing for more information.
The action allows you to send only one message/prompt and receive its reply. Each use of the action will create a new discussion from scratch.
Inputs
{
"prompt": "How are you today?", /*Prompt to submit to OpenAI*/
}
Outputs
Http Code 200
{
"response": "string"
}
Http Code 500
{
"message": "Error"
}
Version(s)
1.4.1