Package io.quarkiverse.langchain4j
Class RegisterAiService.BeanChatMemoryProviderSupplier
java.lang.Object
io.quarkiverse.langchain4j.RegisterAiService.BeanChatMemoryProviderSupplier
- All Implemented Interfaces:
Supplier<dev.langchain4j.memory.chat.ChatMemoryProvider>
- Enclosing class:
- RegisterAiService
public static final class RegisterAiService.BeanChatMemoryProviderSupplier
extends Object
implements Supplier<dev.langchain4j.memory.chat.ChatMemoryProvider>
Marker that is used to tell Quarkus to use the retriever that the user has configured as a CDI bean.
Be default, Quarkus configures an
ChatMemoryProvider by using an InMemoryChatMemoryStore
as the backing store while using MessageWindowChatMemory with the value of
configuration property quarkus.langchain4j.chat-memory.memory-window.max-messages (which default to 10)
as a way of limiting the number of messages in each chat.-
Constructor Summary
Constructors -
Method Summary