AMAZON.LastName not able to recognise last name given in Prompt in AWS LEX V2

0

I am using Prompt with built in slot type AMAZON.LastName to get last name , but given last names is not recognised by in AWS Lex v2, and it keep asking to enter it.How to handle this?

E.g.: "Khamooshi"

Apart from this, I am unable to find a type like AMAZON.STRING that takes any string without any validation.

질문됨 2년 전369회 조회
1개 답변
0

If you already have a list of last names that you expect, you can create a custom slot type then use "Expand values (default)" in the custom slot to add all of the last names you expect. This will be used as a training data for the custom slot type.

As for the built-in slot type, there is no AMAZON.STRING slot type but you can use AMAZON.AlphaNumeric and specify regular expression to limit the field to only strings

AWS
Will_B
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