ImageEmbedding

org.llm4s.imageprocessing.ImageEmbedding
case class ImageEmbedding(vector: Array[Float], dimensions: Int, model: String, imagePath: String, metadata: ImageMetadata)

Image embeddings for similarity search and multimodal operations.

Attributes

Source
ImageModels.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Calculate cosine similarity with another embedding.

Calculate cosine similarity with another embedding.

Attributes

Source
ImageModels.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product