Required. Resource identifier of the conversation to ingest context information for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>.
Authorization requires the following IAM permission on the specified resource conversation:
dialogflow.conversations.update
Request body
The request body contains data with the following structure:
Required. The context references to ingest. The key is the name of the context reference and the value contains the contents of the context reference. The key is used to incorporate ingested context references to enhance the generator.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Response body
The response message for [ConversationsService.IngestContextReferences][].
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This API is designed for ingesting context references into an existing conversation, enhancing the conversation's generator with relevant information."],["The HTTP request is a POST request to a specific endpoint, requiring a conversation resource identifier within the URL path, following gRPC Transcoding syntax."],["The request body must include a map of `contextReferences`, where each key-value pair represents the name and content of a context reference, in a specific JSON format."],["Upon successful ingestion, the response body will contain a map of `ingestedContextReferences`, reflecting all the context references that were successfully added."],["Authorization to use this API requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scopes."]]],[]]