Google Cloud Discovery Engine V1 Client - Class ModelSpec (1.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ModelSpec.
Query Rephraser Model specification.
Generated from protobuf message google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.ModelSpec
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerQueryRequest \ QueryUnderstandingSpec \ QueryRephraserSpecMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ model_type |
int
Optional. Enabled query rephraser model type. If not set, it will use LARGE by default. |
getModelType
Optional. Enabled query rephraser model type. If not set, it will use LARGE by default.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ModelType. |
setModelType
Optional. Enabled query rephraser model type. If not set, it will use LARGE by default.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ModelType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|