- System-defined slots: built-in slots that Cognigy can use to automatically recognize common data types such as dates, numbers, durations, and emails.
- User-defined slots: custom slots based on your vocabularies or regular expressions, allowing detection of specific phrases, entities, or domain-specific terms.
Work with slots
Working with slots depends on the type of slot you choose. While some slots automatically extract values from the user input, others require manual configuration to map detected values to specific variables.Access slots with CognigyScript
By default, slots are stored in the Input object, and you can access them via CognigyScript. The{{input.slots}} object contains all system- and user-defined slots found in a user input.