Skip to content

Mapping the Draft Model to Dialogue Frameworks

Reading map

Closest conceptual and product analogs

The closest existing family is frame-based task-oriented dialogue, where the system maintains a structured frame or slots, fills them over multiple turns, validates them, and only proceeds once the information is complete enough for the task. The proposed Quick Add model is also very close to the typed-action pattern in its specification, where natural language produces a transaction draft, the backend validates it, and execution only happens after confirmation. (Jurafsky & Martin 2026; Schulz et al. 2017; see Quick Add feature specification)

Closest matches

The strongest conceptual match is frame-based dialogue systems: the user has a task, the system tracks a structured representation of that task, fills missing slots, and asks follow-up questions when required. In Quick Add, the “frame” is the transaction draft, and the refinement loop is essentially a productized form of dialogue state tracking plus slot filling. (Jurafsky & Martin 2026; Sun et al. 2022)

A second close match is frame tracking, which extends plain slot filling by keeping track of frames over time rather than treating each utterance as a one-shot parse. That maps well to the proposal that “4.50” should update the existing draft rather than create a new interpretation from scratch. (Schulz et al. 2017)

Product analogs

Existing approachWhy it is similar
Frame-based dialogue systemsThey are built around task completion through structured frames and slot filling rather than free-form chat. (Jurafsky & Martin 2026)
Dialogue state trackingDST explicitly maintains slot values across turns and is responsible for extracting and preserving state over the dialogue. (Sun et al. 2022)
Rasa FormsRasa forms collect required slots, validate extracted values, and keep prompting until the form is complete enough to proceed. (Rasa, Forms)
Amazon Lex slot elicitation + confirmationLex uses slots to gather required fields and supports a confirmation prompt after slot values are filled to verify the action before proceeding. (AWS, Slots; AWS, Confirmation)
Memory-enhanced frame trackingThis line of work models dialogue as operating over the list of frames created so far, not just the latest user message. (Schulz et al. 2017)

Where the draft model adds structure

The proposed draft model is more robust than classic slot filling because the draft is not just a bag of fields; it also carries status, provenance, warnings, readiness, and next-step policy. Traditional form systems usually emphasize collecting required values, while the proposed design explicitly separates parsing, grounding, validation, policy, confirmation, and execution boundaries. (Rasa, Forms; AWS, Confirmation; see Quick Add feature specification)

That separation is especially close to production assistant architecture: Rasa distinguishes slot collection and validation, and Lex distinguishes slot completion from confirmation, but the proposed model goes further by making the draft itself the orchestrated object and by keeping execution behind a typed backend boundary. In other words, this is less “chatbot form filling” and more execution-gated stateful command completion. (AWS, Confirmation; Jurafsky & Martin 2026; Rasa, Forms; see Quick Add feature specification)

Best labels

For an NLP and conversational-systems audience, the closest label is frame-based, task-oriented dialogue with dialogue state tracking and slot filling. For product and architecture descriptions, draft-centric action pipeline or execution-gated typed action pipeline is clearer and better aligned with the transaction-confirmation boundary. (Sun et al. 2022; Jurafsky & Martin 2026; see Quick Add feature specification)

A concise way to position it in a spec would be: “Quick Add uses a frame-based dialogue pattern in which the system maintains a transaction draft, incrementally fills and validates it, and executes a typed action only after readiness and confirmation.” (Jurafsky & Martin 2026; Rasa, Forms; AWS, Confirmation; Sun et al. 2022; see Quick Add feature specification)

Component mapping to Rasa and Lex

The proposed components map cleanly onto classic task-oriented dialogue terminology, with Rasa and Lex providing concrete product analogs for different layers of the loop. (Jurafsky & Martin 2026; see Quick Add feature specification)

Core mapping

At the highest level, the transaction draft corresponds to the dialogue frame/state: frame-based systems define a frame with slots the system needs to complete the task, and dialogue state tracking is responsible for maintaining that state over turns. In Rasa, this looks like the evolving set of form slots plus requested_slot and active_loop; in Lex, it looks like the current intent with its slot values and next dialog step. (Jurafsky & Martin 2026; Sun et al. 2022; see Quick Add feature specification)

