0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 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 \\ DataStoreTool

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ model_settings` | `Google\Cloud\Ces\V1\ModelSettings` Required. Configurations for the LLM model. |
| `↳ 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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Cloud\Ces\V1\ModelSettings|null` |   |

### hasModelSettings

### clearModelSettings

### setModelSettings

Required. 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 the rewriter is disabled.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setDisabled

Optional. Whether the rewriter is disabled.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |