Index

A B C D E F G H I L M N O P Q R S T U V W 
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
 
AI_SERVICE_CLASS_NAME - Static variable in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceConstants
 
AI_SERVICE_METHODNAME - Static variable in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceConstants
 
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 AiServiceClassCreateInfo record class.
AiServiceConstants - Class in io.quarkiverse.langchain4j.runtime.aiservice
 
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 argumentMapperClassName record component.
argumentMapperClassName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
Returns the value of the argumentMapperClassName record 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 AuditService when 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 auditServiceClassSupplierName record component.
auditServiceSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
Configures the way to obtain the AuditService to 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 augmentationResult record component.
augmentationResult() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
Returns the value of the augmentationResult record 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
 
BeanIfExistsImageModelSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsImageModelSupplier
 
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 ChatLanguageModel to 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 chatMemoryProviderSupplierClassName record 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 ChatMemory should be removed from the underlying ChatMemoryStore.
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 chatMemorySeederClassName record 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 chatModelName record 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 close method of AiServices registered with RegisterAiService when 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 Context record class.
Context(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder.Context
Creates an instance of a Context record class.
ContextLocals - Class in io.quarkiverse.langchain4j.runtime
 
ContextMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
 
ContextMixin() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.ContextMixin
 
Cost - Record Class in io.quarkiverse.langchain4j.cost
 
Cost(BigDecimal, String) - Constructor for record class io.quarkiverse.langchain4j.cost.Cost
Creates an instance of a Cost record class.
CostEstimator - Interface in io.quarkiverse.langchain4j.cost
Allows for user code to provide a custom strategy for estimating the cost of API calls
CostEstimator.CostContext - Interface in io.quarkiverse.langchain4j.cost
 
CostEstimator.CostResult - Record Class in io.quarkiverse.langchain4j.cost
 
CostEstimator.SupportsContext - Interface in io.quarkiverse.langchain4j.cost
 
CostEstimatorService - Class in io.quarkiverse.langchain4j.cost
Meant to be injected where ChatModelListener is used in order to determine the cost of the API request
CostEstimatorService(List<CostEstimator>) - Constructor for class io.quarkiverse.langchain4j.cost.CostEstimatorService
 
CostResult(BigDecimal, BigDecimal, String) - Constructor for record class io.quarkiverse.langchain4j.cost.CostEstimator.CostResult
Creates an instance of a CostResult record class.
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 CreateInfo record class.
currency() - Method in record class io.quarkiverse.langchain4j.cost.CostEstimator.CostResult
Returns the value of the currency record component.
currencyCode() - Method in record class io.quarkiverse.langchain4j.cost.Cost
Returns the value of the currencyCode record component.

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, String, String, boolean, boolean, boolean) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Creates an instance of a DeclarativeAiServiceCreateInfo record 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 description record component.
description() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
Returns the value of the description record 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
 
duplicatedContextActive() - Static method in class io.quarkiverse.langchain4j.runtime.ContextLocals
 

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(List<EmbeddingStore<TextSegment>>) - 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 enabled record 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.cost.Cost
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.cost.CostEstimator.CostResult
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.
estimate(ChatModelResponseContext) - Method in class io.quarkiverse.langchain4j.cost.CostEstimatorService
 
estimate(CostEstimator.CostContext) - Method in interface io.quarkiverse.langchain4j.cost.CostEstimator
 
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 extraTags record component.
extraTags() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
Returns the value of the extraTags record 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 failures record component.
failures() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
Returns the value of the failures record 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>, 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>, 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.BeanIfExistsImageModelSupplier
 
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.ContextLocals
Gets the value from the context local associated with the given key.
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,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 Class in io.quarkiverse.langchain4j.runtime.aiservice
Exception thrown when a input or output guardrail validation fails.
GuardrailException(String) - Constructor for exception class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailException
 
GuardrailException(String, Throwable) - Constructor for exception class 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> - 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.cost.Cost
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.cost.CostEstimator.CostResult
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 histogram record 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
 
imageModel - Variable in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
 
imageModel(ImageModel) - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
 
imageModelName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the imageModelName record component.
imageModelSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the imageModelSupplierClassName record component.
imageParamPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
Returns the value of the imageParamPosition record component.
ImageUrl - Annotation Interface in io.quarkiverse.langchain4j
This annotation is useful when an AiService is meant to describe an image as the value of the method parameter annotated with @ImageUrl will be used as an ImageContent.
implClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceClassCreateInfo
Returns the value of the implClassName record 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 InMemoryChatMemoryStore store to be used by classes annotated with RegisterAiService
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 InputGuardrailParams record 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 InputGuardrailResult record class.
InputGuardrails - Annotation Interface in io.quarkiverse.langchain4j.guardrails
An annotation to apply guardrails to the input of the model.
inputTokens() - Method in interface io.quarkiverse.langchain4j.cost.CostEstimator.CostContext
 