Quick Add componentGeneral DST termRasa termLex term
Transaction DraftDialogue state / frameForm state plus slots.Intent state plus slot values. (Jurafsky & Martin 2026; Rasa, Forms; AWS, Slots)
action: create_transactionIntent / task schemaTriggering intent that activates a form.Intent. (Jurafsky & Martin 2026; Rasa, Forms; AWS, Slots)
Fields like amount, date, account, categorySlots / slot-value pairsSlots.Slots. (Jurafsky & Martin 2026; Rasa, Forms; AWS, Slots)
Draft ManagerDialogue state tracker / dialogue managerForm loop logic with validation and slot updates.Dialog manager plus code-hook-controlled next steps. (Jurafsky & Martin 2026; Rasa, Forms; AWS, Next steps)
Missing fieldsUnfilled required slotsrequired_slots not yet filled.Required slots still to elicit. (Jurafsky & Martin 2026; Rasa, Forms; AWS, Slots)
next_step.ask_userSlot elicitationutter_ask_* or action_ask_* for requested slot.Slot prompt / ElicitSlot behavior. (Jurafsky & Martin 2026; Rasa, Forms; AWS, Next steps)
Readiness checkDialogue policy / completion conditionForm deactivates when all required slots are filled.Move to confirmation or fulfillment after slots are filled. (Jurafsky & Martin 2026; Rasa, Forms; AWS, Next steps)
Confirmation cardIntent confirmationCustom submit/confirmation step after form completion.Confirmation prompt / ConfirmIntent. (Rasa, Forms; AWS, Confirmation; AWS, PostText)
Typed backend executionFulfillment / action executionSubmit action or downstream custom action after form completion.Fulfillment step after confirmation. (Rasa, Forms; AWS, Next steps)

State and loop

The draft lifecycle maps most naturally to dialogue state tracking plus a dialogue manager that chooses the next action from the current state. DST literature defines the state as the accumulated slot-value representation over the full conversation, not just what was said in the last turn, which explains why the draft object is the central object in this design. (Jacqmin 2022; Sun et al. 2022; Jurafsky & Martin 2026)

For Rasa specifically, active_loop is the closest analog to the refinement loop, because a form stays active until enough information is collected, and requested_slot marks the exact field currently being elicited. In Lex, the equivalent is the configured conversation path where the system elicits required slots, optionally branches, and then moves to confirmation and fulfillment. (AWS, Next steps; Janik 2021; Jurafsky & Martin 2026; see Quick Add feature specification)

Validation and repair

The enrich, validate, repair phases split across standard components rather than belonging to one monolithic parser. In Rasa, extraction and validation happen during the form via slot mappings, extract_<slot>, and validate_<form_name> or validate_<slot> methods; invalid values can be reset to None, causing the system to ask again. In Lex, slot capture can invoke a Lambda dialog code hook to validate or normalize values and determine the next step after each capture attempt. (Rasa, Forms; Jurafsky & Martin 2026; see Quick Add feature specification)

“Clarification as draft repair” maps directly to re-elicitation after failed validation. The “blocked” or “unsupported” states map to Rasa unhappy paths or form deactivation, and to Lex failure responses, conditional branches, or routing back to intent elicitation. (Jurafsky & Martin 2026; see Quick Add feature specification)

Tool grounding

The grounding services do not have a single first-class name in classic DST, but they fit as business-logic-backed slot resolution and validation. In Rasa, this is usually custom extraction/validation code inside forms; in Lex, it is primarily dialog code hooks and conditional branching attached to slot capture or confirmation. (Jurafsky & Martin 2026; Rasa, Forms; see Quick Add feature specification)

Possible module labels:

  • Category/account resolver -> custom slot extraction or slot resolution layer. (Jurafsky & Martin 2026; see Quick Add feature specification)
  • Duplicate detector -> validation/business rule layer before confirmation. (Rasa, Forms; see Quick Add feature specification)
  • Defaults/history enrichment -> dialogue-context-informed slot filling or business-logic enrichment. (Sun et al. 2022; see Quick Add feature specification)
  • Provenance/confidence -> not a standard Rasa/Lex primitive, but an observability extension on top of DST state. (see Quick Add feature specification)

A design document can use two vocabularies so both NLP and product readers can follow the design. (Jurafsky & Martin 2026; see Quick Add feature specification)

  • NLP/conversational AI: task-oriented dialogue, frame-based state, slot filling, dialogue state tracking, slot elicitation, validation, confirmation, fulfillment. (Sun et al. 2022; Jurafsky & Martin 2026)
  • Product/architecture: transaction draft, draft manager, enrichment, readiness criteria, action policy, execution gate, typed action executor. (see Quick Add feature specification)

A tight mapping sentence would be: “The draft manager is effectively a dialogue state tracker plus policy layer; it maintains the transaction frame, elicits and validates missing slots, and only hands off to fulfillment once the draft is confirmation-ready.” (Rasa, Forms; Jurafsky & Martin 2026; see Quick Add feature specification)

One nuance

The only place this design is strictly richer than default Rasa/Lex terminology is field provenance, patch history, and explicit separation between ready_for_confirmation and execution_ready. Classic frameworks support slot collection, validation, and confirmation, but the proposed draft object adds a more modern orchestration layer for explainability, observability, and safe typed execution boundaries. (Rasa, Forms; see Quick Add feature specification)

A practical renamed component set could be:


Related: Draft state and lifecycle · Clarification as draft repair · Dialogue systems and mixed-initiative interaction.

Original text: example.md · mapping.md.

References