Annotation Interface Embedding


@Target({METHOD,FIELD}) @Retention(RUNTIME) @Deprecated(forRemoval=true) public @interface Embedding
Deprecated, for removal: This API element is subject to removal in a future version.
In favor of EmbeddingVector to avoid naming collisions
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:
  • JdbcTypeCode
  • SqlTypes.VECTOR_BINARY
  • SqlTypes.VECTOR_INT8
  • SqlTypes.VECTOR_FLOAT16
  • SqlTypes.VECTOR_FLOAT32
  • SqlTypes.VECTOR_FLOAT64
  • SqlTypes.SPARSE_VECTOR_INT8
  • SqlTypes.SPARSE_VECTOR_FLOAT32
  • SqlTypes.SPARSE_VECTOR_FLOAT64