inputTokensCost() - Method in record class io.quarkiverse.langchain4j.cost.CostEstimator.CostResult
Returns the value of the inputTokensCost record component.
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 interfaceName record 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 invokerClassName record 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.cost - package io.quarkiverse.langchain4j.cost
 
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 isInSystemMessage record component.
isInUserMessage() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
Returns the value of the isInUserMessage record 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 languageModelSupplierClassName record 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 longTask record 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 MessageWindowChatMemory will 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 TokenWindowChatMemory will 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 memory record component.
memory() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrail.OutputGuardrailParams
Returns the value of the memory record component.
memoryIDParamPosition() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
Returns the value of the memoryIDParamPosition record component.
memoryWindow() - Method in interface io.quarkiverse.langchain4j.runtime.aiservice.ChatMemoryConfig
Configures aspects of the MessageWindowChatMemory which is the default ChatMemory setup 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 methodMap record 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 methodName record component.
methodName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.ChatMemorySeeder.Context
Returns the value of the methodName record component.
methodName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
Returns the value of the methodName record component.
methodName() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
Returns the value of the methodName record component.
methodParamPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.TemplateInfo
Returns the value of the methodParamPosition record component.
MetricsChatModelListener - Class in io.quarkiverse.langchain4j.runtime.listeners
Creates metrics that follow the Semantic Conventions for GenAI Metrics
MetricsChatModelListener(CostEstimatorService) - 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 MetricsCountedInfo record 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 MetricsTimedInfo record class.
MetricsTimedWrapper - Class in io.quarkiverse.langchain4j.runtime.aiservice
 
MetricsTimedWrapper() - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.MetricsTimedWrapper
 
model() - Method in interface io.quarkiverse.langchain4j.cost.CostEstimator.SupportsContext
 
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 chatLanguageModelSupplier is set to BeanChatLanguageModelSupplier.class (which is the default) this allows the selection of the ChatLanguageModel CDI bean to use.
ModelName - Annotation Interface in io.quarkiverse.langchain4j
Marker annotation to select a named model Configure the name parameter 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 moderationModelName record component.
moderationModelSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
Configures the way to obtain the ModerationModel to use.
moderationModelSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the moderationModelSupplierClassName record 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 name record component.
name() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.MetricsTimedInfo
Returns the value of the name record component.
name() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.SpanInfo
Returns the value of the name record 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 nameToParamPosition record component.
needsImageModel() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the needsImageModel record component.
needsModerationModel() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the needsModerationModel record component.
needsStreamingChatModel() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the needsStreamingChatModel record component.
NoChatMemoryProviderSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.NoChatMemoryProviderSupplier
 
NoopChatMemory - Class in io.quarkiverse.langchain4j.runtime.aiservice
An implementation of ChatMemory that 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
 
number() - Method in record class io.quarkiverse.langchain4j.cost.Cost
Returns the value of the number record component.

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
 
of(BigDecimal, String) - Static method in record class io.quarkiverse.langchain4j.cost.Cost
 
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 outputFormatInstructions record 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 OutputGuardrailParams record 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 OutputGuardrailResult record class.
OutputGuardrails - Annotation Interface in io.quarkiverse.langchain4j.guardrails
An annotation to apply guardrails to the output of the model.
outputTokens() - Method in interface io.quarkiverse.langchain4j.cost.CostEstimator.CostContext
 
outputTokensCost() - Method in record class io.quarkiverse.langchain4j.cost.CostEstimator.CostResult
Returns the value of the outputTokensCost record component.

P

parameters() - Method in record class io.quarkiverse.langchain4j.audit.Audit.CreateInfo
Returns the value of the parameters record component.
paramPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
Returns the value of the paramPosition record 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 percentiles record 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
 
put(String, T) - Static method in class io.quarkiverse.langchain4j.runtime.ContextLocals
Stores the given key/value in the context local.

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 recordFailuresOnly record component.
RegisterAiService - Annotation Interface in io.quarkiverse.langchain4j
Used to create LangChain4j's AiServices in 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 ChatLanguageModel that has been configured as a CDI bean by any of the extensions providing such capability (such as quarkus-langchain4j-openai and quarkus-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 AuditService that the user has configured as a CDI bean.
RegisterAiService.BeanIfExistsImageModelSupplier - Class in io.quarkiverse.langchain4j
Marker that is used to tell Quarkus to use the ImageModel that 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 ModerationModel that 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 RetrievalAugmentor that 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 StreamingChatLanguageModel that has been configured as a CDI bean by * any of the extensions providing such capability (such as quarkus-langchain4j-openai and quarkus-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
 
remove(String) - Static method in class io.quarkiverse.langchain4j.runtime.ContextLocals
Removes the value associated with the given key from the context locals.
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 via ChatMemoryRemover
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 responseFromLLM record component.
ResponseSchemaInfo(boolean, boolean, Optional<Boolean>, String) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
Creates an instance of a ResponseSchemaInfo record 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 result record component.
result() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
Returns the value of the result record component.
retrievalAugmentor() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
Configures the way to obtain the RetrievalAugmentor to use (when using RAG).
retrievalAugmentorSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the retrievalAugmentorSupplierClassName record 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 retrieverClassName record 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 serviceClassName record 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, CostEstimatorService) - 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 SpanInfo record 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 StreamingChatLanguageModel to use.
streamingChatLanguageModelSupplierClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the streamingChatLanguageModelSupplierClassName record 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.
supports(CostEstimator.SupportsContext) - Method in interface io.quarkiverse.langchain4j.cost.CostEstimator
Determines whether the estimator applies to the request
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 template record 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 TemplateInfo record 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 text record 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 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.
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 tool record 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 by value instead of the ones configured for the entire AiService (via RegisterAiService.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 toolInvokerName record 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 ToolMethodCreateInfo record 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 toolsClassNames record 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 toolSpecification record 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.cost.Cost
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.cost.CostEstimator.CostResult
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 userMessage record 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>, Optional<Integer>) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
Creates an instance of a UserMessageInfo record 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 userNameParamPosition record 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 message that 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
 
A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form