Hi,
I'm building an assistant app and want to update the conversation with the user dynamically. For example the following conversation:
User: I would like to book a seat on the bus.
Watson: Sure when would you like?
User: For Tomorrow at 5:30 PM
Now here the systems catches the intent plus entities and run a query to the backend written in python to check how many seats are available. For example, if the result is 5 seats, watson replies:
Watson: Thats great, we have 5 seats left for this bus. Would you like me to reserve one for you?
And then rest of the conversation continues.
How can I dynamically update the conversation? I understand the dialogue is written in IBM cloud console and what can I place in the dialogue where it can update?
Answer by GuptaRohit (375) | May 28, 2018 at 06:58 AM
You can use context for it. At backend set the context seat_number with the number if seats available and in Assistant check the number. and use it in your response.
Answer by madhukar29 (53) | Jul 18, 2018 at 06:15 PM
@GuptaRohit - could you please explain in detail how to to achieve the same?