<br />

## Usage

```
view: view_name {
  dimension: field_name {
    synonyms: ["synonym1", "synonym2", "..."]
  }
}
```

|---|---|
| Hierarchy [View File](https://docs.cloud.google.com/looker/docs/2602/reference/param-view) [`view`](https://docs.cloud.google.com/looker/docs/2602/reference/param-view-view) [Field Type](https://docs.cloud.google.com/looker/docs/2602/reference/param-field) `synonyms` | Possible Field Types Dimension, Dimension group, Measure, Filter, Parameter <br /> Accepts A string or a list of strings <br /> |

## Definition

The `synonyms` LookML parameter lets you specify a list of words or phrases that can be used to help large language models or application developers understand other ways that users may refer to a field. Synonyms aren't surfaced in a Looker Explore but instead appear as part of a field's metadata when you use the Looker API to [get information about a LookML model](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/methods/LookmlModel/lookml_model_explore).

> [!IMPORTANT]
> **Important:** The **Use Legacy LookML Runtime** [legacy feature](https://docs.cloud.google.com/looker/docs/2602/legacy-feature-schedule#current_legacy_features) must be disabled to use `synonyms`.

## Example

    dimension: customer_password {
      type: string
      sql: ${TABLE}.customer_password ;;
      synonyms: ["password"]
    }