Slot
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"mode": enum (SlotMode ),
"status": enum (SlotStatus ),
"value": value,
"updated": boolean,
"prompt": {
object (Prompt )
}
} |
Fields |
mode |
enum (SlotMode )
The mode of the slot (required or optional). Can be set by developer.
|
status |
enum (SlotStatus )
The status of the slot.
|
value |
value (Value format)
The value of the slot. Changing this value in the response, will modify the value in slot filling.
|
updated |
boolean
Indicates if the slot value was collected on the last turn. This field is read-only.
|
prompt |
object (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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-06-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2020-06-05 UTC."}