Class EmbeddingModelRequestContext
java.lang.Object
dev.langchain4j.model.embedding.listener.EmbeddingModelRequestContext
The embedding model request context.
It contains the input, the
EmbeddingModel and attributes.
The attributes can be used to pass data between methods of an EmbeddingModelListener
or between multiple EmbeddingModelListeners.- Since:
- 1.11.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EmbeddingModelRequestContext
-
-
Method Details
-
builder
-
textSegments
-
embeddingModel
-
attributes
- Returns:
- The attributes map. It can be used to pass data between methods of an
EmbeddingModelListeneror between multipleEmbeddingModelListeners.
-