automatic-azure
automatic-azure15mo ago

encountering issue with the entity and variable

I’m building appointment setter chatbot for a dentist and I want to capture a service which user says: For example the conversation starts by “Hi im your assistant. How may I help you today?” Then bot gives a button to choose to a user and the one button is for our services which the chatbot will tell what services does the clinic offer and then the bot will ask “what services you’re looking for?” Then user will type (I need x-y-z service) then in another step a bot will ask to the user “Would you like to book an Appointment for your x-y-z service?” When I’m doing this step to capture the service which user says with the variable named {type_of_service}, for example a service user say is I need laser teeth whitening service so in the variable it’s capturing i need as well, so this is creating a problem in the next step in which the bot ask “would you like to book an Appointment for your i need laser teeth whitening service” Help me with this issue please… and in entity I’m struggling with the Entity repromt I don’t understand why is this ??? And with the value of entity….!!!
3 Replies
rare-sapphire
rare-sapphire15mo ago
use Set Ai prompt something like, note down the service mentioned in the following {type_of_service} and save as variable and use it instead of original
automatic-azure
automatic-azureOP15mo ago
Thanks raaaj for your answer
rare-sapphire
rare-sapphire15mo ago
welcome

Did you find this page helpful?