Google Cloud Ces V1 Client - Class ModalityConfig (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class ModalityConfig.

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

Generated from protobuf message google.cloud.ces.v1.DataStoreTool.ModalityConfig

Namespace

Google \ Cloud \ Ces \ V1 \ DataStoreTool

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ modality_type
int

Required. The modality type.

↳ rewriter_config
RewriterConfig

Optional. The rewriter config.

↳ summarization_config
SummarizationConfig

Optional. The summarization config.

↳ grounding_config
GroundingConfig

Optional. The grounding configuration.

getModalityType

Required. The modality type.

Returns
Type
Description
int
Enum of type ModalityType .

setModalityType

Required. The modality type.

Parameter
Name
Description
var
int

Enum of type ModalityType .

Returns
Type
Description
$this

getRewriterConfig

Optional. The rewriter config.

Returns
Type
Description

hasRewriterConfig

clearRewriterConfig

setRewriterConfig

Optional. The rewriter config.

Parameter
Name
Description
Returns
Type
Description
$this

getSummarizationConfig

Optional. The summarization config.

Returns
Type
Description

hasSummarizationConfig

clearSummarizationConfig

setSummarizationConfig

Optional. The summarization config.

Parameter
Name
Description
Returns
Type
Description
$this

getGroundingConfig

Optional. The grounding configuration.

Returns
Type
Description

hasGroundingConfig

clearGroundingConfig

setGroundingConfig

Optional. The grounding configuration.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: