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

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

Answer Generation Model specification.

Generated from protobuf message google.cloud.discoveryengine.v1.AnswerQueryRequest.AnswerGenerationSpec.ModelSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerQueryRequest \ AnswerGenerationSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_version string

Model version. If not set, it will use the default stable model. Allowed values are: stable, preview.

getModelVersion

Model version. If not set, it will use the default stable model.

Allowed values are: stable, preview.

Returns
Type Description
string

setModelVersion

Model version. If not set, it will use the default stable model.

Allowed values are: stable, preview.

Parameter
Name Description
var string
Returns
Type Description
$this