Reputation: 1331
I'm setting the responses via the inline editor eg:
function send_response(agent)
{
agent.add("This is a response");
}
I would also like to set the outputContext via the inline editor as per the V2 api https://dialogflow.com/docs/fulfillment
"outputContexts": [
{
"name": "projects/${PROJECT_ID}/agent/sessions/${SESSION_ID}/contexts/context name",
"lifespanCount": 5,
"parameters": {
"param": "param value"
}
}
]
Wouldn't mind some advice on how to do it.
Thanks
Upvotes: 1
Views: 2512