4.34.0 (latest) 4.33.0 4.32.0 4.31.0 4.30.0 4.29.0 4.28.0 4.27.0 4.26.0 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0

    public sealed class HumanAgentAssistantConfig.Types.SuggestionQueryConfig : IMessage<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IEquatable<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IDeepCloneable<HumanAgentAssistantConfig.Types.SuggestionQueryConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class HumanAgentAssistantConfig.Types.SuggestionQueryConfig.

Config for suggestion query.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> HumanAgentAssistantConfig.Types.SuggestionQueryConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[HumanAgentAssistantConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.Types.md.txt)[SuggestionQueryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.Types.SuggestionQueryConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[HumanAgentAssistantConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.Types.md.txt)[SuggestionQueryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.Types.SuggestionQueryConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[HumanAgentAssistantConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.Types.md.txt)[SuggestionQueryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.HumanAgentAssistantConfig.Types.SuggestionQueryConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dialogflow.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.md.txt)

## Assembly

Google.Cloud.Dialogflow.V2.dll

## Constructors

### SuggestionQueryConfig()

    public SuggestionQueryConfig()

### SuggestionQueryConfig(SuggestionQueryConfig)

    public SuggestionQueryConfig(HumanAgentAssistantConfig.Types.SuggestionQueryConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `HumanAgentAssistantConfigTypesSuggestionQueryConfig` |

## Properties

### ConfidenceThreshold

    public float ConfidenceThreshold { get; set; }

Confidence threshold of query result.

Agent Assist gives each suggestion a score in the range \[0.0, 1.0\], based
on the relevance between the suggestion and the current conversation
context. A score of 0.0 has no relevance, while a score of 1.0 has high
relevance. Only suggestions with a score greater than or equal to the
value of this field are included in the results.

For a baseline model (the default), the recommended value is in the range
\[0.05, 0.1\].

For a custom model, there is no recommended value. Tune this value by
starting from a very low value and slowly increasing until you have
desired results.

If this field is not set, it defaults to 0.0, which means that all
suggestions are returned.

Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE,
KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### ContextFilterSettings

    public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.ContextFilterSettings ContextFilterSettings { get; set; }

Determines how recent conversation context is filtered when generating
suggestions. If unspecified, no messages will be dropped.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HumanAgentAssistantConfigTypesSuggestionQueryConfigTypesContextFilterSettings` |   |

### ContextSize

    public int ContextSize { get; set; }

Optional. The number of recent messages to include in the context.
Supported features: KNOWLEDGE_ASSIST.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### DialogflowQuerySource

    public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DialogflowQuerySource DialogflowQuerySource { get; set; }

Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HumanAgentAssistantConfigTypesSuggestionQueryConfigTypesDialogflowQuerySource` |   |

### DocumentQuerySource

    public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DocumentQuerySource DocumentQuerySource { get; set; }

Query from knowledge base document. It is used by:
SMART_REPLY, SMART_COMPOSE.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HumanAgentAssistantConfigTypesSuggestionQueryConfigTypesDocumentQuerySource` |   |

### KnowledgeBaseQuerySource

    public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.KnowledgeBaseQuerySource KnowledgeBaseQuerySource { get; set; }

Query from knowledgebase. It is used by:
ARTICLE_SUGGESTION, FAQ.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HumanAgentAssistantConfigTypesSuggestionQueryConfigTypesKnowledgeBaseQuerySource` |   |

### MaxResults

    public int MaxResults { get; set; }

Maximum number of results to return. Currently, if unset, defaults to 10.
And the max number is 20.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### QuerySourceCase

    public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.QuerySourceOneofCase QuerySourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HumanAgentAssistantConfigTypesSuggestionQueryConfigQuerySourceOneofCase` |   |

### Sections

    public HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.Sections Sections { get; set; }

Optional. The customized sections chosen to return when requesting a
summary of a conversation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HumanAgentAssistantConfigTypesSuggestionQueryConfigTypesSections` |   |