Context In Dialogflow events

35 views
Skip to first unread message

Diego Barreiro

unread,
Nov 20, 2021, 9:42:48 AM11/20/21
to UniMRCP
Hello,
I have a problem invoking an event in DialogFlow with context.
If I invoke an intent, the context is received correctly.

builtin:speech/transcribe?dialogid=123456789;contexts=[{"name":"vars","lifespanCount":5,"parameters":{"param1":"123","param2":"456"}}]

But, if what I invoke is a Dialogflow event, the context is received as a parameter, which according to the GDF documentation is correct, but I don't know how to send it as a context and not as a parameter.

builtin:event/welcome?dialogid=123456789;contexts=[{"name":"vars","lifespanCount":5,"parameters":{"param1":"123","param2":"456"}}]

Does anyone know how to invoke it?
Thanks
Diego





Arsen Chaloyan

unread,
Nov 29, 2021, 9:57:54 PM11/29/21
to UniMRCP
Hello Diego,

You should be able to specify a context while invoking an event in the very same way. While your usage seems correct, there was such a problem fixed in GDF 1.19.0.


Make sure you use the latest version. If you continue experiencing the problem, please provide the logs.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/479ee1fe-d357-40cd-bdb6-610d799a398en%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Diego Barreiro

unread,
Nov 30, 2021, 3:24:19 PM11/30/21
to UniMRCP
Perfect, that was the problem.
I was using version 1.18.
Thank you,
Reply all
Reply to author
Forward
0 new messages