Google Cloud Dialogflow V2 Client - Class ConversationModelConfig (1.7.2)

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 \ HumanAgentAssistantConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ model string

Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.

↳ 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
TypeDescription
string

setModel

Conversation model resource name. Format: projects/<Project ID>/conversationModels/<Model ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this