Class ContentRetrieverResponseContext
java.lang.Object
dev.langchain4j.rag.content.retriever.listener.ContentRetrieverResponseContext
The content retriever response context.
It contains retrieved
Contents, 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
ConstructorsConstructorDescription -
Method Summary
-
Constructor Details
-
ContentRetrieverResponseContext
-
-
Method Details
-
builder
-
contents
-
query
-
contentRetriever
-
attributes
- Returns:
- The attributes map. It can be used to pass data between methods of a
ContentRetrieverListeneror between multipleContentRetrieverListeners.
-