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

