Contexts and the API

Input and output contexts can be activated, created, and altered for intents and sessions using the API.

Setting output and input contexts via API

Like in the console, you can set input and output contexts using the API. You can include the optional Context objects in the QueryParameters object to activate them before the query is executed.

In the QueryResult, the activated contexts are included in the outputContexts object.

Create, read, update, and delete contexts via the API

You can use the following API methods to create and manage contexts for a given session:

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

Dialogflow Documentation
도움이 필요하시나요? 지원 페이지를 방문하세요.