A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W 

A

add(java.lang.String,Object) - function in dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.
add(java.lang.String,java.lang.String) - function in dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.
add(dev.langchain4j.data.message.ChatMessage) - function in dev.langchain4j.memory.ChatMemory
Adds a message to the chat memory.
add(dev.langchain4j.model.output.TokenUsage) - function in dev.langchain4j.model.output.TokenUsage
Adds the token usage of two responses together.
add(dev.langchain4j.data.embedding.Embedding) - function in dev.langchain4j.store.embedding.EmbeddingStore
Adds a given embedding to the store.
add(dev.langchain4j.data.embedding.Embedding,Embedded) - function in dev.langchain4j.store.embedding.EmbeddingStore
Adds a given embedding and the corresponding content that has been embedded to the store.
add(java.lang.String,dev.langchain4j.data.embedding.Embedding) - function in dev.langchain4j.store.embedding.EmbeddingStore
Adds a given embedding to the store.
addAll(java.util.List) - function in dev.langchain4j.store.embedding.EmbeddingStore
Adds multiple embeddings to the store.
addAll(java.util.List,java.util.List) - function in dev.langchain4j.store.embedding.EmbeddingStore
Adds multiple embeddings and their corresponding contents that have been embedded to the store.
addAll(java.util.List,java.util.List,java.util.List) - function in dev.langchain4j.store.embedding.EmbeddingStore
Adds multiple embeddings and their corresponding contents that have been embedded to the store.
addBooleanProperty(java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single boolean property to the properties of this JSON object.
addBooleanProperty(java.lang.String,java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single boolean property with a description to the properties of this JSON object.
addEnumProperty(java.lang.String,java.util.List) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single enum property to the properties of this JSON object.
addEnumProperty(java.lang.String,java.util.List,java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single enum property with a description to the properties of this JSON object.
addIntegerProperty(java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single integer property to the properties of this JSON object.
addIntegerProperty(java.lang.String,java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single integer property with a description to the properties of this JSON object.
additionalParams() - function in dev.langchain4j.web.search.WebSearchRequest
Get the additional parameters for the search request.
additionalParams(java.util.Map) - function in dev.langchain4j.web.search.WebSearchRequest.Builder
Set the additional parameters for the search request.
additionalProperties() - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
additionalProperties(java.lang.Boolean) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
 
addNumberProperty(java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single number property to the properties of this JSON object.
addNumberProperty(java.lang.String,java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single number property with a description to the properties of this JSON object.
addOptionalParameter(java.lang.String,kotlin.Array) - function in dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds an optional parameter to the tool.
addOptionalParameter(java.lang.String,java.lang.Iterable) - function in dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds an optional parameter to the tool.
addParameter(java.lang.String,kotlin.Array) - function in dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds a parameter to the tool.
addParameter(java.lang.String,java.lang.Iterable) - function in dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds a parameter to the tool.
addProperties(java.util.Map) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds all properties in the parameter Map to the properties of this JSON object.
addProperty(java.lang.String,dev.langchain4j.model.chat.request.json.JsonSchemaElement) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single property to the properties of this JSON object.
addStringProperty(java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single string property to the properties of this JSON object.
addStringProperty(java.lang.String,java.lang.String) - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single string property with a description to the properties of this JSON object.
addSuppressed(java.lang.Throwable) - function in java.lang.Throwable
 
aggregate(java.util.Map) - function in dev.langchain4j.rag.content.aggregator.ContentAggregator
Aggregates all Contents retrieved by all ContentRetrievers using all Querys.
aggregate(java.util.Map) - function in dev.langchain4j.rag.content.aggregator.DefaultContentAggregator
Aggregates all Contents retrieved by all ContentRetrievers using all Querys.
aggregate(java.util.Map) - function in dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
Aggregates all Contents retrieved by all ContentRetrievers using all Querys.
AI - enum entry in dev.langchain4j.data.message.ChatMessageType

A message from the AI.

AiMessage - class in dev.langchain4j.data.message
Represents a response message from an AI (language model).
aiMessage(kotlin.Array) - function in dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given tool execution requests.
aiMessage(java.lang.String) - function in dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text.
aiMessage(java.lang.String,java.util.List) - function in dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text and tool execution requests.
aiMessage(java.util.List) - function in dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given tool execution requests.
aiMessage() - function in dev.langchain4j.model.chat.listener.ChatModelResponse
 
aiMessage(dev.langchain4j.data.message.AiMessage) - function in dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
 
aiMessage() - function in dev.langchain4j.model.chat.response.ChatResponse
 
aiMessage(dev.langchain4j.data.message.AiMessage) - function in dev.langchain4j.model.chat.response.ChatResponse.Builder
 
and(dev.langchain4j.store.embedding.filter.Filter) - function in dev.langchain4j.store.embedding.filter.Filter
 
and(dev.langchain4j.store.embedding.filter.Filter) - function in dev.langchain4j.store.embedding.filter.Filter
 
and(dev.langchain4j.store.embedding.filter.Filter,dev.langchain4j.store.embedding.filter.Filter) - function in dev.langchain4j.store.embedding.filter.Filter
 
and(dev.langchain4j.store.embedding.filter.Filter,dev.langchain4j.store.embedding.filter.Filter) - function in dev.langchain4j.store.embedding.filter.Filter
 
And - class in dev.langchain4j.store.embedding.filter.logical
 
annotationType() - function in java.lang.annotation.Annotation
 
anyOf() - function in dev.langchain4j.model.chat.request.json.JsonAnyOfSchema
 
anyOf(kotlin.Array) - function in dev.langchain4j.model.chat.request.json.JsonAnyOfSchema.Builder
 
anyOf(java.util.List) - function in dev.langchain4j.model.chat.request.json.JsonAnyOfSchema.Builder
 
apply(Object) - function in dev.langchain4j.model.input.PromptTemplate
Applies a value to a template containing a single variable.
apply(java.util.Map) - function in dev.langchain4j.model.input.PromptTemplate
Applies multiple values to a template containing multiple variables.
areNotNullOrBlank(kotlin.Array) - function in dev.langchain4j.internal.Utils
Are all the given strings not null and not blank?
arguments() - function in dev.langchain4j.agent.tool.ToolExecutionRequest
Returns the arguments of the tool.
arguments(java.lang.String) - function in dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
Sets the arguments.
asMap() - function in dev.langchain4j.data.document.Metadata
Get a copy of the metadata as a map of key-value pairs.
attributes() - function in dev.langchain4j.data.message.CustomMessage
Returns the message attributes.
attributes() - function in dev.langchain4j.model.chat.listener.ChatModelErrorContext
 
attributes() - function in dev.langchain4j.model.chat.listener.ChatModelRequestContext
 
attributes() - function in dev.langchain4j.model.chat.listener.ChatModelResponseContext
 
Audio - class in dev.langchain4j.data.audio
 
audio() - function in dev.langchain4j.data.message.AudioContent
Get the Audio.
AUDIO - enum entry in dev.langchain4j.data.message.ContentType

Audio content.

Audio.Builder - class in dev.langchain4j.data.audio.Audio
Builder for Audio.
AudioContent - class in dev.langchain4j.data.message
 
augment(dev.langchain4j.data.message.UserMessage,dev.langchain4j.rag.query.Metadata) - function in dev.langchain4j.rag.DefaultRetrievalAugmentor
 
augment(dev.langchain4j.rag.AugmentationRequest) - function in dev.langchain4j.rag.DefaultRetrievalAugmentor
Augments the ChatMessage provided in the AugmentationRequest with retrieved Contents.
augment(dev.langchain4j.data.message.UserMessage,dev.langchain4j.rag.query.Metadata) - function in dev.langchain4j.rag.RetrievalAugmentor
Augments the provided UserMessage with retrieved content.
augment(dev.langchain4j.rag.AugmentationRequest) - function in dev.langchain4j.rag.RetrievalAugmentor
Augments the ChatMessage provided in the AugmentationRequest with retrieved Contents.
AugmentationRequest - class in dev.langchain4j.rag
Represents a request for ChatMessage augmentation.
AugmentationResult - class in dev.langchain4j.rag
Represents the result of a ChatMessage augmentation.
AugmentationResult.AugmentationResultBuilder - class in dev.langchain4j.rag.AugmentationResult
 
AUTO - enum entry in dev.langchain4j.data.message.ImageContent.DetailLevel

Auto detail.

AUTO - enum entry in dev.langchain4j.model.chat.request.ToolChoice

The language model is free to decide whether to call one or multiple tools.

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W