Package com.google.cloud.aiplatform.v1
Interface RetrievalMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RetrievalMetadata,RetrievalMetadata.Builder
@Generated
public interface RetrievalMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getGoogleSearchDynamicRetrievalScore
float getGoogleSearchDynamicRetrievalScore()Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.
float google_search_dynamic_retrieval_score = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The googleSearchDynamicRetrievalScore.
-