•   almost 9 years ago

Smart custom slot types?

I know I can create new slot types, which are basically enumerations of accepted values. And Lex has some powerful built-in types (like AMAZON.TIME) that do smart parsing actually examining the text and trying to make sense of it or compare the text against a run-time list (like AMAZON.Movie).

Is it possible for developers to write their own smart slot types? Are we limited to approximating this with 'validate' lambda code hooks, or is there a more direct/cleaner way?

  • 1 comment

  •   •   almost 9 years ago

    You can make your own slot type and provide the enumeration values for it through the model building APIs. Though, I haven't tried it myself so I can't be certain.

Comments are closed.