stormy-gold
stormy-gold2y ago

entities - issue collecting a new name

I need to ask the user for a drug name and a company name that will be used to update a document. I used Capture and created two Custom Entities but the assistant keeps trying to collect the name in a loop I can't break (as if it was trying to validate the entry). I deleted the No Match option. Is it even possible to collect a nee value and store it? I don't understand why the assistant gets stuck.
3 Replies
Tico | Voiceflow Assistant
It sounds like you're encountering a loop issue when trying to collect new values using custom entities in your assistant. This can happen for a few reasons, but let's focus on how to properly set up and use the Capture step to collect and store new values such as a drug name and a company name. - Ensure you're using the Capture step correctly to collect the entire user reply or specific entities. You can store these in variables for later use in your assistant. - When creating custom entities, make sure they are correctly defined with possible values and synonyms to improve recognition accuracy. - If the assistant doesn't recognize the user's response as matching the expected entity, it might trigger a loop. To prevent this, configure the No Match and No Reply options in your Capture step to guide the user back on track or to another part of the conversation. - Deleting the No Match option without a proper fallback can cause unexpected behavior. Instead, use it to handle unrecognized inputs effectively by reprompting the user or directing them to a different part of the conversation. - Actions within the Capture step can also be used to navigate the conversation or execute logic based on the captured data. For more detailed guidance on using the Capture step and managing entities, you might find these resources helpful: - Capture Step Overview - Creating and Editing Entities
stormy-gold
stormy-goldOP2y ago
Do I need to provide all possible values for the Custom Entity? Can I capture a new value? The whole point of the dialog is to collect a NEW drug name and save it
W. Williams (SFT)
Just use a var instead of an entity. Drug and company names might be a bit tough to get validation on.

Did you find this page helpful?