openai-chat
function
The openai-chat
action sends message to OpenAI. It belongs to the openai category within the plugins area.
Action Syntax
openai-chat "text"
A quoted text string
openai-chat $variable
A variable name starting with $
Return Value
This function returns a
RESPONSE
value that can be stored in a variable:
$result = openai-chat
Valid sizes
tiny
small
medium
large
extra
Tags
full
returns a full response including all details
model
specifies the model name to use
Examples
// Basic Usage
$response = openai-chat "text"
Action code: 2818190209
Version: 0.6.4
Last updated: 2025-06-13