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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则