capabilities.work

Add a context to a session

One step with Google Dialogflow. We can help you get access.

Get something done

Add a context to a session

Use Google Dialogflow: its Dialogflow ES API (v2) Contexts API lets you add a context to a session in a single step (POST /v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts). capabilities.work can help you get signed up and connected.

  • Can I push a context into a session of my global ES agent from my backend?
  • What lifespan can I give a context I create on a default-location session?
Say it to your AI assistant
  • Create context {name} in session {session} of the global agent in project {project}.
  • Set context {name} for {lifespan} turns on default-location session {session}, project {project}.
For your developer

POST /v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts in Dialogflow ES API (v2) Contexts API. Full spec on APIs.io.