Package io.quarkiverse.langchain4j
package io.quarkiverse.langchain4j
-
ClassDescriptionAllows the application to manually control when a
ChatMemoryshould be removed from the underlyingChatMemoryStore.Used to make Quarkus aware of classes being used inAiServices.create(java.lang.Class<T>, dev.langchain4j.model.chat.ChatLanguageModel)Marker annotation to select a named model Configure thenameparameter to select the model instance.Used to create LangChain4j'sAiServicesin a declarative manner that the application can then use simply by using the class as a CDI bean.Marker that is used to tell Quarkus to use theChatLanguageModelthat has been configured as a CDI bean by any of the extensions providing such capability (such asquarkus-langchain4j-openaiandquarkus-langchain4j-hugging-face).Marker that is used to tell Quarkus to use the retriever that the user has configured as a CDI bean.Marker that is used to tell Quarkus to use theAuditServicethat the user has configured as a CDI bean.Marker that is used to tell Quarkus to use theModerationModelthat the user has configured as a CDI bean.Marker that is used to tell Quarkus to use theRetrievalAugmentorthat the user has configured as a CDI bean.Marker that is used when the user does not want any memory configured for the AiServiceMarker that is used to tell Quarkus to not use any retrieval augmentor even if a CDI bean implementing the `RetrievalAugmentor` interface exists.Marker class to indicate that no retriever should be usedWhen used on a method of an AiService annotated withRegisterAiService, the method will the tool classes provided byvalueinstead of the ones configured for the entire AiService (viaRegisterAiService.tools())