Class WildFlyChatMemoryFactory

java.lang.Object
org.wildfly.extension.ai.injection.WildFlyChatMemoryFactory
All Implemented Interfaces:
io.smallrye.llm.core.langchain4j.core.config.spi.ChatMemoryFactory

public class WildFlyChatMemoryFactory extends Object implements io.smallrye.llm.core.langchain4j.core.config.spi.ChatMemoryFactory
  • Constructor Details

    • WildFlyChatMemoryFactory

      public WildFlyChatMemoryFactory()
  • Method Details

    • getChatMemory

      public dev.langchain4j.memory.ChatMemory getChatMemory(jakarta.enterprise.inject.Instance<Object> lookup, int size) throws Exception
      Specified by:
      getChatMemory in interface io.smallrye.llm.core.langchain4j.core.config.spi.ChatMemoryFactory
      Throws:
      Exception