تم إيقاف إجراءات المحادثات نهائيًا في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
IntentParameterValue
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يمثل قيمة لمعلَمة intent.
تمثيل JSON |
{
"original": string,
"resolved": value
} |
الحقول |
original |
string
مطلوب. قيمة النص الأصلية المستخرجة من كلام المستخدم.
|
resolved |
value (Value format)
مطلوب. القيمة المنظَّمة للمَعلمة المستخرجة من البيانات التي أدخلها المستخدم لن تتم تعبئة هذا الحقل إلا إذا تم تحديد المعلمة في الغرض المطابق، وكان من الممكن تحديد قيمة المعلمة أثناء مطابقة النية.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]