AI Agent
AI-generatedSummary
Send a user prompt along with a system message to a specified AI model, requesting a structured JSON response validated against a user-provided JSON schema.
Inputs
- Model (required) — Select the AI model to use, e.g., 'gpt-4'.
- System Message — Set the AI's context or behavior with a system message.
- User Prompt (required) — Provide the prompt text to send to the AI for completion.
- JSON Schema (required) — Define a JSON schema to enforce and validate the AI's structured output format.
- Temperature — Adjust randomness in the AI's output; lower values yield more deterministic results.
Output shape
A list of items, each containing the original input JSON merged with an 'aiResponse' field holding the AI's parsed structured response object, and a '_meta' field with model details, usage statistics, and finish reason.
The output JSON strictly follows the user-defined JSON schema for the AI response. Errors during AI call or JSON parsing can either throw or be included per item if 'Continue On Fail' is enabled.