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
asked 3 months ago155 views
1 Answer
1
Accepted Answer

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
EXPERT
answered 3 months ago
  • Thanks. Problem was with punctuations which are not required.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions