Interface ChatMemoryConfig


@ConfigRoot(phase=RUN_TIME) @ConfigMapping(prefix="quarkus.langchain4j.chat-memory") public interface ChatMemoryConfig
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Configures aspects of the MessageWindowChatMemory which is the default ChatMemory setup by the extension.
    Configures aspects of the TokenWindowChatMemory which is enabled if the quarkus.langchain4j.chat-memory.type configuration property is set to token-window and if no nd no bean of type ChatMemoryProvider is present in the application.
  • Method Details

    • memoryWindow

      Configures aspects of the MessageWindowChatMemory which is the default ChatMemory setup by the extension. This only has effect if quarkus.langchain4j.chat-memory.type has not been configured (or is configured to memory-window) and no bean of type ChatMemoryProvider is present in the application.
    • tokenWindow

      Configures aspects of the TokenWindowChatMemory which is enabled if the quarkus.langchain4j.chat-memory.type configuration property is set to token-window and if no nd no bean of type ChatMemoryProvider is present in the application.