Class RequestScopeStateDefaultMemoryIdProvider
java.lang.Object
io.quarkiverse.langchain4j.runtime.RequestScopeStateDefaultMemoryIdProvider
- All Implemented Interfaces:
DefaultMemoryIdProvider
public class RequestScopeStateDefaultMemoryIdProvider
extends Object
implements DefaultMemoryIdProvider
This implementation uses the state of the request scope as the default value
-
Field Summary
Fields inherited from interface io.quarkiverse.langchain4j.spi.DefaultMemoryIdProvider
DEFAULT_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RequestScopeStateDefaultMemoryIdProvider
public RequestScopeStateDefaultMemoryIdProvider()
-
-
Method Details
-
priority
public int priority()- Specified by:
priority
in interfaceDefaultMemoryIdProvider
-
getMemoryId
- Specified by:
getMemoryId
in interfaceDefaultMemoryIdProvider
-