会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
SynonymType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
YAML 表現 |
matchType: enum (MatchType )
acceptUnknownValues: boolean
entities:
string: object (Entity ) |
フィールド |
matchType |
enum (MatchType )
省略可。類義語のマッチタイプ。
|
acceptUnknownValues |
boolean
省略可。true に設定すると、周囲の入力データとインテント トレーニング データ(食料品リストに追加される可能性があるアイテムなど)に基づき、不明な単語やフレーズが照合されます。
|
entities |
map (key: string, value: object (Entity ))
必須。類義語エンティティの名前付きマップ。 "key": value ペアのリストを含むオブジェクト。例: { "name": "wrench", "mass": "1.3kg", "count": "3" }
|
エンティティ
型の中の 1 つのエントリの詳細を含む類義語エンティティ フィールドを表します。
フィールド |
display |
object (EntityDisplay )
省略可。エンティティの表示の詳細。
|
synonyms[] |
string
省略可。エンティティの類義語のリスト。このフィールドはローカライズ可能です。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-10 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-09-10 UTC。"],[[["This content describes a type that matches text using synonyms, with options for match type and unknown value handling."],["It includes entities, which are named maps of synonym entities with details like display and synonyms list."],["The synonym type uses a YAML representation for defining its structure and properties."],["Entities within the synonym type can also have their own YAML representation and properties, including display and synonyms."]]],[]]