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.

Answer Generation Model specification.

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

Namespace

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