Type
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বিল্ট-ইন প্রকারের বিপরীতে একটি কাস্টম প্রকারের ঘোষণা। ধরনগুলি একটি দৃশ্যের স্লটগুলিতে বা উদ্দেশ্যের প্রশিক্ষণ বাক্যাংশগুলির পরামিতিগুলিতে বরাদ্দ করা যেতে পারে৷ ব্যবহারিকভাবে, প্রকারগুলিকে enums হিসাবে ভাবা যেতে পারে। উল্লেখ্য, ফাইলের নামে টাইপ নাম উল্লেখ করা আছে।
YAML প্রতিনিধিত্ব |
---|
exclusions:
- string
# Union field sub_type can be only one of the following:
synonym:
object (SynonymType )
regularExpression:
object (RegularExpressionType )
freeText:
object (FreeTextType )
# End of list of possible types for union field sub_type . |
ক্ষেত্র |
---|
exclusions[] | string ব্যতিক্রমী শব্দ/বাক্যাংশের সেট যা টাইপের দ্বারা মেলে না। দ্রষ্টব্য: যদি শব্দ/বাক্যাংশ প্রকারের সাথে মিলে যায় কিন্তু একটি বর্জন হিসাবে তালিকাভুক্ত হয় তবে এটি প্যারামিটার নিষ্কাশন ফলাফলে ফেরত দেওয়া হবে না। এই ক্ষেত্রটি স্থানীয়করণযোগ্য। |
ইউনিয়ন ফিল্ড sub_type । সাব-টাইপ নির্বাচন করা ম্যাচিং ধরনের উপর ভিত্তি করে. sub_type নিম্নলিখিতগুলির মধ্যে একটি হতে পারে: |
synonym | object ( SynonymType ) প্রতিশব্দ প্রকার, যা মূলত একটি enum। |
regularExpression | object ( RegularExpressionType ) Regex প্রকার, রেগুলার এক্সপ্রেশন ম্যাচিংয়ের অনুমতি দেয়। |
freeText | object ( FreeTextType ) ফ্রি টেক্সট টাইপ। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eCustom types, similar to enums, are declared in YAML and used for slots and intent parameters.\u003c/p\u003e\n"],["\u003cp\u003eTypes can utilize synonyms, regular expressions, or free text for matching, with exclusions for specific words or phrases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eexclusions\u003c/code\u003e field is localizable, allowing for language-specific variations in excluded terms.\u003c/p\u003e\n"],["\u003cp\u003eEach custom type definition is stored in a separate file where the file name defines the type name.\u003c/p\u003e\n"]]],[],null,["# Type\n\n- [YAML representation](#SCHEMA_REPRESENTATION)\n\nDeclaration of a custom type, as opposed to built-in types. Types can be assigned to slots in a scene or parameters of an intent's training phrases. Practically, Types can be thought of as enums. Note, type name is specified in the name of the file.\n\n| YAML representation ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` exclusions: - string # Union field `sub_type` can be only one of the following: synonym: object (/assistant/actionssdk/reference/rest/Shared.Types/SynonymType) regularExpression: object (/assistant/actionssdk/reference/rest/Shared.Types/RegularExpressionType) freeText: object (/assistant/actionssdk/reference/rest/Shared.Types/FreeTextType) # End of list of possible types for union field `sub_type`. ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| `exclusions[]` | `string` Set of exceptional words/phrases that shouldn't be matched by type. Note: If word/phrase is matched by the type but listed as an exclusion it won't be returned in parameter extraction result. **This field is localizable.** |\n| Union field `sub_type`. Selection of sub type based on the type of matching to be done. `sub_type` can be only one of the following: |||\n| `synonym` | `object (`[SynonymType](/assistant/actionssdk/reference/rest/Shared.Types/SynonymType)`)` Synonyms type, which is essentially an enum. |\n| `regularExpression` | `object (`[RegularExpressionType](/assistant/actionssdk/reference/rest/Shared.Types/RegularExpressionType)`)` Regex type, allows regular expression matching. |\n| `freeText` | `object (`[FreeTextType](/assistant/actionssdk/reference/rest/Shared.Types/FreeTextType)`)` FreeText type. |"]]