public sealed class AnswerQueryRequest.Types.GroundingSpec : IMessage<AnswerQueryRequest.Types.GroundingSpec>, IEquatable<AnswerQueryRequest.Types.GroundingSpec>, IDeepCloneable<AnswerQueryRequest.Types.GroundingSpec>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class AnswerQueryRequest.Types.GroundingSpec.
Grounding specification.
Implements
IMessageAnswerQueryRequestTypesGroundingSpec, IEquatableAnswerQueryRequestTypesGroundingSpec, IDeepCloneableAnswerQueryRequestTypesGroundingSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
GroundingSpec()
public GroundingSpec()GroundingSpec(GroundingSpec)
public GroundingSpec(AnswerQueryRequest.Types.GroundingSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
AnswerQueryRequestTypesGroundingSpec |
Properties
FilteringLevel
public AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel FilteringLevel { get; set; }Optional. Specifies whether to enable the filtering based on grounding score and at what level.
| Property Value | |
|---|---|
| Type | Description |
AnswerQueryRequestTypesGroundingSpecTypesFilteringLevel |
|
IncludeGroundingSupports
public bool IncludeGroundingSupports { get; set; }Optional. Specifies whether to include grounding_supports in the answer.
The default value is false.
When this field is set to true, returned answer will have
grounding_score and will contain GroundingSupports for each claim.
| Property Value | |
|---|---|
| Type | Description |
bool |
|