VocalDocscontracts 1.65.0

PromptDeclarationsInput

The values a template reads (1.55.0; prompt-manager.md section 2): variables are trusted per-Call inputs, slots are claimed by the conversation, so a template may choose wording by a slot but gates PHI only on a variable. An omitted list or map is empty.

An object with 3 fields.

Fields

FieldTypeRequiredDescription
retrievalarray of KnowledgeBindingNamenoThe Knowledge bindings the template names in {{#retrieval "<name>"}} slots (1.55.0), each by its handle; at Agent publish each must be a binding of the Agent (unknown_binding).
slotsarray of PromptSlotNamenoThe slots the template reads (1.55.0). Slots are declared on the Agent with the statecharts of slice 2.12, so until then an Agent publish refuses a template that reads one (undeclared_reference); from 1.58.0 a publish refuses only a slot the Agent's slots does not declare.
variablesmap of PromptVariableDeclarationInputnoThe variables the template reads as {{variables.<name>}}, by name, at most 50. An Organization layer declares none (layer_reference_not_allowed).