public sealed class SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec : IMessage<SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec>, IEquatable<SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec>, IDeepCloneable<SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.
Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
Implements
IMessageSearchKnowledgeRequestTypesSearchConfigTypesBoostSpecsTypesBoostSpec, IEquatableSearchKnowledgeRequestTypesSearchConfigTypesBoostSpecsTypesBoostSpec, IDeepCloneableSearchKnowledgeRequestTypesSearchConfigTypesBoostSpecsTypesBoostSpec, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
BoostSpec()
public BoostSpec()
BoostSpec(BoostSpec)
public BoostSpec(SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec other)
Parameter | |
---|---|
Name | Description |
other |
SearchKnowledgeRequestTypesSearchConfigTypesBoostSpecsTypesBoostSpec |
Properties
ConditionBoostSpecs
public RepeatedField<SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec> ConditionBoostSpecs { get; }
Optional. Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSearchKnowledgeRequestTypesSearchConfigTypesBoostSpecsTypesBoostSpecTypesConditionBoostSpec |