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
preguntada hace 3 meses176 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 3 meses
  • Thanks. Problem was with punctuations which are not required.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas