# Class TextResponseConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Configuration for the text response returned with the widget.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.WidgetTool.TextResponseConfig.Type` Optional. The strategy for providing the text response. |
| `static_text` | `str` Optional. The static text response to return when type is STATIC. |
| `text_response_instruction` | `str` Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED. |

## Classes

### Type

    Type(value)

Defines how the text response is produced.