public static interface AnswerQueryRequest.GroundingSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AnswerQueryRequest.GroundingSpec.FilteringLevel |
getFilteringLevel()
Optional.
|
int |
getFilteringLevelValue()
Optional.
|
boolean |
getIncludeGroundingSupports()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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];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];
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];
Copyright © 2025 Google LLC. All rights reserved.