public static interface AnswerQueryRequest.GroundingSpecOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFilteringLevel()
public abstract AnswerQueryRequest.GroundingSpec.FilteringLevel getFilteringLevel()
Optional. Specifies whether to enable the filtering based on grounding score and at what level.
.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.GroundingSpec.FilteringLevel filtering_level = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AnswerQueryRequest.GroundingSpec.FilteringLevel |
The filteringLevel. |
getFilteringLevelValue()
public abstract int getFilteringLevelValue()
Optional. Specifies whether to enable the filtering based on grounding score and at what level.
.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.GroundingSpec.FilteringLevel filtering_level = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for filteringLevel. |
getIncludeGroundingSupports()
public abstract boolean getIncludeGroundingSupports()
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.
bool include_grounding_supports = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The includeGroundingSupports. |