IntentParameterValue
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Representa un valor para el parámetro de intent.
Representación JSON |
{
"original": string,
"resolved": value
} |
Campos |
original |
string
Obligatorio. Valor del texto original extraído del enunciado del usuario.
|
resolved |
value (Value format)
Obligatorio. Valor estructurado para el parámetro extraído de la entrada del usuario. Esto solo se propagará si el parámetro se define en el intent coincidente y el valor del parámetro se puede identificar durante la coincidencia del intent.
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eJSON representation showcases the intent parameter's value with \u003ccode\u003eoriginal\u003c/code\u003e indicating the user's input and \u003ccode\u003eresolved\u003c/code\u003e displaying the structured, extracted value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eoriginal\u003c/code\u003e is a required string field containing the raw user utterance, while \u003ccode\u003eresolved\u003c/code\u003e is a required field providing the structured data in \u003ca href=\"https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value\"\u003eValue\u003c/a\u003e format, but only if the parameter is defined within the intent and a value is identified during matching.\u003c/p\u003e\n"]]],[],null,["# IntentParameterValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a value for intent parameter.\n\n| JSON representation ||\n|---------------------------------------------------|---|\n| ``` { \"original\": string, \"resolved\": value } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `original` | `string` Required. Original text value extracted from user utterance. |\n| `resolved` | `value (`[Value](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value)` format)` Required. Structured value for parameter extracted from user input. This will only be populated if the parameter is defined in the matched intent and the value of the parameter could be identified during intent matching. |"]]