public interface ScoredVectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
This is the vector's unique id.
|
com.google.protobuf.ByteString |
getIdBytes()
This is the vector's unique id.
|
com.google.protobuf.Struct |
getMetadata()
This is the metadata, if it is requested.
|
com.google.protobuf.StructOrBuilder |
getMetadataOrBuilder()
This is the metadata, if it is requested.
|
float |
getScore()
This is a measure of similarity between this vector and the query vector.
|
float |
getValues(int index)
This is the vector data, if it is requested.
|
int |
getValuesCount()
This is the vector data, if it is requested.
|
java.util.List<java.lang.Float> |
getValuesList()
This is the vector data, if it is requested.
|
boolean |
hasMetadata()
This is the metadata, if it is requested.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getId()
This is the vector's unique id.
string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }com.google.protobuf.ByteString getIdBytes()
This is the vector's unique id.
string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }float getScore()
This is a measure of similarity between this vector and the query vector. The higher the score, the more they are similar.
float score = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }java.util.List<java.lang.Float> getValuesList()
This is the vector data, if it is requested.
repeated float values = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }int getValuesCount()
This is the vector data, if it is requested.
repeated float values = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }float getValues(int index)
This is the vector data, if it is requested.
repeated float values = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }index - The index of the element to return.boolean hasMetadata()
This is the metadata, if it is requested.
.google.protobuf.Struct metadata = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }com.google.protobuf.Struct getMetadata()
This is the metadata, if it is requested.
.google.protobuf.Struct metadata = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
This is the metadata, if it is requested.
.google.protobuf.Struct metadata = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }