Annotation Interface EmbeddingVector
Marks the persistent attribute of an
@Entity that represents
the embedding vector.
By default, a 32-bit floating point vector is assumed.
To override the vector type, annotate e.g. @JdbcTypeCode(SqlTypes.VECTOR_FLOAT16).- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines the distance function to use for vector search on the annotated attribute.
-
Element Details
-
distance
DistanceFunction distanceDefines the distance function to use for vector search on the annotated attribute.- Default:
COSINE
-