ai_completion
ScriptingRequests text completion from the bundled AI assistant.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Natural language instruction for the AI |
provider | string | No | openai | AI provider
Options: openai, anthropic, local |
model | string | No | gpt-3.5-turbo | Model name |
input_text | string | No | | Additional input text for the prompt |
json_mode | boolean | No | false | Request JSON output |
Usage Example
RTILA X PROJECT JSON
{
"command": "ai_completion",
"params": {
"prompt": "Extract all product names from the page and return them as JSON.",
"provider": "openai",
"model": "gpt-3.5-turbo",
"input_text": "",
"json_mode": true
}
}
Related Scenarios
- View /scenarios/complex-workflows/6 · complex workflows
Related Learning Articles
Was this helpful?
Thank you for your feedback!