Class TextResponseConfig (0.7.0)

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

Configuration for the text response returned with the widget.

Attributes

Name Description
type_ 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.