mardi 14 mai 2019

Botium with DialogFlow unable to keep context in memory

We are developing a DialogFlow agent and we have a backend with firebase cloud functions that verify the data send by the user and send a event to the agent to ask the user the next question or the same again if go wrong.

If we test with iOS/Android or from DialogFlow chat the parameters of the context go to the function filled, but when we use Botium livechat go empty and the function respond with the angent to say the same question again.

We have a context 7a that nee to keep in memory all the conversation, we defined in whitout parameters botium.json.

This context 7a is pretty complex with a lot of parameters, its like json structure, and names varying between test.

¿How we can keep that context with all its data in memory of botium?

This is a OK example:

me

New shipment

bot

¿From who you want to send the shipment?

me

From Mike

bot

¿How is the address?

.... more

This is a KO example:

me

New shipment

bot

¿From who you want to send the shipment?

me

From Mike

bot

¿From who you want to send the shipment?

Thanks for the help

Aucun commentaire:

Enregistrer un commentaire