Class DocumentEmbeddingRequest

java.lang.Object
org.springframework.ai.embedding.DocumentEmbeddingRequest
All Implemented Interfaces:
ModelRequest<List<Document>>

public class DocumentEmbeddingRequest extends Object implements ModelRequest<List<Document>>
Represents a request to embed a list of documents.
Since:
1.0.0
Author:
Christian Tzolov, Thomas Vitale
  • Constructor Details

    • DocumentEmbeddingRequest

      public DocumentEmbeddingRequest(Document... inputs)
    • DocumentEmbeddingRequest

      public DocumentEmbeddingRequest(List<Document> inputs)
    • DocumentEmbeddingRequest

      public DocumentEmbeddingRequest(List<Document> inputs, EmbeddingOptions options)
  • Method Details