Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractJsonExtractorOutputGuardrail - Class in io.quarkiverse.langchain4j.guardrails
 
AbstractJsonExtractorOutputGuardrail() - Constructor for class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
accumulate(Multi<String>) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputTokenAccumulator
Accumulate tokens before applying the guardrails.
accumulate(Multi<String>, AiServiceMethodCreateInfo) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport
 
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
 
additionalProperties() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Returns the value of the additionalProperties record component.
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
 
AiResponseAugmenter<T> - Interface in io.quarkiverse.langchain4j.response
CDI bean willing to manipulate the response of the AI model needs to implement this interface.
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<Integer>, Optional<AiServiceMethodCreateInfo.MetricsTimedInfo>, Optional<AiServiceMethodCreateInfo.MetricsCountedInfo>, Optional<AiServiceMethodCreateInfo.SpanInfo>, AiServiceMethodCreateInfo.ResponseSchemaInfo, Map<String, AnnotationLiteral<?>>, boolean, List<String>, List<String>, String, 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
 
apply(ToolExecutionRequest) - Method in class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsToolHallucinationStrategy
 
apply(Multi<?>, AiServiceMethodCreateInfo, ResponseAugmenterParams) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.ResponseAugmenterSupport
 
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.
AuditSourceInfo - Interface in io.quarkiverse.langchain4j.audit
Contains information about the source of an audit event
augment(Multi<T>, ResponseAugmenterParams) - Method in interface io.quarkiverse.langchain4j.response.AiResponseAugmenter
Augment a streamed response.
augment(T, ResponseAugmenterParams) - Method in interface io.quarkiverse.langchain4j.response.AiResponseAugmenter
Augment the response.
augmentationResult() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailParams
 
augmentationResult() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
Returns the value of the augmentationResult record component.
augmentationResult() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
Returns the value of the augmentationResult record component.
augmentationResult() - Method in record class io.quarkiverse.langchain4j.response.ResponseAugmenterParams
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
 
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
 
BeanIfExistsToolHallucinationStrategy() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsToolHallucinationStrategy
 
BeanIfExistsToolProviderSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanIfExistsToolProviderSupplier
 
BeanStreamingChatLanguageModelSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.BeanStreamingChatLanguageModelSupplier
 
beforeParsing(ParserHelper) - Method in class io.quarkiverse.langchain4j.QuarkusPromptTemplateFactory.MustacheTemplateVariableStyleParserHook
 
BLOCKING - Enum constant in enum class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo.ExecutionModel
 
blockRetry() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
 
blockRetry() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
 
blockRetry() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
 
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
 
cause() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
Returns the value of the cause record component.
cause() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
Returns the value of the cause record component.
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, List<Supplier<ToolProvider>>, List<ToolProvider>) - 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.
ChatModelSpanContributor - Interface in io.quarkiverse.langchain4j.runtime.listeners
Contributes custom attributes, events or other data to the spans created by SpanChatModelListener.
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
commit() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.NoopChatMemory
 
CompletionTextSpanContributor - Class in io.quarkiverse.langchain4j.runtime.listeners
Adds the prompt as a span attribute if so configured by the user
CompletionTextSpanContributor(boolean) - Constructor for class io.quarkiverse.langchain4j.runtime.listeners.CompletionTextSpanContributor
 
Context(Object, String, String, String, ToolMethodCreateInfo.ExecutionModel) - 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(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
 
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.
CustomLocalDateDeserializer - Class in io.quarkiverse.langchain4j.runtime.jackson
Often LLMs return a date as a JSON object containing the date's constituents
CustomLocalDateDeserializer() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.CustomLocalDateDeserializer
 
CustomLocalDateTimeDeserializer - Class in io.quarkiverse.langchain4j.runtime.jackson
Often LLMs return a datetime as a JSON object containing the datetime's constituents
CustomLocalDateTimeDeserializer() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.CustomLocalDateTimeDeserializer
 
CustomLocalTimeDeserializer - Class in io.quarkiverse.langchain4j.runtime.jackson
Often LLMs return a time as a JSON object containing the time's constituents
CustomLocalTimeDeserializer() - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.CustomLocalTimeDeserializer
 

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, Map<String, AnnotationLiteral<?>>, String, String, String, String, String, String, String, String, String, boolean, boolean, boolean, String) - 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
 
