Input data types in Virtual Agent topics
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Virtual Agent
You can define inputs of commonly used Glide Virtual Agent (com.glide.cs.chatbot) data types in Virtual Agent Designer without writing a script. Define the input data type on the Start node of a custom control or topic block.
Data types in Virtual Agent Designer
The data type designation allows Virtual Agent to perform secondary validation on NLU predicted values. For example, if your choice list has red, white, and blue, but the NLU prediction service returns green, the input won't be slot-filled because that wasn't a valid choice.
When you specify an input with a data type on a calling topic, you can use the data pill picker to specify information collected from the user or previously looked up in a custom control or topic block.
Example data type definition
This User Name Array.Reference input variable limits the number of records to 5. It references the sys_user table with the condition that all names must start with a.
Related Content
- Virtual Agent interaction records
Each time a Virtual Agent conversation occurs, an interaction record captures the entire conversation in the Interactions [interaction] table. The record includes all topic elements used in the conversation, as well as live agent transfers.
- Virtual Agent scripts
Use ServiceNow Virtual Agent script methods and variables to write chat scripts, such as response, trigger, and flow scripts. Variables can also provide context for your live support topics and conversations.
- NLU system entities
Use globally defined NLU entities to identify system information that Virtual Agent can extract from the conversation. You can define entities as "nodeless" input variables for a topic. These variables can be slot-filled from NLU service provider predictions or provided outside of the scope of the topic.
- Virtual Agent URL parameters
Virtual Agent provides various system parameters that admins can add to an instance URL to control how page content is rendered.
- Latency feedback in Virtual Agent
The com.glide.cs.message.processing.enabled system property notifies requesters whenever the generative AI large language model (LLM) is processing their request in the Virtual Agent web client and Now Assist panel.