Interface ChatMemoryBuildConfig
@ConfigRoot(phase=BUILD_TIME)
@ConfigMapping(prefix="quarkus.langchain4j.chat-memory")
public interface ChatMemoryBuildConfig
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiontype()Configure the type ofChatMemorythat will be used by default by the defaultChatMemoryProviderbean.
-
Method Details
-
type
Configure the type ofChatMemorythat will be used by default by the defaultChatMemoryProviderbean.The extension provides a default bean that configures
ChatMemoryProviderfor use with AI services registered withRegisterAiService. This bean depends uses thequarkus.langchain4j.chat-memoryconfiguration to set things up while also depending on the presence of a bean of typeChatMemoryStore(for which the extension also provides a default in the form ofInMemoryChatMemoryStore).If
token-windowis used, then the application must also provide a bean of typeTokenizer.Users can choose to provide their own
ChatMemoryStorebean or even their ownChatMemoryProviderbean if full control over the details is needed.
-