Key Benefits
- Automatic Extraction. Cognigy.AI automatically detects and categorizes user input into predefined Slots, reducing manual configuration.
- Data Consistency. By using system-defined Slots, Cognigy.AI ensures all extracted data is consistently formatted and accurate.
- Simplified Integration. System-defined Slots simplify the handling of complex data types, enabling smooth integration with backend systems.
All System-Defined Slots
In the JSON object, all system-defined Slot names are capitalized for easy identification.List of System-Defined Slots
List of System-Defined Slots
| Slot Name | User Input | Slot JSON |
|---|---|---|
| DATE | tomorrow, August 1st at 5pm | |
| next week | ||
| NUMBER | one hundred, 143 | |
| DURATION | 10 minutes 20 seconds | |
| TEMPERATURE | 50 degrees | |
| AGE | 32 years old | |
| info@cognigy.com | ||
| PERCENTAGE | 5 percent | |
| URL | https://cognigy.com | |
| MONEY | 500 dollars | |
| DISTANCE | 12 kilometers |
DATE Slots
DATE Slot detection depends on the time zone you set in the Project or through API functions.Supported Input Patterns and Formats
Supported Input Patterns and Formats
DATE Format Handling
DATE Slot parsing follows the NLU language set in the Flow. Different regions use different date formats for slash-separated dates. The table outlines the format handling:
For a full list of country-specific date formats, refer to the Date_format_by_country page on Wikipedia.
Invalid Date Handling
Cognigy.AI automatically checks all dates from user inputs. If a date is invalid, it won’t be assigned to the DATE Slot. The system ensures:- Leap year validation:
February 29, 2024is valid, butFebruary 29, 2023isn’t. - Correct month-day mapping:
April 31is invalid. - Fallback correction for ambiguous formats:
13/01/2023defaults todd/mm/YYYYifmm/dd/YYYYis invalid.