Google Cloud Discovery Engine V1 Client - Class ModelSpec (1.2.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ModelSpec.

Specification of the model.

Generated from protobuf message google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequest \ ContentSearchSpec \ SummarySpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

The model version used to generate the summary. Supported values are: * stable: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see Answer generation model versions and lifecycle. * preview: string. (Public preview) Uses a preview model. For more information, see Answer generation model versions and lifecycle.

getVersion

The model version used to generate the summary.

Supported values are:

Returns
Type Description
string

setVersion

The model version used to generate the summary.

Supported values are:

Parameter
Name Description
var string
Returns
Type Description
$this