Google Cloud Discovery Engine V1 Client - Class AgentCreationConfig (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AgentCreationConfig.

Configurations for generating a Dialogflow agent.

Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.

Generated from protobuf message google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Engine \ ChatEngineConfig

Methods

__construct

Constructor.

Parameters
Name Description
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.

↳ default_language_code string

Required. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes.

↳ time_zone string

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

↳ location string

Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.

getBusiness

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

Returns
Type Description
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
Name Description
var string
Returns
Type Description
$this

getDefaultLanguageCode

Required. The default language of the agent as a language tag.

See Language Support for a list of the currently supported language codes.

Returns
Type Description
string

setDefaultLanguageCode

Required. The default language of the agent as a language tag.

See Language Support for a list of the currently supported language codes.

Parameter
Name Description
var string
Returns
Type Description
$this

getTimeZone

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

Returns
Type Description
string

setTimeZone

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

Parameter
Name Description
var string
Returns
Type Description
$this

getLocation

Agent location for Agent creation, supported values: global/us/eu.

If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.

Returns
Type Description
string

setLocation

Agent location for Agent creation, supported values: global/us/eu.

If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.

Parameter
Name Description
var string
Returns
Type Description
$this