As the title says, I already know how to call http api. But I still don’t know how to use the api to finish the dialogue. The offical doc only show how to use each api seperately but do not contain a full example on how to use them all together to finish a chat between the bot and the client.
e.g.: IMO, I think I should add a message first, then predict the next action, then execute the action, and then predict the next next action and then then execute it unitl I encountered the “action_listen”.
However after I execute one action, the api keep predicting the same action and won’t end… So I don’t know how should I let the tracker update its status after
execute some action