Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(ChatMessage) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.NoopChatMemory
- add(String, String) - Method in class io.quarkiverse.langchain4j.runtime.StructuredPromptsRecorder
- add(String, String, String) - Method in class io.quarkiverse.langchain4j.runtime.devui.EmbeddingStoreJsonRPCService
- addApplicationToLLMMessage(ToolExecutionResultMessage) - Method in class io.quarkiverse.langchain4j.audit.Audit
-
Invoked with a response from an LLM.
- addLLMToApplicationMessage(Response<AiMessage>) - Method in class io.quarkiverse.langchain4j.audit.Audit
-
Invoked with a response from an LLM.
- addRelevantDocument(List<TextSegment>, UserMessage) - Method in class io.quarkiverse.langchain4j.audit.Audit
-
Invoked if a relevant document was added to the messages to be sent to the LLM
- AI - Enum constant in enum class io.quarkiverse.langchain4j.runtime.devui.json.MessageType
- AiMessageDeserializer - Class in io.quarkiverse.langchain4j.runtime.jackson
- AiMessageDeserializer() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.AiMessageDeserializer
- AiMessageMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- AiMessageMixin(List<ToolExecutionRequest>) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.AiMessageMixin
- AiServiceClassCreateInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceClassCreateInfo(Map<String, AiServiceMethodCreateInfo>, String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceClassCreateInfo
-
Creates an instance of a
AiServiceClassCreateInforecord class. - AiServiceMethodCreateInfo - Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo(String, String, Optional<AiServiceMethodCreateInfo.TemplateInfo>, AiServiceMethodCreateInfo.UserMessageInfo, Optional<Integer>, boolean, String, Optional<AiServiceMethodCreateInfo.MetricsTimedInfo>, Optional<AiServiceMethodCreateInfo.MetricsCountedInfo>, Optional<AiServiceMethodCreateInfo.SpanInfo>, AiServiceMethodCreateInfo.ResponseSchemaInfo, List<String>, List<String>, List<String>) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- AiServiceMethodCreateInfo.MetricsCountedInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo.MetricsCountedInfo.Builder - Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo.MetricsTimedInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo.MetricsTimedInfo.Builder - Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo.ResponseSchemaInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo.SpanInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo.TemplateInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodCreateInfo.UserMessageInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodImplementationSupport - Class in io.quarkiverse.langchain4j.runtime.aiservice
-
Provides the basic building blocks that the generated Interface methods call into
- AiServiceMethodImplementationSupport() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport
- AiServiceMethodImplementationSupport.Input - Class in io.quarkiverse.langchain4j.runtime.aiservice
- AiServiceMethodImplementationSupport.Wrapper - Interface in io.quarkiverse.langchain4j.runtime.aiservice
- AiServicesRecorder - Class in io.quarkiverse.langchain4j.runtime
- AiServicesRecorder() - Constructor for class io.quarkiverse.langchain4j.runtime.AiServicesRecorder
- argumentMapperClassName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Returns the value of the
argumentMapperClassNamerecord component. - argumentMapperClassName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Returns the value of the
argumentMapperClassNamerecord component. - Audit - Class in io.quarkiverse.langchain4j.audit
-
Abstract class to be implemented in order to keep track of whatever information is useful for the application auditing.
- Audit(Audit.CreateInfo) - Constructor for class io.quarkiverse.langchain4j.audit.Audit
-
Invoked by
AuditServicewhen an AiService is invoked - Audit.CreateInfo - Record Class in io.quarkiverse.langchain4j.audit
-
Information about the AiService that is being audited
- auditService - Variable in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
- auditService(AuditService) - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
- AuditService - Interface in io.quarkiverse.langchain4j.audit
-
Allow applications to audit parts of the interactions with the LLM that interest them
- auditServiceClassSupplierName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
auditServiceClassSupplierNamerecord component. - auditServiceSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Configures the way to obtain the
AuditServiceto use. - augmentationResult() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailParams
- augmentationResult() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrail.InputGuardrailParams
-
Returns the value of the
augmentationResultrecord component. - augmentationResult() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
-
Returns the value of the
augmentationResultrecord component.
B
- BeanChatLanguageModelSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanChatLanguageModelSupplier
- BeanChatMemoryProviderSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanChatMemoryProviderSupplier
- BeanIfExistsAuditServiceSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsAuditServiceSupplier
- BeanIfExistsModerationModelSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsModerationModelSupplier
- BeanIfExistsRetrievalAugmentorSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsRetrievalAugmentorSupplier
- BeanStreamingChatLanguageModelSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanStreamingChatLanguageModelSupplier
- beforeParsing(ParserHelper) - Method in class io.quarkiverse.langchain4j.QuarkusPromptTemplateFactory.MustacheTemplateVariableStyleParserHook
- build() - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
- build() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo.Builder
- build() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo.Builder
- Builder(String) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo.Builder
- Builder(String) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo.Builder
C
- cause() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult.Failure
- chat(String, boolean) - Method in class io.quarkiverse.langchain4j.runtime.devui.ChatJsonRPCService
- ChatJsonRPCService - Class in io.quarkiverse.langchain4j.runtime.devui
- ChatJsonRPCService(List<ChatLanguageModel>, List<StreamingChatLanguageModel>, List<Supplier<RetrievalAugmentor>>, List<RetrievalAugmentor>, ChatMemoryProvider, QuarkusToolExecutorFactory) - Constructor for class io.quarkiverse.langchain4j.runtime.devui.ChatJsonRPCService
- chatLanguageModelSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Configures the way to obtain the
ChatLanguageModelto use. - ChatMemoryConfig - Interface in io.quarkiverse.langchain4j.runtime.aiservice
- ChatMemoryConfig.MemoryWindow - Interface in io.quarkiverse.langchain4j.runtime.aiservice
- ChatMemoryConfig.TokenWindow - Interface in io.quarkiverse.langchain4j.runtime.aiservice
- chatMemoryProviderSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Configures the way to obtain the
ChatMemoryProvider. - chatMemoryProviderSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
chatMemoryProviderSupplierClassNamerecord component. - ChatMemoryRecorder - Class in io.quarkiverse.langchain4j.runtime
- ChatMemoryRecorder() - Constructor for class io.quarkiverse.langchain4j.runtime.ChatMemoryRecorder
- ChatMemoryRemovable - Interface in io.quarkiverse.langchain4j.runtime.aiservice
-
Interface implemented by each AiService that allows the removal of chat memories from an AiService
- ChatMemoryRemover - Class in io.quarkiverse.langchain4j
-
Allows the application to manually control when a
ChatMemoryshould be removed from the underlyingChatMemoryStore. - chatMemorySeeder - Variable in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
- chatMemorySeeder(ChatMemorySeeder) - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
- ChatMemorySeeder - Interface in io.quarkiverse.langchain4j.runtime.aiservice
-
Provides a way for an AiService to get its chat memory seeded.
- ChatMemorySeeder.Context - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- chatMemorySeederClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
chatMemorySeederClassNamerecord component. - chatMemoryStore() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.InMemoryChatMemoryStoreProducer
- ChatMessageMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ChatMessageMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ChatMessageMixin
- ChatMessagePojo - Class in io.quarkiverse.langchain4j.runtime.devui.json
- ChatMessagePojo() - Constructor for class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
- ChatMessageTemplateExtension - Class in io.quarkiverse.langchain4j.runtime.template
- ChatMessageTemplateExtension() - Constructor for class io.quarkiverse.langchain4j.runtime.template.ChatMessageTemplateExtension
- chatModelName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
chatModelNamerecord component. - ChatResultPojo - Class in io.quarkiverse.langchain4j.runtime.devui.json
- ChatResultPojo(List<ChatMessagePojo>, String) - Constructor for class io.quarkiverse.langchain4j.runtime.devui.json.ChatResultPojo
- cleanUp(ShutdownContext) - Method in class io.quarkiverse.langchain4j.runtime.LangChain4jRecorder
- clear() - Static method in class io.quarkiverse.langchain4j.QuarkusPromptTemplateFactory
- clear() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.NoopChatMemory
- clearMetadata() - Static method in class io.quarkiverse.langchain4j.runtime.AiServicesRecorder
- clearMetadata() - Static method in class io.quarkiverse.langchain4j.runtime.ToolsRecorder
- clearTemplates() - Static method in class io.quarkiverse.langchain4j.runtime.StructuredPromptsRecorder
- close() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
-
This is called by the
closemethod of AiServices registered withRegisterAiServicewhen the bean's scope is closed - CLOSE_TASK - Static variable in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- commit() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.NoopChatMemory
- complete(Audit) - Method in interface io.quarkiverse.langchain4j.audit.AuditService
-
Invoked just before the AiService method returns its result - or throws an exception.
- Context(Object, String, String, String) - Constructor for record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Creates an instance of a
Contextrecord class. - Context(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder.Context
-
Creates an instance of a
Contextrecord class. - ContextMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ContextMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ContextMixin
- create() - Method in class io.quarkiverse.langchain4j.QuarkusChatMessageJsonCodecFactory
- create() - Method in class io.quarkiverse.langchain4j.QuarkusInMemoryEmbeddingJsonCodecFactory
- create() - Method in class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory
- create(AiServiceContext) - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory
- create(PromptTemplateFactory.Input) - Method in class io.quarkiverse.langchain4j.QuarkusPromptTemplateFactory
- create(Audit.CreateInfo) - Method in interface io.quarkiverse.langchain4j.audit.AuditService
-
Invoked when an AiService method is invoked and before any interaction with the LLM is performed.
- create(QuarkusToolExecutor.Context) - Method in class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutorFactory
- CreatedAware - Annotation Interface in io.quarkiverse.langchain4j
-
Used to make Quarkus aware of classes being used in
AiServices.create(java.lang.Class<T>, dev.langchain4j.model.chat.ChatLanguageModel) - createDeclarativeAiService(DeclarativeAiServiceCreateInfo) - Method in class io.quarkiverse.langchain4j.runtime.AiServicesRecorder
- CreateInfo(String, String, Object[], Optional<Integer>) - Constructor for record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Creates an instance of a
CreateInforecord class.
D
- DeclarativeAiServiceBeanDestroyer - Class in io.quarkiverse.langchain4j.runtime.aiservice
- DeclarativeAiServiceBeanDestroyer() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceBeanDestroyer
- DeclarativeAiServiceCreateInfo - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
- DeclarativeAiServiceCreateInfo(String, String, String, List<String>, String, String, String, String, String, String, String, String, boolean, boolean) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Creates an instance of a
DeclarativeAiServiceCreateInforecord class. - DEFAULT_NAME - Static variable in class io.quarkiverse.langchain4j.runtime.NamedConfigUtil
- description() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Returns the value of the
descriptionrecord component. - description() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns the value of the
descriptionrecord component. - deserialize(JsonParser, DeserializationContext) - Method in class io.quarkiverse.langchain4j.runtime.jackson.AiMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class io.quarkiverse.langchain4j.runtime.jackson.InMemoryEmbeddingStoreDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class io.quarkiverse.langchain4j.runtime.jackson.TextContentDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class io.quarkiverse.langchain4j.runtime.jackson.UserMessageDeserializer
- deserialize(ToolParametersObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolParametersObjectSubstitution
- deserialize(ToolSpecificationObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution
- destroy(AutoCloseable, CreationalContext<AutoCloseable>, Map<String, Object>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceBeanDestroyer
E
- EmbeddingMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- EmbeddingMixin(float[]) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.EmbeddingMixin
- EmbeddingStoreJsonRPCService - Class in io.quarkiverse.langchain4j.runtime.devui
- EmbeddingStoreJsonRPCService() - Constructor for class io.quarkiverse.langchain4j.runtime.devui.EmbeddingStoreJsonRPCService
- enabled() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Returns the value of the
enabledrecord component. - equals(Object) - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrail.InputGuardrailParams
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceClassCreateInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.SpanInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Indicates whether some other object is "equal to" this one.
- execute(ToolExecutionRequest, Object) - Method in class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor
- extraTags() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Returns the value of the
extraTagsrecord component. - extraTags() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns the value of the
extraTagsrecord component.
F
- failure(String) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
- failure(String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- failure(String, Throwable) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
- failure(String, Throwable) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- failure(List<? extends GuardrailResult.Failure>) - Static method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
- failure(List<? extends GuardrailResult.Failure>) - Static method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
- FAILURE - Enum constant in enum class io.quarkiverse.langchain4j.guardrails.GuardrailResult.Result
-
A failed validation not preventing the subsequent validations eventually registered to be evaluated.
- failures() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
- failures() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
-
Returns the value of the
failuresrecord component. - failures() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
-
Returns the value of the
failuresrecord component. - fatal(String) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
- fatal(String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- fatal(String, Throwable) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
- fatal(String, Throwable) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- FATAL - Enum constant in enum class io.quarkiverse.langchain4j.guardrails.GuardrailResult.Result
-
A fatal failed validation, blocking the evaluation of any other validations eventually registered.
- findRelevant(String) - Method in class io.quarkiverse.langchain4j.RegisterAiService.NoRetriever
- findRelevant(String, String) - Method in class io.quarkiverse.langchain4j.runtime.devui.EmbeddingStoreJsonRPCService
- firstOrDefault(T, Optional<T>...) - Static method in class io.quarkiverse.langchain4j.runtime.OptionalUtil
- fromMessage(ChatMessage) - Static method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
- fromMethodParam(int, Optional<Integer>) - Static method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
- fromMethodParam(Integer, Map<String, Integer>) - Static method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
- fromTemplate(AiServiceMethodCreateInfo.TemplateInfo, Optional<Integer>) - Static method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
- fromText(String, Map<String, Integer>) - Static method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
G
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.BeanChatLanguageModelSupplier
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.BeanChatMemoryProviderSupplier
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsAuditServiceSupplier
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsModerationModelSupplier
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsRetrievalAugmentorSupplier
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.BeanStreamingChatLanguageModelSupplier
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.NoChatMemoryProviderSupplier
- get() - Method in class io.quarkiverse.langchain4j.RegisterAiService.NoRetrievalAugmentorSupplier
- get(String) - Static method in class io.quarkiverse.langchain4j.runtime.StructuredPromptsRecorder
- getAiServiceMethodCreateInfo(String, String) - Static method in class io.quarkiverse.langchain4j.runtime.AiServicesRecorder
- getArguments() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionRequestPojo
- getAuthorization(ModelAuthProvider.Input) - Method in interface io.quarkiverse.langchain4j.auth.ModelAuthProvider
- getConfigValue(String) - Method in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- getCreateInfo() - Method in class io.quarkiverse.langchain4j.audit.Audit
- getDescription() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution.Serialized
- getError() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatResultPojo
- getFirstFailureException() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
- getGuardrailsMaxRetry() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getHistory() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatResultPojo
- getId() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionRequestPojo
- getId() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionResultPojo
- getInputGuardrailsClasses() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getInputGuardrailsClassNames() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getInterfaceName() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getMemoryId() - Method in class io.quarkiverse.langchain4j.runtime.RequestScopeStateDefaultMemoryIdProvider
- getMemoryIdParamPosition() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getMemoryIdParamPosition() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolInvoker.MethodMetadata
- getMessage() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
- getMetadata() - Static method in class io.quarkiverse.langchain4j.runtime.AiServicesRecorder
- getMetadata() - Static method in class io.quarkiverse.langchain4j.runtime.ToolsRecorder
- getMethodMap() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolClassCreateInfo
- getMethodName() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getMetricsCountedInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getMetricsTimedInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getName() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionRequestPojo
- getName() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution.Serialized
- getNameToParamPosition() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolInvoker.MethodMetadata
- getOpenWebUIUrl() - Method in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- getOutputGuardrailsClasses() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getOutputGuardrailsClassNames() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getParameters() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution.Serialized
- getProperties() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolParametersObjectSubstitution.Serialized
- getReprompt() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
- getRequired() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolParametersObjectSubstitution.Serialized
- getResponseSchemaInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getReturnType() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getReturnTypeSignature() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getSpanInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getSystemMessageInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getText() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionResultPojo
- getToolClassNames() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getToolExecutionRequests() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
- getToolExecutionResult() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
- getToolExecutors() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getToolName() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionResultPojo
- getToolSpecifications() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- getType() - Method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
- getType() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolParametersObjectSubstitution.Serialized
- getUserMessageInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- Guardrail<P extends GuardrailParams,
R extends GuardrailResult<R>> - Interface in io.quarkiverse.langchain4j.guardrails -
A guardrail is a rule that is applied when interacting with an LLM either to the input (the user message) or to the output of the model to ensure that they are safe and meet the expectations of the model.
- GuardrailException - Exception in io.quarkiverse.langchain4j.runtime.aiservice
-
Exception thrown when a input or output guardrail validation fails.
- GuardrailException(String) - Constructor for exception io.quarkiverse.langchain4j.runtime.aiservice.GuardrailException
- GuardrailException(String, Throwable) - Constructor for exception io.quarkiverse.langchain4j.runtime.aiservice.GuardrailException
- GuardrailParams - Interface in io.quarkiverse.langchain4j.guardrails
-
Represents the parameter passed to
Guardrail.validate(GuardrailParams)} in order to validate an interaction between a user and the LLM. - GuardrailResult<GR extends GuardrailResult> - Interface in io.quarkiverse.langchain4j.guardrails
-
The result of the validation of an interaction between a user and the LLM.
- GuardrailResult.Failure - Interface in io.quarkiverse.langchain4j.guardrails
-
The message and the cause of the failure of a single validation.
- GuardrailResult.Result - Enum Class in io.quarkiverse.langchain4j.guardrails
-
The possible results of a guardrails validation.
- guardrails() - Method in interface io.quarkiverse.langchain4j.runtime.config.LangChain4jConfig
-
Guardrails configuration
- GuardrailsConfig - Interface in io.quarkiverse.langchain4j.runtime.config
- GuardrailsSupport - Class in io.quarkiverse.langchain4j.runtime.aiservice
- GuardrailsSupport() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport
H
- hashCode() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrail.InputGuardrailParams
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceClassCreateInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.SpanInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Returns a hash code value for this object.
- hasResponseSchema(String) - Static method in class io.quarkiverse.langchain4j.runtime.ResponseSchemaUtil
- headers() - Method in interface io.quarkiverse.langchain4j.auth.ModelAuthProvider.Input
- histogram() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns the value of the
histogramrecord component.
I
- id() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.NoopChatMemory
- ImageBuilderMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ImageBuilderMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ImageBuilderMixin
- ImageContentMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ImageContentMixin(Image, ImageContent.DetailLevel) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ImageContentMixin
- ImageMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ImageMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ImageMixin
- implClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceClassCreateInfo
-
Returns the value of the
implClassNamerecord component. - implement(AiServiceMethodImplementationSupport.Input) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport
-
This method is called by the implementations of each ai service method.
- initialMessages(Optional<SystemMessage>, UserMessage) - Method in class io.quarkiverse.langchain4j.audit.Audit
-
Invoked when the original user and system messages have been created
- InMemoryChatMemoryStoreProducer - Class in io.quarkiverse.langchain4j.runtime.aiservice
-
Creates the default
InMemoryChatMemoryStorestore to be used by classes annotated withRegisterAiService - InMemoryChatMemoryStoreProducer() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.InMemoryChatMemoryStoreProducer
- InMemoryEmbeddingStoreDeserializer - Class in io.quarkiverse.langchain4j.runtime.jackson
- InMemoryEmbeddingStoreDeserializer() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.InMemoryEmbeddingStoreDeserializer
- InMemoryEmbeddingStoreDeserializer(Class<?>) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.InMemoryEmbeddingStoreDeserializer
- InMemoryEmbeddingStoreMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- InMemoryEmbeddingStoreMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.InMemoryEmbeddingStoreMixin
- InProcessEmbeddingRecorder - Class in io.quarkiverse.langchain4j.runtime
- InProcessEmbeddingRecorder() - Constructor for class io.quarkiverse.langchain4j.runtime.InProcessEmbeddingRecorder
- Input(QuarkusAiServiceContext, AiServiceMethodCreateInfo, Object[]) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.Input
- InputGuardrail - Interface in io.quarkiverse.langchain4j.guardrails
-
An input guardrail is a rule that is applied to the input of the model to ensure that the input (the user message) is safe and meets the expectations of the model.
- InputGuardrail.InputGuardrailParams - Record Class in io.quarkiverse.langchain4j.guardrails
-
Represents the parameter passed to
InputGuardrail.validate(InputGuardrailParams). - InputGuardrailParams(UserMessage, ChatMemory, AugmentationResult) - Constructor for record class io.quarkiverse.langchain4j.guardrails.InputGuardrail.InputGuardrailParams
-
Creates an instance of a
InputGuardrailParamsrecord class. - InputGuardrailResult - Record Class in io.quarkiverse.langchain4j.guardrails
-
The result of the validation of an
InputGuardrail - InputGuardrailResult(GuardrailResult.Result, List<InputGuardrailResult.Failure>) - Constructor for record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
-
Creates an instance of a
InputGuardrailResultrecord class. - InputGuardrails - Annotation Interface in io.quarkiverse.langchain4j.guardrails
-
An annotation to apply guardrails to the input of the model.
- inspectOpenWebUIContainer() - Method in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- INSTANCE - Static variable in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.InstanceHolder
- InstanceHolder() - Constructor for class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.InstanceHolder
- instantiate(String) - Method in class io.quarkiverse.langchain4j.runtime.InProcessEmbeddingRecorder
- interfaceName() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Returns the value of the
interfaceNamerecord component. - invoke(Object, Object[]) - Method in interface io.quarkiverse.langchain4j.runtime.tool.ToolInvoker
- invokeInputGuardrails(AiServiceMethodCreateInfo, UserMessage, ChatMemory, AugmentationResult) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport
- invokeOutputGuardrails(AiServiceMethodCreateInfo, ChatMemory, ChatLanguageModel, Response<AiMessage>, List<ToolSpecification>, OutputGuardrail.OutputGuardrailParams) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport
- invokerClassName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Returns the value of the
invokerClassNamerecord component. - io.quarkiverse.langchain4j - package io.quarkiverse.langchain4j
- io.quarkiverse.langchain4j.audit - package io.quarkiverse.langchain4j.audit
- io.quarkiverse.langchain4j.auth - package io.quarkiverse.langchain4j.auth
- io.quarkiverse.langchain4j.guardrails - package io.quarkiverse.langchain4j.guardrails
- io.quarkiverse.langchain4j.runtime - package io.quarkiverse.langchain4j.runtime
- io.quarkiverse.langchain4j.runtime.aiservice - package io.quarkiverse.langchain4j.runtime.aiservice
- io.quarkiverse.langchain4j.runtime.config - package io.quarkiverse.langchain4j.runtime.config
- io.quarkiverse.langchain4j.runtime.devui - package io.quarkiverse.langchain4j.runtime.devui
- io.quarkiverse.langchain4j.runtime.devui.json - package io.quarkiverse.langchain4j.runtime.devui.json
- io.quarkiverse.langchain4j.runtime.graalvm - package io.quarkiverse.langchain4j.runtime.graalvm
- io.quarkiverse.langchain4j.runtime.jackson - package io.quarkiverse.langchain4j.runtime.jackson
- io.quarkiverse.langchain4j.runtime.listeners - package io.quarkiverse.langchain4j.runtime.listeners
- io.quarkiverse.langchain4j.runtime.prompt - package io.quarkiverse.langchain4j.runtime.prompt
- io.quarkiverse.langchain4j.runtime.template - package io.quarkiverse.langchain4j.runtime.template
- io.quarkiverse.langchain4j.runtime.tool - package io.quarkiverse.langchain4j.runtime.tool
- io.quarkiverse.langchain4j.runtime.types - package io.quarkiverse.langchain4j.runtime.types
- isDefault(String) - Static method in class io.quarkiverse.langchain4j.runtime.NamedConfigUtil
- isFatal() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
- isFatal() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
- isFatal() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
- isInSystemMessage() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Returns the value of the
isInSystemMessagerecord component. - isInUserMessage() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Returns the value of the
isInUserMessagerecord component. - isOpenWebUIRunning() - Method in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- isRequiresModeration() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
- isRetry() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
- isReturnsVoid() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolInvoker.MethodMetadata
- isStreamingChatSupported() - Method in class io.quarkiverse.langchain4j.runtime.devui.ChatJsonRPCService
- isSuccess() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
- isSuccess() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
- isSuccess() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
L
- LangChain4jConfig - Interface in io.quarkiverse.langchain4j.runtime.config
- LangChain4jRecorder - Class in io.quarkiverse.langchain4j.runtime
- LangChain4jRecorder() - Constructor for class io.quarkiverse.langchain4j.runtime.LangChain4jRecorder
- languageModelSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
languageModelSupplierClassNamerecord component. - listFromMemory(ChatMemory) - Static method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
- Literal(String) - Constructor for class io.quarkiverse.langchain4j.ModelName.Literal
- Literal(String) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContextQualifier.Literal
- logRequests() - Method in interface io.quarkiverse.langchain4j.runtime.config.LangChain4jConfig
-
Whether clients should log requests
- logResponses() - Method in interface io.quarkiverse.langchain4j.runtime.config.LangChain4jConfig
-
Whether clients should log responses
- longTask() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns the value of the
longTaskrecord component.
M
- MAP_TYPE_REFERENCE - Static variable in class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory.ObjectMapperHolder
- Mappable - Interface in io.quarkiverse.langchain4j.runtime.prompt
- MAPPER - Static variable in class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory.ObjectMapperHolder
- MAPPER - Static variable in class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory.SnakeCaseObjectMapperHolder
- MAX_RETRIES_DEFAULT - Static variable in interface io.quarkiverse.langchain4j.runtime.config.GuardrailsConfig
- MAX_SEQUENTIAL_TOOL_EXECUTIONS - Static variable in class io.quarkiverse.langchain4j.runtime.devui.ChatJsonRPCService
- maxMessages() - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.ChatMemoryConfig.MemoryWindow
-
The maximum number of messages the configured
MessageWindowChatMemorywill hold - maxRetries() - Method in interface io.quarkiverse.langchain4j.runtime.config.GuardrailsConfig
-
Configures the maximum number of retries for the guardrail.
- maxTokens() - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.ChatMemoryConfig.TokenWindow
-
The maximum number of tokens the configured
TokenWindowChatMemorywill hold - memory() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailParams
- memory() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrail.InputGuardrailParams
-
Returns the value of the
memoryrecord component. - memory() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
-
Returns the value of the
memoryrecord component. - memoryIDParamPosition() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Returns the value of the
memoryIDParamPositionrecord component. - memoryWindow() - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.ChatMemoryConfig
-
Configures aspects of the
MessageWindowChatMemorywhich is the defaultChatMemorysetup by the extension. - message() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult.Failure
- messages() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.NoopChatMemory
- MessageType - Enum Class in io.quarkiverse.langchain4j.runtime.devui.json
- messageWindow(ChatMemoryConfig) - Method in class io.quarkiverse.langchain4j.runtime.ChatMemoryRecorder
- MetadataMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- MetadataMixin(Map<String, String>) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.MetadataMixin
- method() - Method in interface io.quarkiverse.langchain4j.auth.ModelAuthProvider.Input
- MethodImplementationSupportProducer - Class in io.quarkiverse.langchain4j.runtime.aiservice
- MethodImplementationSupportProducer() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.MethodImplementationSupportProducer
- methodMap() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceClassCreateInfo
-
Returns the value of the
methodMaprecord component. - methodMetadata() - Method in interface io.quarkiverse.langchain4j.runtime.tool.ToolInvoker
- MethodMetadata(boolean, Map<String, Integer>, Integer) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolInvoker.MethodMetadata
- methodName() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Returns the value of the
methodNamerecord component. - methodName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder.Context
-
Returns the value of the
methodNamerecord component. - methodName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Returns the value of the
methodNamerecord component. - methodName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Returns the value of the
methodNamerecord component. - methodParamPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
-
Returns the value of the
methodParamPositionrecord component. - MetricsChatModelListener - Class in io.quarkiverse.langchain4j.runtime.listeners
-
Creates metrics that follow the Semantic Conventions for GenAI Metrics
- MetricsChatModelListener() - Constructor for class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
- MetricsCountedInfo(String, String[], boolean, String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Creates an instance of a
MetricsCountedInforecord class. - MetricsCountedWrapper - Class in io.quarkiverse.langchain4j.runtime.aiservice
- MetricsCountedWrapper() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.MetricsCountedWrapper
- MetricsTimedInfo(String, boolean, String[], double[], boolean, String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Creates an instance of a
MetricsTimedInforecord class. - MetricsTimedWrapper - Class in io.quarkiverse.langchain4j.runtime.aiservice
- MetricsTimedWrapper() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.MetricsTimedWrapper
- ModelAuthProvider - Interface in io.quarkiverse.langchain4j.auth
- ModelAuthProvider.Input - Interface in io.quarkiverse.langchain4j.auth
- modelName() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
When
chatLanguageModelSupplieris set toBeanChatLanguageModelSupplier.class(which is the default) this allows the selection of theChatLanguageModelCDI bean to use. - ModelName - Annotation Interface in io.quarkiverse.langchain4j
-
Marker annotation to select a named model Configure the
nameparameter to select the model instance. - ModelName.Literal - Class in io.quarkiverse.langchain4j
- moderationModelName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
moderationModelNamerecord component. - moderationModelSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Configures the way to obtain the
ModerationModelto use. - moderationModelSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
moderationModelSupplierClassNamerecord component. - MustacheTemplateVariableStyleParserHook() - Constructor for class io.quarkiverse.langchain4j.QuarkusPromptTemplateFactory.MustacheTemplateVariableStyleParserHook
N
- name() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.SpanInfo
-
Returns the value of the
namerecord component. - NamedConfigUtil - Class in io.quarkiverse.langchain4j.runtime
- NamedConfigUtil() - Constructor for class io.quarkiverse.langchain4j.runtime.NamedConfigUtil
- nameToParamPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
-
Returns the value of the
nameToParamPositionrecord component. - needsModerationModel() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
needsModerationModelrecord component. - needsStreamingChatModel() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
needsStreamingChatModelrecord component. - NoChatMemoryProviderSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.NoChatMemoryProviderSupplier
- NoopChatMemory - Class in io.quarkiverse.langchain4j.runtime.aiservice
-
An implementation of
ChatMemorythat does nothing. - NoopChatMemory() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.NoopChatMemory
- NoRetrievalAugmentorSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.NoRetrievalAugmentorSupplier
- NoRetriever() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.NoRetriever
O
- ObjectMapperHolder() - Constructor for class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory.ObjectMapperHolder
- obtainFieldValuesMap() - Method in interface io.quarkiverse.langchain4j.runtime.prompt.Mappable
- of(boolean, Optional<AiServiceMethodCreateInfo.TemplateInfo>, Optional<AiServiceMethodCreateInfo.TemplateInfo>, String) - Static method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
- of(String) - Static method in class io.quarkiverse.langchain4j.ModelName.Literal
- of(String) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContextQualifier.Literal
- onCompletion(Object) - Method in class io.quarkiverse.langchain4j.audit.Audit
-
Invoked when the final result of the AiService method has been computed
- onError(ChatModelErrorContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
- onError(ChatModelErrorContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.SpanChatModelListener
- onFailure(Exception) - Method in class io.quarkiverse.langchain4j.audit.Audit
-
Invoked when there was an exception computing the result of the AiService method
- onRequest(ChatModelRequestContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
- onRequest(ChatModelRequestContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.SpanChatModelListener
- onResponse(ChatModelResponseContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
- onResponse(ChatModelResponseContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.SpanChatModelListener
- OpenWebUIJsonRPCService - Class in io.quarkiverse.langchain4j.runtime.devui
- OpenWebUIJsonRPCService() - Constructor for class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- OptionalUtil - Class in io.quarkiverse.langchain4j.runtime
- OptionalUtil() - Constructor for class io.quarkiverse.langchain4j.runtime.OptionalUtil
- outputFormatInstructions() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Returns the value of the
outputFormatInstructionsrecord component. - outputFormatInstructions(Type) - Method in class io.quarkiverse.langchain4j.runtime.QuarkusServiceOutputParser
- OutputGuardrail - Interface in io.quarkiverse.langchain4j.guardrails
-
An output guardrail is a rule that is applied to the output of the model to ensure that the output is safe and meets the expectations.
- OutputGuardrail.OutputGuardrailParams - Record Class in io.quarkiverse.langchain4j.guardrails
-
Represents the parameter passed to
OutputGuardrail.validate(OutputGuardrailParams). - OutputGuardrailParams(AiMessage, ChatMemory, AugmentationResult) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
-
Creates an instance of a
OutputGuardrailParamsrecord class. - OutputGuardrailResult - Record Class in io.quarkiverse.langchain4j.guardrails
-
The result of the validation of an
OutputGuardrail - OutputGuardrailResult(GuardrailResult.Result, List<OutputGuardrailResult.Failure>) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
-
Creates an instance of a
OutputGuardrailResultrecord class. - OutputGuardrails - Annotation Interface in io.quarkiverse.langchain4j.guardrails
-
An annotation to apply guardrails to the output of the model.
P
- parameters() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Returns the value of the
parametersrecord component. - paramPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
-
Returns the value of the
paramPositionrecord component. - parse(String) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeSignatureParser
- parseType() - Method in class io.quarkiverse.langchain4j.runtime.types.TypeSignatureParser
- percentiles() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns the value of the
percentilesrecord component. - placeholder() - Static method in class io.quarkiverse.langchain4j.runtime.ResponseSchemaUtil
- populateToolMetadata(List<Object>, List<ToolSpecification>, Map<String, ToolExecutor>) - Static method in class io.quarkiverse.langchain4j.runtime.ToolsRecorder
- priority() - Method in class io.quarkiverse.langchain4j.runtime.RequestScopeStateDefaultMemoryIdProvider
Q
- QuarkusAiServiceContext - Class in io.quarkiverse.langchain4j.runtime.aiservice
- QuarkusAiServiceContext() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
- QuarkusAiServiceContext(Class<?>) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
- QuarkusAiServiceContextQualifier - Annotation Interface in io.quarkiverse.langchain4j.runtime.aiservice
- QuarkusAiServiceContextQualifier.Literal - Class in io.quarkiverse.langchain4j.runtime.aiservice
- QuarkusAiServices(AiServiceContext) - Constructor for class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
- QuarkusAiServicesFactory - Class in io.quarkiverse.langchain4j
- QuarkusAiServicesFactory() - Constructor for class io.quarkiverse.langchain4j.QuarkusAiServicesFactory
- QuarkusAiServicesFactory.InstanceHolder - Class in io.quarkiverse.langchain4j
- QuarkusAiServicesFactory.QuarkusAiServices<T> - Class in io.quarkiverse.langchain4j
- QuarkusChatMessageJsonCodecFactory - Class in io.quarkiverse.langchain4j
- QuarkusChatMessageJsonCodecFactory() - Constructor for class io.quarkiverse.langchain4j.QuarkusChatMessageJsonCodecFactory
- QuarkusInMemoryEmbeddingJsonCodecFactory - Class in io.quarkiverse.langchain4j
- QuarkusInMemoryEmbeddingJsonCodecFactory() - Constructor for class io.quarkiverse.langchain4j.QuarkusInMemoryEmbeddingJsonCodecFactory
- QuarkusJsonCodecFactory - Class in io.quarkiverse.langchain4j
- QuarkusJsonCodecFactory() - Constructor for class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory
- QuarkusJsonCodecFactory.ObjectMapperHolder - Class in io.quarkiverse.langchain4j
- QuarkusJsonCodecFactory.SnakeCaseObjectMapperHolder - Class in io.quarkiverse.langchain4j
- QuarkusPromptTemplateFactory - Class in io.quarkiverse.langchain4j
- QuarkusPromptTemplateFactory() - Constructor for class io.quarkiverse.langchain4j.QuarkusPromptTemplateFactory
- QuarkusPromptTemplateFactory.MustacheTemplateVariableStyleParserHook - Class in io.quarkiverse.langchain4j
- QuarkusServiceOutputParser - Class in io.quarkiverse.langchain4j.runtime
- QuarkusServiceOutputParser() - Constructor for class io.quarkiverse.langchain4j.runtime.QuarkusServiceOutputParser
- QuarkusStructuredPromptFactory - Class in io.quarkiverse.langchain4j
- QuarkusStructuredPromptFactory() - Constructor for class io.quarkiverse.langchain4j.QuarkusStructuredPromptFactory
- QuarkusToolExecutor - Class in io.quarkiverse.langchain4j.runtime.tool
- QuarkusToolExecutor(QuarkusToolExecutor.Context) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor
- QuarkusToolExecutor.Context - Record Class in io.quarkiverse.langchain4j.runtime.tool
- QuarkusToolExecutor.Wrapper - Interface in io.quarkiverse.langchain4j.runtime.tool
- QuarkusToolExecutorFactory - Class in io.quarkiverse.langchain4j.runtime.tool
- QuarkusToolExecutorFactory(List<QuarkusToolExecutor.Wrapper>) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutorFactory
R
- recordFailuresOnly() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Returns the value of the
recordFailuresOnlyrecord component. - RegisterAiService - Annotation Interface in io.quarkiverse.langchain4j
-
Used to create LangChain4j's
AiServicesin a declarative manner that the application can then use simply by using the class as a CDI bean. - RegisterAiService.BeanChatLanguageModelSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used to tell Quarkus to use the
ChatLanguageModelthat has been configured as a CDI bean by any of the extensions providing such capability (such asquarkus-langchain4j-openaiandquarkus-langchain4j-hugging-face). - RegisterAiService.BeanChatMemoryProviderSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used to tell Quarkus to use the retriever that the user has configured as a CDI bean.
- RegisterAiService.BeanIfExistsAuditServiceSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used to tell Quarkus to use the
AuditServicethat the user has configured as a CDI bean. - RegisterAiService.BeanIfExistsModerationModelSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used to tell Quarkus to use the
ModerationModelthat the user has configured as a CDI bean. - RegisterAiService.BeanIfExistsRetrievalAugmentorSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used to tell Quarkus to use the
RetrievalAugmentorthat the user has configured as a CDI bean. - RegisterAiService.BeanStreamingChatLanguageModelSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used to tell Quarkus to use the
StreamingChatLanguageModelthat has been configured as a CDI bean by * any of the extensions providing such capability (such asquarkus-langchain4j-openaiandquarkus-langchain4j-hugging-face). - RegisterAiService.NoChatMemoryProviderSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used when the user does not want any memory configured for the AiService
- RegisterAiService.NoRetrievalAugmentorSupplier - Class in io.quarkiverse.langchain4j
-
Marker that is used to tell Quarkus to not use any retrieval augmentor even if a CDI bean implementing the `RetrievalAugmentor` interface exists.
- RegisterAiService.NoRetriever - Class in io.quarkiverse.langchain4j
-
Marker class to indicate that no retriever should be used
- remove(Object...) - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.ChatMemoryRemovable
- remove(Object, Object) - Static method in class io.quarkiverse.langchain4j.ChatMemoryRemover
- remove(Object, List<Object>) - Static method in class io.quarkiverse.langchain4j.ChatMemoryRemover
- removeChatMemoryIds(Object...) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
-
This is called by the
remove(Object... ids)method of AiServices when a user manually requests removal of chat memories viaChatMemoryRemover - reprompt(String, String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- reprompt(String, Throwable, String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- RequestScopeStateDefaultMemoryIdProvider - Class in io.quarkiverse.langchain4j.runtime
-
This implementation uses the state of the request scope as the default value
- RequestScopeStateDefaultMemoryIdProvider() - Constructor for class io.quarkiverse.langchain4j.runtime.RequestScopeStateDefaultMemoryIdProvider
- reset(String) - Method in class io.quarkiverse.langchain4j.runtime.devui.ChatJsonRPCService
- resolve() - Static method in interface io.quarkiverse.langchain4j.auth.ModelAuthProvider
- resolve(String) - Static method in interface io.quarkiverse.langchain4j.auth.ModelAuthProvider
- responseFromLLM() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
-
Returns the value of the
responseFromLLMrecord component. - ResponseSchemaInfo(boolean, boolean, Optional<Boolean>, String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Creates an instance of a
ResponseSchemaInforecord class. - ResponseSchemaUtil - Class in io.quarkiverse.langchain4j.runtime
- ResponseSchemaUtil() - Constructor for class io.quarkiverse.langchain4j.runtime.ResponseSchemaUtil
- result() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
-
Returns the value of the
resultrecord component. - result() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
-
Returns the value of the
resultrecord component. - retrievalAugmentor() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Configures the way to obtain the
RetrievalAugmentorto use (when using RAG). - retrievalAugmentorSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
retrievalAugmentorSupplierClassNamerecord component. - retriever() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Deprecated, for removal: This API element is subject to removal in a future version.Use retrievalAugmentor instead
- retrieverClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
retrieverClassNamerecord component. - retry(String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- retry(String, Throwable) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
S
- seed(ChatMemorySeeder.Context) - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder
- SeedMemory - Annotation Interface in io.quarkiverse.langchain4j
-
Provides a way for an AiService to get its chat memory seeded with examples interactions.
- serialize(ToolParameters) - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolParametersObjectSubstitution
- serialize(ToolSpecification) - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution
- Serialized(String, String, ToolParameters) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution.Serialized
- Serialized(String, Map<String, Map<String, Object>>, List<String>) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolParametersObjectSubstitution.Serialized
- serviceClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
serviceClassNamerecord component. - setDescription(String) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo.Builder
- setDescription(String) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo.Builder
- setExtraTags(String[]) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo.Builder
- setExtraTags(String[]) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo.Builder
- setHistogram(boolean) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo.Builder
- setLongTask(boolean) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo.Builder
- setMetadata(Map<String, AiServiceClassCreateInfo>) - Method in class io.quarkiverse.langchain4j.runtime.AiServicesRecorder
- setMetadata(Map<String, List<ToolMethodCreateInfo>>) - Method in class io.quarkiverse.langchain4j.runtime.ToolsRecorder
- setPercentiles(double[]) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo.Builder
- setRecordFailuresOnly(boolean) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo.Builder
- SnakeCaseObjectMapperHolder() - Constructor for class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory.SnakeCaseObjectMapperHolder
- SpanChatModelListener - Class in io.quarkiverse.langchain4j.runtime.listeners
-
Creates a span that follows the Semantic Conventions for GenAI operations
- SpanChatModelListener(Tracer) - Constructor for class io.quarkiverse.langchain4j.runtime.listeners.SpanChatModelListener
- SpanInfo(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.SpanInfo
-
Creates an instance of a
SpanInforecord class. - SpanWrapper - Class in io.quarkiverse.langchain4j.runtime.aiservice
- SpanWrapper(Tracer) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.SpanWrapper
- START_TIME_KEY_NAME - Static variable in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
- startOpenWebUI(String, boolean, Map<Integer, Integer>, Map<String, String>, Map<String, String>) - Method in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- stopOpenWebUI() - Method in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
- streamingChat(String, boolean) - Method in class io.quarkiverse.langchain4j.runtime.devui.ChatJsonRPCService
- streamingChatLanguageModelSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Configures the way to obtain the
StreamingChatLanguageModelto use. - streamingChatLanguageModelSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
streamingChatLanguageModelSupplierClassNamerecord component. - StructuredPromptsRecorder - Class in io.quarkiverse.langchain4j.runtime
- StructuredPromptsRecorder() - Constructor for class io.quarkiverse.langchain4j.runtime.StructuredPromptsRecorder
- Substitutions - Class in io.quarkiverse.langchain4j.runtime.graalvm
- Substitutions() - Constructor for class io.quarkiverse.langchain4j.runtime.graalvm.Substitutions
- success() - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
- success() - Static method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
- success() - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
- success() - Static method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
- SUCCESS - Enum constant in enum class io.quarkiverse.langchain4j.guardrails.GuardrailResult.Result
-
A successful validation.
- SYSTEM - Enum constant in enum class io.quarkiverse.langchain4j.runtime.devui.json.MessageType
- SystemMessageMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- SystemMessageMixin(String) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.SystemMessageMixin
T
- template() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
-
Returns the value of the
templaterecord component. - TemplateInfo(Optional<String>, Map<String, Integer>, Optional<Integer>) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
-
Creates an instance of a
TemplateInforecord class. - templateParam() - Static method in class io.quarkiverse.langchain4j.runtime.ResponseSchemaUtil
- text() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
-
Returns the value of the
textrecord component. - TextContentDeserializer - Class in io.quarkiverse.langchain4j.runtime.jackson
- TextContentDeserializer() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.TextContentDeserializer
- TextContentMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- TextContentMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.TextContentMixin
- TextSegmentMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- TextSegmentMixin(String, Metadata) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.TextSegmentMixin
- timeout() - Method in interface io.quarkiverse.langchain4j.runtime.config.LangChain4jConfig
-
Global timeout for requests to LLM APIs
- tokenWindow() - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.ChatMemoryConfig
-
Configures aspects of the
TokenWindowChatMemorywhich is enabled if thequarkus.langchain4j.chat-memory.typeconfiguration property is set totoken-windowand if no nd no bean of typeChatMemoryProvideris present in the application. - tokenWindow(ChatMemoryConfig) - Method in class io.quarkiverse.langchain4j.runtime.ChatMemoryRecorder
- tool() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Returns the value of the
toolrecord component. - TOOL_EXECUTION_RESULT - Enum constant in enum class io.quarkiverse.langchain4j.runtime.devui.json.MessageType
- ToolBox - Annotation Interface in io.quarkiverse.langchain4j
-
When used on a method of an AiService annotated with
RegisterAiService, the method will the tool classes provided byvalueinstead of the ones configured for the entire AiService (viaRegisterAiService.tools()) - ToolClassCreateInfo - Class in io.quarkiverse.langchain4j.runtime.tool
- ToolClassCreateInfo(Map<String, ToolMethodCreateInfo>) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolClassCreateInfo
- ToolExecutionRequestBuilderMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ToolExecutionRequestBuilderMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ToolExecutionRequestBuilderMixin
- ToolExecutionRequestMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ToolExecutionRequestMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ToolExecutionRequestMixin
- ToolExecutionRequestPojo - Class in io.quarkiverse.langchain4j.runtime.devui.json
- ToolExecutionRequestPojo(String, String, String) - Constructor for class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionRequestPojo
- ToolExecutionResultMessageMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- ToolExecutionResultMessageMixin(String, String, String) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ToolExecutionResultMessageMixin
- ToolExecutionResultPojo - Class in io.quarkiverse.langchain4j.runtime.devui.json
- ToolExecutionResultPojo(String, String, String) - Constructor for class io.quarkiverse.langchain4j.runtime.devui.json.ToolExecutionResultPojo
- ToolInvoker - Interface in io.quarkiverse.langchain4j.runtime.tool
- ToolInvoker.MethodMetadata - Class in io.quarkiverse.langchain4j.runtime.tool
- toolInvokerName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Returns the value of the
toolInvokerNamerecord component. - ToolMethodCreateInfo - Record Class in io.quarkiverse.langchain4j.runtime.tool
- ToolMethodCreateInfo(String, String, ToolSpecification, String) - Constructor for record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Creates an instance of a
ToolMethodCreateInforecord class. - ToolParametersObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.tool
- ToolParametersObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolParametersObjectSubstitution
- ToolParametersObjectSubstitution.Serialized - Class in io.quarkiverse.langchain4j.runtime.tool
- tools() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
-
Tool classes to use.
- tools(List<Object>) - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
- toolsClassNames() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns the value of the
toolsClassNamesrecord component. - ToolSpanWrapper - Class in io.quarkiverse.langchain4j.runtime.tool
- ToolSpanWrapper(Tracer) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolSpanWrapper
- toolSpecification() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Returns the value of the
toolSpecificationrecord component. - ToolSpecificationObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.tool
- ToolSpecificationObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution
- ToolSpecificationObjectSubstitution.Serialized - Class in io.quarkiverse.langchain4j.runtime.tool
- ToolsRecorder - Class in io.quarkiverse.langchain4j.runtime
- ToolsRecorder() - Constructor for class io.quarkiverse.langchain4j.runtime.ToolsRecorder
- toPrompt(Object) - Method in class io.quarkiverse.langchain4j.QuarkusStructuredPromptFactory
- toString() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrail.InputGuardrailParams
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceClassCreateInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsCountedInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.SpanInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder.Context
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
-
Returns a string representation of this record class.
- type() - Method in class io.quarkiverse.langchain4j.runtime.jackson.ChatMessageMixin
- type() - Method in class io.quarkiverse.langchain4j.runtime.jackson.ContextMixin
- TypeSignatureParser - Class in io.quarkiverse.langchain4j.runtime.types
- TypeSignatureParser(String) - Constructor for class io.quarkiverse.langchain4j.runtime.types.TypeSignatureParser
U
- uri() - Method in interface io.quarkiverse.langchain4j.auth.ModelAuthProvider.Input
- USER - Enum constant in enum class io.quarkiverse.langchain4j.runtime.devui.json.MessageType
- userMessage() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrail.InputGuardrailParams
-
Returns the value of the
userMessagerecord component. - UserMessageDeserializer - Class in io.quarkiverse.langchain4j.runtime.jackson
- UserMessageDeserializer() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.UserMessageDeserializer
- UserMessageInfo(Optional<AiServiceMethodCreateInfo.TemplateInfo>, Optional<Integer>, Optional<Integer>) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
-
Creates an instance of a
UserMessageInforecord class. - UserMessageMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
- UserMessageMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.UserMessageMixin
- userNameParamPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
-
Returns the value of the
userNameParamPositionrecord component.
V
- validate(AiMessage) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
-
Validates the response from the LLM.
- validate(UserMessage) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
-
Validates the
user messagethat will be sent to the LLM. - validate(InputGuardrail.InputGuardrailParams) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
-
Validates the input that will be sent to the LLM.
- validate(OutputGuardrail.OutputGuardrailParams) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
-
Validates the response from the LLM.
- validate(P) - Method in interface io.quarkiverse.langchain4j.guardrails.Guardrail
-
Validate the interaction between the model and the user in one of the two directions.
- validatedBy(Class<? extends Guardrail>) - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
- validatedBy(Class<? extends Guardrail>) - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
- validatedBy(Class<? extends Guardrail>) - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
- value() - Element in annotation interface io.quarkiverse.langchain4j.guardrails.InputGuardrails
-
The ordered list of guardrails to apply to the input of the model.
- value() - Element in annotation interface io.quarkiverse.langchain4j.guardrails.OutputGuardrails
-
The ordered list of guardrails to apply to the output of the model.
- value() - Method in class io.quarkiverse.langchain4j.ModelName.Literal
- value() - Element in annotation interface io.quarkiverse.langchain4j.ModelName
-
Specify the cluster name of the connection.
- value() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContextQualifier.Literal
- value() - Element in annotation interface io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContextQualifier
-
The name of class
- value() - Element in annotation interface io.quarkiverse.langchain4j.ToolBox
-
Tool classes to use.
- valueOf(String) - Static method in enum class io.quarkiverse.langchain4j.guardrails.GuardrailResult.Result
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.quarkiverse.langchain4j.runtime.devui.json.MessageType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.quarkiverse.langchain4j.guardrails.GuardrailResult.Result
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.quarkiverse.langchain4j.runtime.devui.json.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withGuardrailClass(Class<? extends Guardrail>) - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult.Failure
- wrap(ToolExecutionRequest, Object, BiFunction<ToolExecutionRequest, Object, String>) - Method in interface io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Wrapper
- wrap(ToolExecutionRequest, Object, BiFunction<ToolExecutionRequest, Object, String>) - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpanWrapper
- wrap(AiServiceMethodImplementationSupport.Input, Function<AiServiceMethodImplementationSupport.Input, Object>) - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.Wrapper
- wrap(AiServiceMethodImplementationSupport.Input, Function<AiServiceMethodImplementationSupport.Input, Object>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.MetricsCountedWrapper
- wrap(AiServiceMethodImplementationSupport.Input, Function<AiServiceMethodImplementationSupport.Input, Object>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.MetricsTimedWrapper
- wrap(AiServiceMethodImplementationSupport.Input, Function<AiServiceMethodImplementationSupport.Input, Object>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.SpanWrapper
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form