GenAI.Dialogue.Schema
(GenAI Core v0.3.3)
Copy Markdown
Product-agnostic field schema for multi-turn slot-filling dialogues.
Fields are declared once; the dialogue stepper asks for missing required (and optional-to-ask) slots until the draft is complete.
Summary
Functions
True when no required/ask_optional fields are blank.
Ordered list of field names still blank under required + ask_optional policy.
Build a schema from a list of field maps.
Next {field, question} or nil when complete.
Types
Functions
True when no required/ask_optional fields are blank.
Ordered list of field names still blank under required + ask_optional policy.
Build a schema from a list of field maps.
Each field: %{name: :title, question: "…", required: true | false}.
Next {field, question} or nil when complete.