Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class LlmModelSettings.
Settings for LLM models.
Generated from protobuf message google.cloud.dialogflow.cx.v3.LlmModelSettings
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ model |
string
The selected LLM model. |
↳ prompt_text |
string
The custom prompt to use. |
getModel
The selected LLM model.
| Returns | |
|---|---|
| Type | Description |
string |
|
setModel
The selected LLM model.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPromptText
The custom prompt to use.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPromptText
The custom prompt to use.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|