Class DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig
All Implemented Interfaces:
DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DataSchemaDetails.SearchStrategy

public static final class DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig extends com.google.protobuf.GeneratedMessage implements DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfigOrBuilder
 Filter on the confidence score. Only adds to index if the confidence
 score is higher than the threshold.
 Example data schema:
 key: "name-confidence-pair"
 type: CUSTOMIZED_STRUCT
 granularity: GRANULARITY_PARTITION_LEVEL
 customized_struct_config {
 field_schemas {
 key: "name"
 type: STRING
 granularity: GRANULARITY_PARTITION_LEVEL
 search_strategy {
 search_strategy_type: SMART_SEARCH
 confidence_score_index_config {
 field_path: "name-confidence-pair.score"
 threshold: 0.6
 }
 }
 }
 field_schemas {
 key: "score"
 type: FLOAT
 granularity: GRANULARITY_PARTITION_LEVEL
 }
 }
 This means only "name" with score > 0.6 will be indexed.
 
Protobuf type google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy.ConfidenceScoreIndexConfig
See Also: