capabilities.work

Add a context to an environment user session

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

Get something done

Add a context to an environment user session

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

  • How do I set a context for one user's session in a global agent environment?
  • Can I add a context with a lifespan to a default-location environment session?
Say it to your AI assistant
  • Create context {name} for user {user} in session {session} of global environment {environment}, project {project}.
  • Attach context {name} lasting {lifespan} turns to user {user}'s session {session} in default environment {environment}, project {project}.
For your developer

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