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.Embedding response object.Common AI provider metadata returned in an embedding response.Token count based strategy implementation forBatchingStrategy
.