You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** An array of possible alternative values that the user might have intended instead of the value returned in
642
+
* the **value** property. This property is returned only for `@sys-time` and `@sys-date` entities when the user's
643
+
* input is ambiguous.
644
+
*
645
+
* This property is included only if the new system entities are enabled for the skill.
646
+
*/
647
+
alternatives?: RuntimeEntityAlternative[];
648
+
/** An object describing the role played by a system entity that is specifies the beginning or end of a range
649
+
* recognized in the user input. This property is included only if the new system entities are enabled for the
650
+
* skill.
651
+
*/
652
+
role?: RuntimeEntityRole;
653
+
}
654
+
655
+
/** An alternative value for the recognized entity. */
656
+
exportinterfaceRuntimeEntityAlternative{
657
+
/** The entity value that was recognized in the user input. */
658
+
value?: string;
659
+
/** A decimal percentage that represents Watson's confidence in the recognized entity. */
660
+
confidence?: number;
661
+
}
662
+
663
+
/** RuntimeEntityInterpretation. */
664
+
exportinterfaceRuntimeEntityInterpretation{
665
+
/** The calendar used to represent a recognized date (for example, `Gregorian`). */
666
+
calendar_type?: string;
667
+
/** A unique identifier used to associate a recognized time and date. If the user input contains a date and time
668
+
* that are mentioned together (for example, `Today at 5`, the same **datetime_link** value is returned for both
669
+
* the `@sys-date` and `@sys-time` entities).
670
+
*/
671
+
datetime_link?: string;
672
+
/** A locale-specific holiday name (such as `thanksgiving` or `christmas`). This property is included when a
673
+
* `@sys-date` entity is recognized based on a holiday name in the user input.
674
+
*/
675
+
festival?: string;
676
+
/** The precision or duration of a time range specified by a recognized `@sys-time` or `@sys-date` entity. */
677
+
granularity?: string;
678
+
/** A unique identifier used to associate multiple recognized `@sys-date`, `@sys-time`, or `@sys-number`
679
+
* entities that are recognized as a range of values in the user's input (for example, `from July 4 until July 14`
680
+
* or `from 20 to 25`).
681
+
*/
682
+
range_link?: string;
683
+
/** The word in the user input that indicates that a `sys-date` or `sys-time` entity is part of an implied range
684
+
* where only one date or time is specified (for example, `since` or `until`).
685
+
*/
686
+
range_modifier?: string;
687
+
/** A recognized mention of a relative day, represented numerically as an offset from the current date (for
688
+
* example, `-1` for `yesterday` or `10` for `in ten days`).
689
+
*/
690
+
relative_day?: number;
691
+
/** A recognized mention of a relative month, represented numerically as an offset from the current month (for
692
+
* example, `1` for `next month` or `-3` for `three months ago`).
693
+
*/
694
+
relative_month?: number;
695
+
/** A recognized mention of a relative week, represented numerically as an offset from the current week (for
696
+
* example, `2` for `in two weeks` or `-1` for `last week).
697
+
*/
698
+
relative_week?: number;
699
+
/** A recognized mention of a relative date range for a weekend, represented numerically as an offset from the
700
+
* current weekend (for example, `0` for `this weekend` or `-1` for `last weekend`).
701
+
*/
702
+
relative_weekend?: number;
703
+
/** A recognized mention of a relative year, represented numerically as an offset from the current year (for
704
+
* example, `1` for `next year` or `-5` for `five years ago`).
705
+
*/
706
+
relative_year?: number;
707
+
/** A recognized mention of a specific date, represented numerically as the date within the month (for example,
708
+
* `30` for `June 30`.).
709
+
*/
710
+
specific_day?: number;
711
+
/** A recognized mention of a specific day of the week as a lowercase string (for example, `monday`). */
712
+
specific_day_of_week?: string;
713
+
/** A recognized mention of a specific month, represented numerically (for example, `7` for `July`). */
714
+
specific_month?: number;
715
+
/** A recognized mention of a specific quarter, represented numerically (for example, `3` for `the third
716
+
* quarter`).
717
+
*/
718
+
specific_quarter?: number;
719
+
/** A recognized mention of a specific year (for example, `2016`). */
720
+
specific_year?: number;
721
+
/** A recognized numeric value, represented as an integer or double. */
722
+
numeric_value?: number;
723
+
/** The type of numeric value recognized in the user input (`integer` or `rational`). */
724
+
subtype?: string;
725
+
/** A recognized term for a time that was mentioned as a part of the day in the user's input (for example,
726
+
* `morning` or `afternoon`).
727
+
*/
728
+
part_of_day?: string;
729
+
/** A recognized mention of a relative hour, represented numerically as an offset from the current hour (for
730
+
* example, `3` for `in three hours` or `-1` for `an hour ago`).
731
+
*/
732
+
relative_hour?: number;
733
+
/** A recognized mention of a relative time, represented numerically as an offset in minutes from the current
734
+
* time (for example, `5` for `in five minutes` or `-15` for `fifteen minutes ago`).
735
+
*/
736
+
relative_minute?: number;
737
+
/** A recognized mention of a relative time, represented numerically as an offset in seconds from the current
738
+
* time (for example, `10` for `in ten seconds` or `-30` for `thirty seconds ago`).
739
+
*/
740
+
relative_second?: number;
741
+
/** A recognized specific hour mentioned as part of a time value (for example, `10` for `10:15 AM`.). */
742
+
specific_hour?: number;
743
+
/** A recognized specific minute mentioned as part of a time value (for example, `15` for `10:15 AM`.). */
744
+
specific_minute?: number;
745
+
/** A recognized specific second mentioned as part of a time value (for example, `30` for `10:15:30 AM`.). */
746
+
specific_second?: number;
747
+
/** A recognized time zone mentioned as part of a time value (for example, `EST`). */
748
+
timezone?: string;
749
+
}
750
+
751
+
/** An object describing the role played by a system entity that is specifies the beginning or end of a range recognized in the user input. This property is included only if the new system entities are enabled for the skill. */
752
+
exportinterfaceRuntimeEntityRole{
753
+
/** The relationship of the entity to the range. */
0 commit comments