definitions() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Returns the value of the definitions record component.
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.
description() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution.Serialized
Returns the value of the description record component.
description() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution.Serialized
Returns the value of the description record component.
description() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution.Serialized
Returns the value of the description record component.
description() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution.Serialized
Returns the value of the description record component.
description() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution.Serialized
Returns the value of the description record component.
description() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Returns the value of the description record component.
description() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution.Serialized
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.CustomLocalDateDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class io.quarkiverse.langchain4j.runtime.jackson.CustomLocalDateTimeDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class io.quarkiverse.langchain4j.runtime.jackson.CustomLocalTimeDeserializer
 
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(JsonArraySchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution
 
deserialize(JsonBooleanSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution
 
deserialize(JsonEnumSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution
 
deserialize(JsonIntegerSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution
 
deserialize(JsonNumberSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution
 
deserialize(JsonObjectSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution
 
deserialize(JsonReferenceSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution
 
deserialize(JsonSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution
 
deserialize(JsonStringSchemaObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution
 
deserialize(ToolSpecificationObjectSubstitution.Serialized) - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution
 
deserialize(String) - Method in class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
deserialize(String, TypeReference<T>) - Method in class io.quarkiverse.langchain4j.guardrails.JsonGuardrailsUtils
 
deserialize(String, Class<T>) - Method in class io.quarkiverse.langchain4j.guardrails.JsonGuardrailsUtils
 
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

effectiveChatModel(AiServiceMethodCreateInfo, Object[]) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceContext
 
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.
enumValues() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution.Serialized
Returns the value of the enumValues record component.
equals(Object) - Method in record class io.quarkiverse.langchain4j.audit.InitialMessagesCreatedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionCompleteEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionFailureEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.audit.ResponseFromLLMReceivedEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.audit.ToolExecutedEvent
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.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.InputGuardrailResult.Failure
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.guardrails.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.guardrails.OutputGuardrailResult.Failure
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.response.ResponseAugmenterParams
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.aiservice.GuardrailsSupport.OutputGuardrailResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution.Serialized
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution.Serialized
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.
error() - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionFailureEvent
Returns the value of the error record component.
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
 
executionModel() - Method in record class io.quarkiverse.langchain4j.runtime.tool.QuarkusToolExecutor.Context
Returns the value of the executionModel record component.
executionModel() - Method in record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
Returns the value of the executionModel record component.
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(String) - Constructor for record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
 
Failure(String) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
 
Failure(String, Throwable) - Constructor for record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
 
Failure(String, Throwable) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
 
Failure(String, Throwable, boolean) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
 
Failure(String, Throwable, boolean, String) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
 
Failure(String, Throwable, Class<? extends Guardrail>) - Constructor for record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
Creates an instance of a Failure record class.
Failure(String, Throwable, Class<? extends Guardrail>, boolean, String) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
Creates an instance of a Failure record class.
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
 
from(AiMessage) - Static method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
 
from(AiMessage, Map<String, Object>) - Static method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
 
from(UserMessage) - Static method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
 
from(UserMessage, Map<String, Object>) - Static method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
 
fromMessage(ChatMessage) - Static method in class io.quarkiverse.langchain4j.runtime.devui.json.ChatMessagePojo
 
fromMethodParam(int, Optional<Integer>, 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>, 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.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.BeanIfExistsToolProviderSupplier
 
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() - Method in class io.quarkiverse.langchain4j.RegisterAiService.NoToolProviderSupplier
 
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
Provide authorization data which will be set as an HTTP Authorization header value.
getConfigValue(String) - Method in class io.quarkiverse.langchain4j.runtime.devui.OpenWebUIJsonRPCService
 
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
 
getInvalidJsonMessage(AiMessage, String) - Method in class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
getInvalidJsonReprompt(AiMessage, String) - Method in class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
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
 
getOutputClass() - Method in class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
getOutputGuardrailsClasses() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getOutputGuardrailsClassNames() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getOutputTokenAccumulator() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getOutputTokenAccumulatorClassName() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getOutputType() - Method in class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
getOverrideChatModelParamPosition() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getParameters() - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution.Serialized
 
getReprompt() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
 
getResponseAugmenter() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getResponseAugmenterClassName() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getResponseSchemaInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getResult() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
 
getResult() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
 
getResult() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
 
getReturnType() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getReturnTypeSignature() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getRewrittenResult() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport.OutputGuardrailResponse
 
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
 
getToolClassInfo() - 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
 
getUserMessageInfo() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
getUserMessageTemplate() - 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.
guardrailClass() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult.Failure
 
guardrailClass() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
Returns the value of the guardrailClass record component.
guardrailClass() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
Returns the value of the guardrailClass record component.
GuardrailException - Exception Class in io.quarkiverse.langchain4j.runtime.aiservice
Exception thrown when an 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
 
GuardrailsSupport.OutputGuardrailResponse - Record Class in io.quarkiverse.langchain4j.runtime.aiservice
 

H

hashCode() - Method in record class io.quarkiverse.langchain4j.audit.InitialMessagesCreatedEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionCompleteEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionFailureEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.audit.ResponseFromLLMReceivedEvent
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.audit.ToolExecutedEvent
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.InputGuardrailParams
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
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.OutputGuardrailParams
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
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.response.ResponseAugmenterParams
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.aiservice.GuardrailsSupport.OutputGuardrailResponse
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution.Serialized
Returns a hash code value for this object.
hashCode() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution.Serialized
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
 
hasRewrittenResult() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
 
hasRewrittenResult() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport.OutputGuardrailResponse
 
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
 
ignoreErrors() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
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.
includeCompletion() - Method in interface io.quarkiverse.langchain4j.runtime.config.TracingConfig
If enabled, the completion is included on the generated spans
includePrompt() - Method in interface io.quarkiverse.langchain4j.runtime.config.TracingConfig
If enabled, the prompt is included on the generated spans
InitialMessagesCreatedEvent - Record Class in io.quarkiverse.langchain4j.audit
Invoked when the original user and system messages have been created
InitialMessagesCreatedEvent(AuditSourceInfo, Optional<SystemMessage>, UserMessage) - Constructor for record class io.quarkiverse.langchain4j.audit.InitialMessagesCreatedEvent
Creates an instance of a InitialMessagesCreatedEvent record class.
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.
InputGuardrailParams - Record Class in io.quarkiverse.langchain4j.guardrails
Represents the parameter passed to InputGuardrail.validate(InputGuardrailParams).
InputGuardrailParams(UserMessage, ChatMemory, AugmentationResult, String, Map<String, Object>) - Constructor for record class io.quarkiverse.langchain4j.guardrails.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, String, List<InputGuardrailResult.Failure>) - Constructor for record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
Creates an instance of a InputGuardrailResult record class.
InputGuardrailResult.Failure - Record Class in io.quarkiverse.langchain4j.guardrails
 
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.
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
 
interactionId() - Method in interface io.quarkiverse.langchain4j.audit.AuditSourceInfo
A unique identifier that identifies this entire interaction with the LLM
interfaceName() - Method in interface io.quarkiverse.langchain4j.audit.AuditSourceInfo
The fully-qualified name of the interface where the llm interaction was initialized
invoke(Object, Object[]) - Method in interface io.quarkiverse.langchain4j.runtime.tool.ToolInvoker
 
invoke(T, AiServiceMethodCreateInfo, ResponseAugmenterParams) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.ResponseAugmenterSupport
 
invokeInputGuardrails(AiServiceMethodCreateInfo, UserMessage, ChatMemory, AugmentationResult, Map<String, Object>) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport
 
invokeInvalidJson(AiMessage, String) - Method in class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
invokeOutputGuardrails(AiServiceMethodCreateInfo, ChatMemory, ChatLanguageModel, ChatResponse, List<ToolSpecification>, OutputGuardrailParams) - Static method in class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport
 
invokeOutputGuardrailsForStream(AiServiceMethodCreateInfo, 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.response - package io.quarkiverse.langchain4j.response
 
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.substitution - package io.quarkiverse.langchain4j.runtime.substitution
 
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
 
isImage(Type) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeUtil
 
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.
isMulti(Type) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeUtil
 
isRequiresModeration() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
isResult(Type) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeUtil
 
isResultImage(Type) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeUtil
 
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
 
isSwitchToWorkerThreadForToolExecution() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
isTokenStream(Type) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeUtil
 
isTypeOf(Type, Class<?>) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeUtil
 
items() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution.Serialized
Returns the value of the items record component.

J

JsonArraySchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonArraySchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution
 
JsonArraySchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonBooleanSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonBooleanSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution
 
JsonBooleanSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonEnumSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonEnumSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution
 
JsonEnumSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonGuardrailsUtils - Class in io.quarkiverse.langchain4j.guardrails
 
JsonIntegerSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonIntegerSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution
 
JsonIntegerSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonNumberSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonNumberSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution
 
JsonNumberSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonObjectSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonObjectSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution
 
JsonObjectSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonReferenceSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonReferenceSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution
 
JsonReferenceSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution
 
JsonSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonStringSchemaObjectSubstitution - Class in io.quarkiverse.langchain4j.runtime.substitution
 
JsonStringSchemaObjectSubstitution() - Constructor for class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution
 
JsonStringSchemaObjectSubstitution.Serialized - Record Class in io.quarkiverse.langchain4j.runtime.substitution
 

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
 
LLMInteractionCompleteEvent - Record Class in io.quarkiverse.langchain4j.audit
Invoked when the final result of the AiService method has been computed
LLMInteractionCompleteEvent(AuditSourceInfo, Object) - Constructor for record class io.quarkiverse.langchain4j.audit.LLMInteractionCompleteEvent
Creates an instance of a LLMInteractionCompleteEvent record class.
LLMInteractionEvent - Interface in io.quarkiverse.langchain4j.audit
 
LLMInteractionFailureEvent - Record Class in io.quarkiverse.langchain4j.audit
Invoked when there was an exception computing the result of the AiService method
LLMInteractionFailureEvent(AuditSourceInfo, Exception) - Constructor for record class io.quarkiverse.langchain4j.audit.LLMInteractionFailureEvent
Creates an instance of a LLMInteractionFailureEvent record class.
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.InputGuardrailParams
Returns the value of the memory record component.
memory() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
Returns the value of the memory record component.
memory() - Method in record class io.quarkiverse.langchain4j.response.ResponseAugmenterParams
Returns the value of the memory record component.
memoryIDParamPosition() - Method in interface io.quarkiverse.langchain4j.audit.AuditSourceInfo
The position of the memory id parameter in AuditSourceInfo.methodParams(), if one exists
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
 
message() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
Returns the value of the message record component.
message() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
Returns the value of the message record component.
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 interface io.quarkiverse.langchain4j.audit.AuditSourceInfo
The method name on AuditSourceInfo.interfaceName() where the llm interaction was initiated
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.
methodParams() - Method in interface io.quarkiverse.langchain4j.audit.AuditSourceInfo
The parameters passed into the initial LLM call
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
Model authentication providers can be used to supply credentials such as access tokens, API keys, and other type of credentials.
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.
name() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution.Serialized
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
 
NON_BLOCKING - Enum constant in enum class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo.ExecutionModel
 
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
 
NoToolProviderSupplier() - Constructor for class io.quarkiverse.langchain4j.RegisterAiService.NoToolProviderSupplier
 
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, Optional<JsonSchema>) - 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
 
onCompleteResponse(ChatResponse) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceStreamingResponseHandler
 
onCompleteResponse(Consumer<ChatResponse>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
onError(ChatModelErrorContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
 
onError(ChatModelErrorContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.SpanChatModelListener
 
onError(ChatModelErrorContext, Span) - Method in interface io.quarkiverse.langchain4j.runtime.listeners.ChatModelSpanContributor
Allows for custom data to be added to the span.
onError(Throwable) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceStreamingResponseHandler
 
onError(Consumer<Throwable>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
onPartialResponse(String) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceStreamingResponseHandler
 
onPartialResponse(Consumer<String>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
onRequest(ChatModelRequestContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
 
onRequest(ChatModelRequestContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.SpanChatModelListener
 
onRequest(ChatModelRequestContext, Span) - Method in interface io.quarkiverse.langchain4j.runtime.listeners.ChatModelSpanContributor
Allows for custom data to be added to the span.
onRequest(ChatModelRequestContext, Span) - Method in class io.quarkiverse.langchain4j.runtime.listeners.PromptTextSpanContributor
 
onResponse(ChatModelResponseContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
 
onResponse(ChatModelResponseContext) - Method in class io.quarkiverse.langchain4j.runtime.listeners.SpanChatModelListener
 
onResponse(ChatModelResponseContext, Span) - Method in interface io.quarkiverse.langchain4j.runtime.listeners.ChatModelSpanContributor
Allows for custom data to be added to the span.
onResponse(ChatModelResponseContext, Span) - Method in class io.quarkiverse.langchain4j.runtime.listeners.CompletionTextSpanContributor
 
onRetrieved(Consumer<List<Content>>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
onToolExecuted(Consumer<ToolExecution>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
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.
OutputGuardrailAccumulator - Annotation Interface in io.quarkiverse.langchain4j.guardrails
An annotation to configure token accumulation when output guardrails are applied on streamed responses.
OutputGuardrailParams - Record Class in io.quarkiverse.langchain4j.guardrails
Represents the parameter passed to OutputGuardrail.validate(OutputGuardrailParams).
OutputGuardrailParams(AiMessage, ChatMemory, AugmentationResult, String, Map<String, Object>) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
Creates an instance of a OutputGuardrailParams record class.
OutputGuardrailResponse(ChatResponse, OutputGuardrailResult) - Constructor for record class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport.OutputGuardrailResponse
Creates an instance of a OutputGuardrailResponse record class.
OutputGuardrailResult - Record Class in io.quarkiverse.langchain4j.guardrails
The result of the validation of an OutputGuardrail
OutputGuardrailResult(GuardrailResult.Result, String, Object, List<OutputGuardrailResult.Failure>) - Constructor for record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
Creates an instance of a OutputGuardrailResult record class.
OutputGuardrailResult.Failure - Record Class in io.quarkiverse.langchain4j.guardrails
 
OutputGuardrails - Annotation Interface in io.quarkiverse.langchain4j.guardrails
An annotation to apply guardrails to the output of the model.
OutputTokenAccumulator - Interface in io.quarkiverse.langchain4j.guardrails
Interface to accumulate tokens when output guardrails are applied on streamed responses.
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

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
 
pdfParamPosition() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.UserMessageInfo
Returns the value of the pdfParamPosition record component.
PdfUrl - 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 @PdfUrl will be used as an PdfFileContent.
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(Collection<Object>, List<ToolSpecification>, Map<String, ToolExecutor>) - Static method in class io.quarkiverse.langchain4j.runtime.ToolsRecorder
 
priority() - Method in class io.quarkiverse.langchain4j.runtime.RequestScopeStateDefaultMemoryIdProvider
 
PromptTextSpanContributor - Class in io.quarkiverse.langchain4j.runtime.listeners
Adds the prompt as a span attribute if so configured by the user
PromptTextSpanContributor(boolean) - Constructor for class io.quarkiverse.langchain4j.runtime.listeners.PromptTextSpanContributor
 
properties() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Returns the value of the properties record component.
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
 
QuarkusAiServiceStreamingResponseHandler - Class in io.quarkiverse.langchain4j.runtime.aiservice
A StreamingResponseHandler implementation for Quarkus.
QuarkusAiServiceStreamingResponseHandler(AiServiceContext, Object, Consumer<String>, Consumer<ToolExecution>, Consumer<ChatResponse>, Consumer<Response<AiMessage>>, Consumer<Throwable>, List<ChatMessage>, TokenUsage, List<ToolSpecification>, Map<String, ToolExecutor>, boolean, boolean, Context, ExecutorService) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceStreamingResponseHandler
 
QuarkusAiServiceTokenStream - Class in io.quarkiverse.langchain4j.runtime.aiservice
An implementation of token stream for Quarkus.
QuarkusAiServiceTokenStream(List<ChatMessage>, List<ToolSpecification>, Map<String, ToolExecutor>, List<Content>, AiServiceContext, Object, Context, boolean, boolean) - Constructor for class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
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.
reference() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution.Serialized
Returns the value of the reference 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.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.BeanIfExistsToolHallucinationStrategy - Class in io.quarkiverse.langchain4j
Marker that is used to tell Quarkus to use the ToolHallucinationStrategy that the user has configured as a CDI bean.
RegisterAiService.BeanIfExistsToolProviderSupplier - Class in io.quarkiverse.langchain4j
Marker that is used to tell Quarkus to use the ToolProvider 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
RegisterAiService.NoToolProviderSupplier - Class in io.quarkiverse.langchain4j
Marker that is used when the user does not want any tool provider
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() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
Returns the value of the reprompt record component.
reprompt(String, String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
 
reprompt(String, Throwable, String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
 
request() - Method in record class io.quarkiverse.langchain4j.audit.ToolExecutedEvent
Returns the value of the request record component.
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
 
required() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Returns the value of the required record component.
reset(String) - Method in class io.quarkiverse.langchain4j.runtime.devui.ChatJsonRPCService
 
resolve(String) - Static method in interface io.quarkiverse.langchain4j.auth.ModelAuthProvider
Resolve ModelAuthProvider.
response() - Method in record class io.quarkiverse.langchain4j.audit.ResponseFromLLMReceivedEvent
Returns the value of the response record component.
response() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport.OutputGuardrailResponse
Returns the value of the response record component.
ResponseAugmenter - Annotation Interface in io.quarkiverse.langchain4j.response
An annotation to configure a response augmenter.
ResponseAugmenterParams - Record Class in io.quarkiverse.langchain4j.response
Represents the parameter passed to AiResponseAugmenter methods.
ResponseAugmenterParams(UserMessage, ChatMemory, AugmentationResult, String, Map<String, Object>) - Constructor for record class io.quarkiverse.langchain4j.response.ResponseAugmenterParams
Creates an instance of a ResponseAugmenterParams record class.
ResponseAugmenterSupport - Class in io.quarkiverse.langchain4j.runtime.aiservice
 
responseFromLLM() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
Returns the value of the responseFromLLM record component.
ResponseFromLLMReceivedEvent - Record Class in io.quarkiverse.langchain4j.audit
Invoked with a response from an LLM.
ResponseFromLLMReceivedEvent(AuditSourceInfo, ChatResponse) - Constructor for record class io.quarkiverse.langchain4j.audit.ResponseFromLLMReceivedEvent
Creates an instance of a ResponseFromLLMReceivedEvent record class.
ResponseSchemaInfo(boolean, boolean, Optional<Boolean>, String, Optional<JsonSchema>) - 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.audit.LLMInteractionCompleteEvent
Returns the value of the result record component.
result() - Method in record class io.quarkiverse.langchain4j.audit.ToolExecutedEvent
Returns the value of the result record component.
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.
result() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.GuardrailsSupport.OutputGuardrailResponse
Returns the value of the result record component.
resultTypeParam(ParameterizedType) - Static method in class io.quarkiverse.langchain4j.runtime.types.TypeUtil
 
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.
retry() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
Returns the value of the retry record component.
retry(String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
 
retry(String, Throwable) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
 
rewriteUserMessage(UserMessage, String) - Static method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
 
rootElement() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution.Serialized
Returns the value of the rootElement record component.
runOutEventLoop(Runnable) - Static method in class io.quarkiverse.langchain4j.runtime.VertxUtil
 

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(ToolSpecification) - Method in class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution
 
serialize(JsonArraySchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution
 
serialize(JsonBooleanSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution
 
serialize(JsonEnumSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution
 
serialize(JsonIntegerSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution
 
serialize(JsonNumberSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution
 
serialize(JsonObjectSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution
 
serialize(JsonReferenceSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution
 
serialize(JsonSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution
 
serialize(JsonStringSchema) - Method in class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution
 
Serialized(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String, JsonSchemaElement) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String, JsonSchemaElement) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String, String, JsonObjectSchema) - Constructor for class io.quarkiverse.langchain4j.runtime.tool.ToolSpecificationObjectSubstitution.Serialized
 
Serialized(String, List<String>) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
Serialized(String, Map<String, JsonSchemaElement>, List<String>, Boolean, Map<String, JsonSchemaElement>) - Constructor for record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Creates an instance of a Serialized record class.
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
 
setOutputTokenAccumulator(OutputTokenAccumulator) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
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
 
setResponseAugmenter(Class<? extends AiResponseAugmenter<?>>) - Method in class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo
 
SnakeCaseObjectMapperHolder() - Constructor for class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory.SnakeCaseObjectMapperHolder
 
sourceInfo() - Method in record class io.quarkiverse.langchain4j.audit.InitialMessagesCreatedEvent
Returns the value of the sourceInfo record component.
sourceInfo() - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionCompleteEvent
Returns the value of the sourceInfo record component.
sourceInfo() - Method in interface io.quarkiverse.langchain4j.audit.LLMInteractionEvent
 
sourceInfo() - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionFailureEvent
Returns the value of the sourceInfo record component.
sourceInfo() - Method in record class io.quarkiverse.langchain4j.audit.ResponseFromLLMReceivedEvent
Returns the value of the sourceInfo record component.
sourceInfo() - Method in record class io.quarkiverse.langchain4j.audit.ToolExecutedEvent
Returns the value of the sourceInfo record component.
SpanChatModelListener - Class in io.quarkiverse.langchain4j.runtime.listeners
Creates a span that follows the Semantic Conventions for GenAI operations
SpanChatModelListener(Tracer, CostEstimatorService, List<ChatModelSpanContributor>) - 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() - Method in class io.quarkiverse.langchain4j.runtime.aiservice.QuarkusAiServiceTokenStream
 
START_TIME_KEY_NAME - Static variable in class io.quarkiverse.langchain4j.runtime.listeners.MetricsChatModelListener
 
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.
structuredOutputSchema() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodCreateInfo.ResponseSchemaInfo
Returns the value of the structuredOutputSchema 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.
SUCCESS_WITH_RESULT - Enum constant in enum class io.quarkiverse.langchain4j.guardrails.GuardrailResult.Result
A successful validation with a specific result.
successfulResult() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
 
successfulResult() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
Returns the value of the successfulResult record component.
successfulText() - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult
 
successfulText() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
Returns the value of the successfulText record component.
successfulText() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
Returns the value of the successfulText record component.
successWith(String) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
 
successWith(String) - Static method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult
 
successWith(String) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
 
successWith(String) - Static method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
 
successWith(String, Object) - Method in interface io.quarkiverse.langchain4j.guardrails.OutputGuardrail
 
successWith(String, Object) - Static method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult
 
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
 
systemMessage() - Method in record class io.quarkiverse.langchain4j.audit.InitialMessagesCreatedEvent
Returns the value of the systemMessage record component.
SystemMessageMixin - Class in io.quarkiverse.langchain4j.runtime.jackson
 
SystemMessageMixin(String) - Constructor for class io.quarkiverse.langchain4j.runtime.jackson.SystemMessageMixin
 

T

temperature() - Method in interface io.quarkiverse.langchain4j.runtime.config.LangChain4jConfig
Global temperature for LLM APIs
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
 
ToolExecutedEvent - Record Class in io.quarkiverse.langchain4j.audit
Invoked with a tool response from an LLM.
ToolExecutedEvent(AuditSourceInfo, ToolExecutionRequest, String) - Constructor for record class io.quarkiverse.langchain4j.audit.ToolExecutedEvent
Creates an instance of a ToolExecutedEvent record class.
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
 
toolHallucinationStrategy() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
Strategy to be used when the AI service hallucinates the tool name.
toolHallucinationStrategy(Object) - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
 
toolHallucinationStrategyClassName() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the toolHallucinationStrategyClassName record component.
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, ToolMethodCreateInfo.ExecutionModel) - Constructor for record class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo
Creates an instance of a ToolMethodCreateInfo record class.
ToolMethodCreateInfo.ExecutionModel - Enum Class in io.quarkiverse.langchain4j.runtime.tool
 
toolProviderSupplier() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
Configures a toolProviderSupplier.
toolProviderSupplier() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the toolProviderSupplier record component.
tools() - Element in annotation interface io.quarkiverse.langchain4j.RegisterAiService
Tool classes to use.
tools(Collection<Object>) - Method in class io.quarkiverse.langchain4j.QuarkusAiServicesFactory.QuarkusAiServices
 
toolsClassInfo() - Method in record class io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo
Returns the value of the toolsClassInfo 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.InitialMessagesCreatedEvent
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionCompleteEvent
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.audit.LLMInteractionFailureEvent
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.audit.ResponseFromLLMReceivedEvent
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.audit.ToolExecutedEvent
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.InputGuardrailParams
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
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.OutputGuardrailParams
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
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.response.ResponseAugmenterParams
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.aiservice.GuardrailsSupport.OutputGuardrailResponse
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonArraySchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonBooleanSchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonEnumSchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonIntegerSchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonNumberSchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonObjectSchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonReferenceSchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonSchemaObjectSubstitution.Serialized
Returns a string representation of this record class.
toString() - Method in record class io.quarkiverse.langchain4j.runtime.substitution.JsonStringSchemaObjectSubstitution.Serialized
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.
tracing() - Method in interface io.quarkiverse.langchain4j.runtime.config.LangChain4jConfig
Tracing related configuration
TracingConfig - Interface in io.quarkiverse.langchain4j.runtime.config
 
trimNonJson(String) - Method in class io.quarkiverse.langchain4j.guardrails.JsonGuardrailsUtils
 
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
 
TypeUtil - Class in io.quarkiverse.langchain4j.runtime.types
 

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.audit.InitialMessagesCreatedEvent
Returns the value of the userMessage record component.
userMessage() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
Returns the value of the userMessage record component.
userMessage() - Method in record class io.quarkiverse.langchain4j.response.ResponseAugmenterParams
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>, 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
 
userMessageTemplate() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
Returns the value of the userMessageTemplate record component.
userMessageTemplate() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
Returns the value of the userMessageTemplate record component.
userMessageTemplate() - Method in record class io.quarkiverse.langchain4j.response.ResponseAugmenterParams
Returns the value of the userMessageTemplate record component.
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 class io.quarkiverse.langchain4j.guardrails.AbstractJsonExtractorOutputGuardrail
 
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(InputGuardrailParams) - Method in interface io.quarkiverse.langchain4j.guardrails.InputGuardrail
Validates the input that will be sent to the LLM.
validate(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.OutputGuardrailAccumulator
The class of the CDI bean implementing the OutputTokenAccumulator interface.
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() - Element in annotation interface io.quarkiverse.langchain4j.response.ResponseAugmenter
The class of the CDI bean implementing the AiResponseAugmenter interface.
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.
valueOf(String) - Static method in enum class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo.ExecutionModel
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.
values() - Static method in enum class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo.ExecutionModel
Returns an array containing the constants of this enum class, in the order they are declared.
variables() - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
Returns the value of the variables record component.
variables() - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
Returns the value of the variables record component.
variables() - Method in record class io.quarkiverse.langchain4j.response.ResponseAugmenterParams
Returns the value of the variables record component.
VertxUtil - Class in io.quarkiverse.langchain4j.runtime
 
VertxUtil() - Constructor for class io.quarkiverse.langchain4j.runtime.VertxUtil
 
VIRTUAL_THREAD - Enum constant in enum class io.quarkiverse.langchain4j.runtime.tool.ToolMethodCreateInfo.ExecutionModel
 

W

withGuardrailClass(Class<? extends Guardrail>) - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailResult.Failure
 
withGuardrailClass(Class<? extends Guardrail>) - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailResult.Failure
 
withGuardrailClass(Class<? extends Guardrail>) - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailResult.Failure
 
withText(String) - Method in interface io.quarkiverse.langchain4j.guardrails.GuardrailParams
Recreate this guardrail param with the given input or output text.
withText(String) - Method in record class io.quarkiverse.langchain4j.guardrails.InputGuardrailParams
 
withText(String) - Method in record class io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
 
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
 
WRITER - Static variable in class io.quarkiverse.langchain4j.QuarkusJsonCodecFactory.ObjectMapperHolder
 
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form