Class EmbeddingStoreErrorContext<Embedded>
java.lang.Object
dev.langchain4j.store.embedding.listener.EmbeddingStoreErrorContext<Embedded>
The embedding store error context.
It contains the error, corresponding request details, and attributes.
The attributes can be used to pass data between methods of an
EmbeddingStoreListener
or between multiple EmbeddingStoreListeners.- Since:
- 1.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddingStoreErrorContext(Throwable error, EmbeddingStoreRequestContext<Embedded> requestContext, Map<Object, Object> attributes) -
Method Summary
-
Constructor Details
-
EmbeddingStoreErrorContext
-
-
Method Details
-
error
- Returns:
- The error that occurred.
-
embeddingStore
-
requestContext
- Returns:
- The corresponding request context.
-
attributes
- Returns:
- The attributes map. It can be used to pass data between methods of an
EmbeddingStoreListeneror between multipleEmbeddingStoreListeners.
-