Google Cloud Discovery Engine V1beta Client - Class ModelSpec (0.11.3)

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

Specification of the model.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ 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