Package org.springframework.ai.embedding
package org.springframework.ai.embedding
-
ClassDescriptionAbstract implementation of the
EmbeddingModel
interface that provides dimensions calculation caching.Contract for batchingDocument
objects so that the call to embed them could be optimized.EmbeddingModel is a generic interface for embedding models.Represents a request to embed a list of documents.Represents a single embedding vector.EmbeddingModel is a generic interface for embedding models.Options for embedding models.Builder forEmbeddingOptions
.Request to embed a list of input instructions.Embedding response object.Common AI provider metadata returned in an embedding response.Metadata associated with the embedding result.Token count based strategy implementation forBatchingStrategy
.