Join us at Google I/O from May 18 to 20 for discussions, learning, and a first look at our latest developer products. Register now.

SynonymType

Type that matches text by set of synonyms.

YAML representation
matchType: enum (MatchType)
acceptUnknownValues: boolean
entities: 
  string: object (Entity)
Fields
matchType

enum (MatchType)

Optional. The match type for the synonym.

acceptUnknownValues

boolean

Optional. When set to true this will match unknown words or phrases based on surrounding input and intent training data, such as items that might be added to a grocery list.

entities

map (key: string, value: object (Entity))

Required. Named map of synonym entities.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.