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 個月前檢視次數 176 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南