Class GoogleCloudDialogflowV2Agent
A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system. For more information about agents, see the Agent guide.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2Agent : IDirectResponseSchema
Properties
ApiVersion
Optional. API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version.
Declaration
[JsonProperty("apiVersion")]
public virtual string ApiVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
AvatarUri
Optional. The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
Declaration
[JsonProperty("avatarUri")]
public virtual string AvatarUri { get; set; }
Property Value
Type | Description |
---|---|
string |
ClassificationThreshold
Optional. To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
Declaration
[JsonProperty("classificationThreshold")]
public virtual float? ClassificationThreshold { get; set; }
Property Value
Type | Description |
---|---|
float? |
DefaultLanguageCode
Required. The default language of the agent as a language tag. See Language
Support for a list of the currently supported
language codes. This field cannot be set by the Update
method.
Declaration
[JsonProperty("defaultLanguageCode")]
public virtual string DefaultLanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Required. The name of this agent.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableLogging
Optional. Determines whether this agent should log conversation queries.
Declaration
[JsonProperty("enableLogging")]
public virtual bool? EnableLogging { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MatchMode
Optional. Determines how intents are detected from user queries.
Declaration
[JsonProperty("matchMode")]
public virtual string MatchMode { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The project of this agent. Format: projects/
.
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
SupportedLanguageCodes
Optional. The list of all languages supported by this agent (except for the default_language_code
).
Declaration
[JsonProperty("supportedLanguageCodes")]
public virtual IList<string> SupportedLanguageCodes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Tier
Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
Declaration
[JsonProperty("tier")]
public virtual string Tier { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeZone
Required. The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |