Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class RewriterModelCallSignals.
Diagnostic info related to the rewriter model call.
Generated from protobuf message google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.RewriterModelCallSignals
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ DataStoreConnectionSignalsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rendered_prompt |
string
Prompt as sent to the model. |
↳ model_output |
string
Output of the generative model. |
↳ model |
string
Name of the generative model. For example, "gemini-ultra", "gemini-pro", "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown. |
getRenderedPrompt
Prompt as sent to the model.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRenderedPrompt
Prompt as sent to the model.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getModelOutput
Output of the generative model.
| Returns | |
|---|---|
| Type | Description |
string |
|
setModelOutput
Output of the generative model.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getModel
Name of the generative model. For example, "gemini-ultra", "gemini-pro", "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
| Returns | |
|---|---|
| Type | Description |
string |
|
setModel
Name of the generative model. For example, "gemini-ultra", "gemini-pro", "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|