Skip to content

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.. Use response_format: enum with response_options for classification. ai_model echoes which model was actually used. This is the right tool for reasoning, translation, summarisation, and free-text extraction; prefer specialized modules for data operations (Contacts, geocoding, weather, OCR).

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.

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.

Configured per use: prompt, system, model, response_format, response_options, response_schema, max_tokens.

  • ai_response
  • ai_parsed
  • ai_model

Auto-generated from the skill registry (load_skills()). Do not edit by hand.