Sasinda Rukshan
Sasinda Rukshan

Reputation: 449

How to create an Amazon Lex Slot type for a URL

There seems to be no AMAZON.URL or any other type for slots for urls. I need to capture the utterance like "show {url}" or "show {path}" ex: show https://stackoverflow.com/questions/ask show /questions/ask Can I make a custom slot type with regex capturing? couldn't find such an option.

Upvotes: 1

Views: 914

Answers (1)

Sasinda Rukshan
Sasinda Rukshan

Reputation: 449

Ok you could simply enumerate different url examples in a custom slot type, and it works.

This provides an answer on how to make custom slot types. Custom slot types in amazon lex without enumeration values

Upvotes: 1

Related Questions