Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ConversationModelConfig.
Custom conversation models used in agent assist feature.
Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig
Namespace
Google \ Cloud \ Dialogflow \ V2 \ HumanAgentAssistantConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ model |
string
Conversation model resource name. Format: |
↳ baseline_model_version |
string
Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0 |
getModel
Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>
.
Returns | |
---|---|
Type | Description |
string |
setModel
Conversation model resource name. Format: projects/<Project
ID>/conversationModels/<Model ID>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBaselineModelVersion
Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model:
- 0.9
- 1.0 (default) Summarization baseline model:
- 1.0
Returns | |
---|---|
Type | Description |
string |
setBaselineModelVersion
Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model:
- 0.9
- 1.0 (default) Summarization baseline model:
- 1.0
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |