Class ContentRetrieverRequestContext
java.lang.Object
dev.langchain4j.rag.content.retriever.listener.ContentRetrieverRequestContext
The content retriever request context.
It contains the
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
-
ContentRetrieverRequestContext
-
-
Method Details
-
builder
-
query
-
contentRetriever
-
attributes
- Returns:
- The attributes map. It can be used to pass data between methods of a
ContentRetrieverListeneror between multipleContentRetrieverListeners.
-