Class QuarkusAiServiceContext
java.lang.Object
dev.langchain4j.service.AiServiceContext
io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
public class QuarkusAiServiceContext
extends dev.langchain4j.service.AiServiceContext
-
Field Summary
FieldsFields inherited from class dev.langchain4j.service.AiServiceContext
aiServiceClass, chatMemories, chatMemoryProvider, chatModel, moderationModel, retrievalAugmentor, streamingChatModel, toolExecutors, toolSpecifications -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called by theclosemethod of AiServices registered withRegisterAiServicewhen the bean's scope is closedvoidremoveChatMemoryIds(Object... ids) This is called by theremove(Object... ids)method of AiServices when a user manually requests removal of chat memories viaChatMemoryRemoverMethods inherited from class dev.langchain4j.service.AiServiceContext
chatMemory, hasChatMemory
-
Field Details
-
auditService
-
-
Constructor Details
-
QuarkusAiServiceContext
public QuarkusAiServiceContext() -
QuarkusAiServiceContext
-
-
Method Details
-
close
public void close()This is called by theclosemethod of AiServices registered withRegisterAiServicewhen the bean's scope is closed -
removeChatMemoryIds
This is called by theremove(Object... ids)method of AiServices when a user manually requests removal of chat memories viaChatMemoryRemover
-