AI-generated Key Takeaways
-
A slot represents a piece of information needed in a conversation.
-
Slots have a mode (required or optional) and a status.
-
Slots hold a value that can be modified in the response.
-
The
updatedfield indicates if the slot value was collected in the last turn and is read-only. -
An optional prompt can be included to fill a required slot, overriding any console-defined prompt.
Represents a slot.
| JSON representation | |
|---|---|
{ "mode": enum ( |
|
| Fields | |
|---|---|
mode |
The mode of the slot (required or optional). Can be set by developer. |
status |
The status of the slot. |
value |
The value of the slot. Changing this value in the response, will modify the value in slot filling. |
updated |
Indicates if the slot value was collected on the last turn. This field is read-only. |
prompt |
Optional. This prompt is sent to the user when needed to fill a required slot. This prompt overrides the existing prompt defined in the console. This field is not included in the webhook request. |