I'd like to evaluate the user's conversation histo...
# 🌎general
s
I'd like to evaluate the user's conversation history just prior to them triggering the 'book service' intent. If, in their recent conversation, there's a clear indication they've been discussing a specific service (e.g., lawn mowing), then instead of taking them to the general 'select a service' multiple choice, I'd like to take them directly to the workflow for booking that specific service. Ideally, this would be based on their last few messages before triggering the intent, to keep it relevant to their current context.
m
Right, i haven’t seen anything from botpress so far that covers this, is it possible to try and take the user to the flow at an earlier stage
Just thinking if you catch them early then you can ask specific questions along the way to get their requirements
s
Yes i could add more utterances to start the flow earlier. The idea came when i was asking questions about the service with utterances that i didn't include and figured it would be useful to have it ask to book the service while i was chating. Or if a user said book service without the right context for the utterance to pick up. Its unecessary but would be nice. I appreactiate you helping me though.
m
Yes you can trigger an intent based on keyword strings like book now, I want to book, how can I book etc Could also use ChatGPT to create the intent list for you
Is the chat bot in a state that could be shared for testing?
Or could you mention right at the start of the conversation, if they’d like to book simply type “book now” to take them to the booking flow - but off topic 😀
s
thanks for the help, got what i need
2 Views