Class ContentRetrieverErrorContext
java.lang.Object
dev.langchain4j.rag.content.retriever.listener.ContentRetrieverErrorContext
The content retriever error context.
It contains the error, corresponding
Query, ContentRetriever and attributes.
The attributes can be used to pass data between methods of a ContentRetrieverListener
or between multiple ContentRetrieverListeners.- Since:
- 1.11.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ContentRetrieverErrorContext
-
-
Method Details
-
builder
-
error
- Returns:
- The error that occurred.
-
query
-
contentRetriever
-
attributes
- Returns:
- The attributes map. It can be used to pass data between methods of a
ContentRetrieverListeneror between multipleContentRetrieverListeners.
-