Class Agent (1.8.0)

Agent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.

After you create an agent, you can add Intents, [Entity Types][], Flows, Fulfillments, Webhooks, and so on to manage the conversation flows..


name str
The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/.
display_name str
Required. The human-readable name of the agent, unique within the location.
default_language_code str
Required. Immutable. The default language of the agent as a language tag. See `Language Support
supported_language_codes Sequence[str]
The list of all languages supported by the agent (except for the default_language_code).
time_zone str
Required. The time zone of the agent from the `time zone database
description str
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
avatar_uri str
The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted `Web Demo
Speech recognition related settings.
start_flow str
Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/.
security_settings str
Name of the SecuritySettings reference for the agent. Format: projects/.
enable_stackdriver_logging bool
Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
enable_spell_correction bool
Indicates if automatic spell correction is enabled in detect intent requests.
Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.