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 \ SummarySpecMethods
__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: * |
getVersion
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.
Returns | |
---|---|
Type | Description |
string |
setVersion
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |