Ask AI
Module · Stable
Send a prompt to an LLM and get a typed response (text, int, float, bool, JSON, enum).
Routes to the configured LLM via the routing table in AI Settings. Set response_format: json and supply a response_schema dict to extract structured data — the parsed object is at ai_parsed.
When to use
Section titled “When to use”A single LLM turn with a typed answer: reasoning, translation, summarisation, free-text extraction (response_format: json + response_schema), or classification (response_format: enum). The answer flows into context for downstream steps to branch on or use.
When not to use
Section titled “When not to use”To ask a human, use Ask a person. For multi-step autonomy that calls tools, use Run agent (this is a single stateless turn — no tools). For structured data operations prefer the specialized modules (Contacts, Geocode, Weather, OCR) rather than a hand-written prompt.
Inputs
Section titled “Inputs”Configured per use: prompt, system, model, response_format, response_options, response_schema, max_tokens.
Outputs
Section titled “Outputs”Auto-generated from the skill registry (load_skills()). Do not edit by hand.