Reference documentation and code samples for the Google Cloud Ces V1 Client class SummarizationConfig.
Summarization configuration.
Generated from protobuf message google.cloud.ces.v1.DataStoreTool.SummarizationConfig
Namespace
Google \ Cloud \ Ces \ V1 \ DataStoreToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ model_settings |
Google\Cloud\Ces\V1\ModelSettings
Optional. Configurations for the LLM model. |
↳ prompt |
string
Optional. The prompt definition. If not set, default prompt will be used. |
↳ disabled |
bool
Optional. Whether summarization is disabled. |
getModelSettings
Optional. Configurations for the LLM model.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Ces\V1\ModelSettings|null |
|
hasModelSettings
clearModelSettings
setModelSettings
Optional. Configurations for the LLM model.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Ces\V1\ModelSettings
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrompt
Optional. The prompt definition. If not set, default prompt will be used.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPrompt
Optional. The prompt definition. If not set, default prompt will be used.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisabled
Optional. Whether summarization is disabled.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setDisabled
Optional. Whether summarization is disabled.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|