Google Cloud Dialogflow Cx V3 Client - Class KnowledgeConnectorSettings (0.2.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class KnowledgeConnectorSettings.

Settings for knowledge connector. These parameters are used for LLM prompt like "You are

Generated from protobuf message google.cloud.dialogflow.cx.v3.GenerativeSettings.KnowledgeConnectorSettings

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ GenerativeSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ business string

Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.

↳ agent string

Name of the virtual agent. Used for LLM prompt. Can be left empty.

↳ agent_identity string

Identity of the agent, e.g. "virtual agent", "AI assistant".

↳ business_description string

Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".

↳ agent_scope string

Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".

getBusiness

Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.

Returns
TypeDescription
string

setBusiness

Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgent

Name of the virtual agent. Used for LLM prompt. Can be left empty.

Returns
TypeDescription
string

setAgent

Name of the virtual agent. Used for LLM prompt. Can be left empty.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgentIdentity

Identity of the agent, e.g. "virtual agent", "AI assistant".

Returns
TypeDescription
string

setAgentIdentity

Identity of the agent, e.g. "virtual agent", "AI assistant".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBusinessDescription

Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".

Returns
TypeDescription
string

setBusinessDescription

Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgentScope

Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".

Returns
TypeDescription
string

setAgentScope

Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".

Parameter
NameDescription
var string
Returns
TypeDescription
$this