# Class ModalityConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    ModalityConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

If specified, will apply the given configuration for the
specified modality.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `modality_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.DataStoreTool.ModalityConfig.ModalityType` Required. The modality type. |
| `rewriter_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.DataStoreTool.RewriterConfig` Optional. The rewriter config. |
| `summarization_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.DataStoreTool.SummarizationConfig` Optional. The summarization config. |
| `grounding_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.DataStoreTool.GroundingConfig` Optional. The grounding configuration. |

## Classes

### ModalityType

    ModalityType(value)

The modality type.