AWS lex slot type values are adding.

0

I have created Intents. Now I am creating slot types. I chose blank slot type. When I am adding values (Expand values) I am able to save but when I try to build, it throws error that no slot value and value vanishes. I am trying to make informative bot. Like I am trying to add About a product in the value. Is there a specific way to enter value. Do we need to refer to an intent. Please explain.

profile picture
질문됨 3달 전175회 조회
1개 답변
1
수락된 답변

Slot values must be unique within a slot type. You cannot have duplicate values. Slot values cannot contain special characters like <, >, #, etc. Keep them simple without punctuation. It's best practice to use specific, unambiguous values rather than generic terms like "product" or "item". You do not need to reference an intent when adding values. Slot values are independent of intents. If you are getting errors on build, double check that all required slots in your intent have values defined.

profile picture
전문가
답변함 3달 전
  • Thanks. Problem was with punctuations which are not required.

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

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

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

관련 콘텐츠