Index

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

A

ABSOLUTE_DIRECTORY_PATH - Static variable in class dev.langchain4j.data.document.Document
Common metadata key for the absolute path of the directory from which the document was loaded.
AbstractAzureAiSearchEmbeddingStore - Class in dev.langchain4j.store.embedding.azure.search
 
AbstractAzureAiSearchEmbeddingStore() - Constructor for class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
AbstractBedrockChatModel<T> - Class in dev.langchain4j.model.bedrock.internal
Bedrock chat model
AbstractBedrockChatModel() - Constructor for class dev.langchain4j.model.bedrock.internal.AbstractBedrockChatModel
 
AbstractBedrockEmbeddingModel<T> - Class in dev.langchain4j.model.bedrock.internal
Abstract bedrock embedding model
AbstractBedrockEmbeddingModel() - Constructor for class dev.langchain4j.model.bedrock.internal.AbstractBedrockEmbeddingModel
 
AbstractBedrockStreamingChatModel - Class in dev.langchain4j.model.bedrock.internal
Bedrock Streaming chat model
AbstractBedrockStreamingChatModel() - Constructor for class dev.langchain4j.model.bedrock.internal.AbstractBedrockStreamingChatModel
 
AbstractSharedBedrockChatModel - Class in dev.langchain4j.model.bedrock.internal
 
AbstractSharedBedrockChatModel() - Constructor for class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
AbstractWorkersAIModel - Class in dev.langchain4j.model.workersai.client
Abstract class for WorkerAI models as they are all initialized the same way.
AbstractWorkersAIModel(String, String, String) - Constructor for class dev.langchain4j.model.workersai.client.AbstractWorkersAIModel
Simple constructor.
accessToken(String) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
accessToken(String) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
accessToken(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse.Builder
 
accountId - Variable in class dev.langchain4j.model.workersai.client.AbstractWorkersAIModel
Account identifier, provided by the WorkerAI platform.
accountId - Variable in class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
Account identifier, provided by the WorkerAI platform.
accountId - Variable in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
Account identifier, provided by the WorkerAI platform.
accountId - Variable in class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
Account identifier, provided by the WorkerAI platform.
accountId - Variable in class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
Account identifier, provided by the WorkerAI platform.
accountId(String) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
Simple constructor.
accountId(String) - Method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
Simple constructor.
accountId(String) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
Simple constructor.
accountId(String) - Method in class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
Simple constructor.
add(ToolSpecification, ToolExecutor) - Method in class dev.langchain4j.service.tool.ToolProviderResult.Builder
 
add(Document) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
Add Document to the full text search engine.
add(Embedding) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Add a new embedding to the store.
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Add a new embedding to the store.
add(Embedding) - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Adds a given embedding to the store.
add(Embedding) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Add an embedding to the store.
add(Embedding) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
add(Embedding) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Adds a given embedding to the store.
add(Embedding) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Adds a given embedding to the store.
add(Embedding) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.vespa.VespaEmbeddingStore
 
add(Embedding) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Adds a given embedding and the corresponding content that has been embedded to the store.
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Add an embedding and the related content to the store.
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Adds a given embedding and the corresponding content that has been embedded to the store.
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.vespa.VespaEmbeddingStore
 
add(Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
 
add(Embedding, Embedded) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Adds a given embedding and the corresponding content that has been embedded to the store.
add(Embedding, Embedded) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
add(ChatMessage) - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory
 
add(ChatMessage) - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory
 
add(ChatMessage) - Method in interface dev.langchain4j.memory.ChatMemory
Adds a message to the chat memory.
add(TextSegment) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
Add TextSegment to the full text search engine.
add(TokenUsage) - Method in class dev.langchain4j.model.output.TokenUsage
add(Usage) - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Add a new embedding to the store.
add(String) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
Add content to the full text search engine.
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Adds a given embedding to the store.
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Add an embedding to the store.
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
add(String, Embedding) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Adds a given embedding to the store.
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Adds a given embedding to the store.
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.vespa.VespaEmbeddingStore
Adds a new embedding with provided ID to the store.
add(String, Embedding) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
Adds a new embedding with provided ID to the store.
add(String, Embedding, Embedded) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
add(String, Object) - Method in class dev.langchain4j.data.document.Metadata
add(String, String) - Method in class dev.langchain4j.data.document.Metadata
add(List<TextSegment>) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
Add a list of TextSegments to the full text search engine.
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Adds multiple embeddings to the store.
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Add a list of embeddings to the store.
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Add multiple embeddings as a single action.
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
addAll(List<Embedding>) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Adds multiple embeddings to the store.
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Adds multiple embeddings to the store.
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.vespa.VespaEmbeddingStore
 
addAll(List<Embedding>) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Add multiple embeddings as a single action.
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Add a list of embeddings, and the list of related content, to the store.
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Add multiple embeddings as a single action.
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Adds multiple embeddings and their corresponding contents that have been embedded to the store.
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.vespa.VespaEmbeddingStore
 
addAll(List<Embedding>, List<TextSegment>) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
 
addAll(List<Embedding>, List<Embedded>) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Adds multiple embeddings and their corresponding contents that have been embedded to the store.
addAll(List<Embedding>, List<Embedded>) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
addAll(Map<ToolSpecification, ToolExecutor>) - Method in class dev.langchain4j.service.tool.ToolProviderResult.Builder
 
addAssistantMessage(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
addAssistantMessage(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
addColumn(String, String) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition.Builder
 
addColumn(String, String, String) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition.Builder
 
addFunction(Function) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
addFunctionMessage(String, String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
additionalParams() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the additional parameters for the search request.
additionalParams(Map<String, Object>) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the additional parameters for the search request.
additionalProperties() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
additionalProperties(Boolean) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
 
addMessage(WorkersAiChatCompletionRequest.MessageRole, String) - Method in class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest
Adds a new message to the chat completion request.
addOptionalParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds an optional parameter to the tool.
addOptionalParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.model.zhipu.chat.Function.Builder
 
addOptionalParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
addOptionalParameter(String, Iterable<JsonSchemaProperty>) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds an optional parameter to the tool.
addParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds a parameter to the tool.
addParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.model.zhipu.chat.Function.Builder
 
addParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
addParameter(String, Iterable<JsonSchemaProperty>) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Adds a parameter to the tool.
addSystemMessage(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
addSystemMessage(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
addToolMessage(String, String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
addUserMessage(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
addUserMessage(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
aggregate(Map<Query, Collection<List<Content>>>) - Method in interface dev.langchain4j.rag.content.aggregator.ContentAggregator
Aggregates all Contents retrieved by all ContentRetrievers using all Querys.
aggregate(Map<Query, Collection<List<Content>>>) - Method in class dev.langchain4j.rag.content.aggregator.DefaultContentAggregator
 
aggregate(Map<Query, Collection<List<Content>>>) - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 
ai - Enum constant in enum class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest.MessageRole
The message is from the AI.
AI - Enum constant in enum class dev.langchain4j.data.message.ChatMessageType
A message from the AI.
aiMessage() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse
 
aiMessage() - Method in class dev.langchain4j.model.chat.response.ChatResponse
 
aiMessage(ToolExecutionRequest...) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given tool execution requests.
aiMessage(AiMessage) - Method in class dev.langchain4j.model.chat.response.ChatResponse.Builder
 
aiMessage(String) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text.
aiMessage(String, List<ToolExecutionRequest>) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text and tool execution requests.
aiMessage(List<ToolExecutionRequest>) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given tool execution requests.
AiMessage - Class in dev.langchain4j.data.message
Represents a response message from an AI (language model).
AiMessage(String) - Constructor for class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text.
AiMessage(String, List<ToolExecutionRequest>) - Constructor for class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text and tool execution requests.
AiMessage(List<ToolExecutionRequest>) - Constructor for class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given tool execution requests.
aiMessageFrom(ChatCompletionResponse) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
 
aiMessageFrom(MistralAiChatCompletionResponse) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
aiMessageFrom(ChatCompletionResponse) - Static method in class dev.langchain4j.model.qianfan.InternalQianfanHelper
 
aiServiceClass - Variable in class dev.langchain4j.service.AiServiceContext
 
AiServiceContext - Class in dev.langchain4j.service
 
AiServiceContext(Class<?>) - Constructor for class dev.langchain4j.service.AiServiceContext
 
AiServices<T> - Class in dev.langchain4j.service
AI Services provide a simpler and more flexible alternative to chains.
AiServices(AiServiceContext) - Constructor for class dev.langchain4j.service.AiServices
 
AiServicesFactory - Interface in dev.langchain4j.spi.services
 
AiServiceTokenStream - Class in dev.langchain4j.service
 
AiServiceTokenStream(List<ChatMessage>, List<ToolSpecification>, Map<String, ToolExecutor>, List<Content>, AiServiceContext, Object) - Constructor for class dev.langchain4j.service.AiServiceTokenStream
 
ALL - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.ReturnLikelihood
 
ALLOW_ADULT - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.PersonGeneration
 
ALLOW_ALL - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.PersonGeneration
 
AmazonS3DocumentLoader - Class in dev.langchain4j.data.document.loader.amazon.s3
 
AmazonS3DocumentLoader(S3Client) - Constructor for class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader
 
AmazonS3DocumentLoader.Builder - Class in dev.langchain4j.data.document.loader.amazon.s3
 
AmazonS3Source - Class in dev.langchain4j.data.document.source.amazon.s3
 
AmazonS3Source(InputStream, String, String) - Constructor for class dev.langchain4j.data.document.source.amazon.s3.AmazonS3Source
 
AnalogFilm - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
and(Filter) - Method in interface dev.langchain4j.store.embedding.filter.Filter
 
and(Filter, Filter) - Static method in interface dev.langchain4j.store.embedding.filter.Filter
 
And - Class in dev.langchain4j.store.embedding.filter.logical
 
And(Filter, Filter) - Constructor for class dev.langchain4j.store.embedding.filter.logical.And
 
Anime - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
ANIME - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
AnthropicApi - Interface in dev.langchain4j.model.anthropic.internal.api
 
AnthropicChatModel - Class in dev.langchain4j.model.anthropic
Represents an Anthropic language model with a Messages (chat) API.
AnthropicChatModel.AnthropicChatModelBuilder - Class in dev.langchain4j.model.anthropic
 
AnthropicChatModelBuilder() - Constructor for class dev.langchain4j.model.anthropic.AnthropicChatModel.AnthropicChatModelBuilder
 
AnthropicChatModelName - Enum Class in dev.langchain4j.model.anthropic
See more details here.
AnthropicClaude3HaikuV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
 
AnthropicClaude3SonnetV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel.Types
 
AnthropicClaude3SonnetV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
 
AnthropicClaudeInstantV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel.Types
 
AnthropicClaudeInstantV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
 
AnthropicClaudeV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel.Types
 
AnthropicClaudeV2 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel.Types
 
AnthropicClaudeV2 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
 
AnthropicClaudeV2 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicStreamingChatModel.Types
 
AnthropicClaudeV2_1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel.Types
 
AnthropicClaudeV2_1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
 
AnthropicClaudeV2_1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicStreamingChatModel.Types
 
AnthropicClient - Class in dev.langchain4j.model.anthropic.internal.client
 
AnthropicClient() - Constructor for class dev.langchain4j.model.anthropic.internal.client.AnthropicClient
 
AnthropicClient.Builder<T,B> - Class in dev.langchain4j.model.anthropic.internal.client
 
AnthropicClientBuilderFactory - Interface in dev.langchain4j.model.anthropic.internal.client
 
AnthropicContent - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicContent() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicContent
 
AnthropicCreateMessageRequest - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicCreateMessageRequest() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
AnthropicCreateMessageResponse - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicCreateMessageResponse() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
AnthropicDelta - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicDelta() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicDelta
 
AnthropicHttpException - Exception Class in dev.langchain4j.model.anthropic.internal.client
 
AnthropicHttpException(Integer, String) - Constructor for exception class dev.langchain4j.model.anthropic.internal.client.AnthropicHttpException
 
AnthropicImageContent - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicImageContent(String, String) - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicImageContent
 
AnthropicImageContentSource - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicImageContentSource() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicImageContentSource
 
AnthropicMapper - Class in dev.langchain4j.model.anthropic.internal.mapper
 
AnthropicMapper() - Constructor for class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
AnthropicMessage - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicMessage() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicMessage
 
AnthropicMessageContent - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicMessageContent(String) - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicMessageContent
 
AnthropicResponseMessage - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicResponseMessage() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
AnthropicRole - Enum Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicStreamingChatModel - Class in dev.langchain4j.model.anthropic
Represents an Anthropic language model with a Messages (chat) API.
AnthropicStreamingChatModel.AnthropicStreamingChatModelBuilder - Class in dev.langchain4j.model.anthropic
 
AnthropicStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.anthropic.AnthropicStreamingChatModel.AnthropicStreamingChatModelBuilder
 
AnthropicStreamingData - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicStreamingData() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicStreamingData
 
AnthropicTextContent - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicTextContent(String) - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicTextContent
 
AnthropicTool - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicTool() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicTool
 
AnthropicToolResultContent - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicToolResultContent(String, String, Boolean) - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicToolResultContent
 
AnthropicToolSchema - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicToolSchema() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicToolSchema
 
AnthropicToolUseContent - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicToolUseContent(String, String, Map<String, Object>) - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent
 
AnthropicUsage - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicUsage() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicUsage
 
anthropicVersion - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
ANY - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolChoiceName
 
ANY - Enum constant in enum class dev.langchain4j.model.vertexai.ToolCallingMode
Gemini must ask only for a specified set of function calls (defined by the allowedFunctionNames() method)
ApachePdfBoxDocumentParser - Class in dev.langchain4j.data.document.parser.apache.pdfbox
Parses PDF file into a Document using Apache PDFBox library
ApachePdfBoxDocumentParser() - Constructor for class dev.langchain4j.data.document.parser.apache.pdfbox.ApachePdfBoxDocumentParser
 
ApachePdfBoxDocumentParser(boolean) - Constructor for class dev.langchain4j.data.document.parser.apache.pdfbox.ApachePdfBoxDocumentParser
 
ApachePoiDocumentParser - Class in dev.langchain4j.data.document.parser.apache.poi
Parses Microsoft Office file into a Document using Apache POI library.
ApachePoiDocumentParser() - Constructor for class dev.langchain4j.data.document.parser.apache.poi.ApachePoiDocumentParser
 
ApacheTikaDocumentParser - Class in dev.langchain4j.data.document.parser.apache.tika
Parses files into Documents using Apache Tika library, automatically detecting the file format.
ApacheTikaDocumentParser() - Constructor for class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
Creates an instance of an ApacheTikaDocumentParser with the default Tika components.
ApacheTikaDocumentParser(Supplier<Parser>, Supplier<ContentHandler>, Supplier<Metadata>, Supplier<ParseContext>) - Constructor for class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
Creates an instance of an ApacheTikaDocumentParser with the provided suppliers for Tika components.
ApacheTikaDocumentParser(Parser, ContentHandler, Metadata, ParseContext) - Constructor for class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
Deprecated.
Use the constructor with suppliers for Tika components if you intend to use this parser for multiple files.
ApacheTikaDocumentParserFactory - Class in dev.langchain4j.data.document.parser.apache.tika
 
ApacheTikaDocumentParserFactory() - Constructor for class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParserFactory
 
apiKey - Variable in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
apiKey - Variable in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
apiKey - Variable in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
apiKey() - Method in interface dev.langchain4j.model.huggingface.spi.HuggingFaceClientFactory.Input
 
apiKey(String) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
apiKey(String) - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
apiKey(String) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
apiKey(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
apiKey(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
apiKey(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
apiKey(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
apiKey(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
apiKey(String) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the Azure AI Search API key.
apiKey(String) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
Sets the Azure AI Search API key.
apiKey(String) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
apiKey(String) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
apiKey(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
 
apiKey(String) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
ApiResponse<T> - Class in dev.langchain4j.model.workersai.client
Multiple models leverage the same output format, so we can use this class to parse the response.
ApiResponse() - Constructor for class dev.langchain4j.model.workersai.client.ApiResponse
Default constructor.
ApiResponse.Error - Class in dev.langchain4j.model.workersai.client
Error class.
apiToken - Variable in class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
ModelName, preferred as enum for extensibility.
apiToken - Variable in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
ModelName, preferred as enum for extensibility.
apiToken - Variable in class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
ModelName, preferred as enum for extensibility.
apiToken - Variable in class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
ModelName, preferred as enum for extensibility.
apiToken(String) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
Sets the apiToken for the Worker AI model builder.
apiToken(String) - Method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
Sets the apiToken for the Worker AI model builder.
apiToken(String) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
Sets the apiToken for the Worker AI model builder.
apiToken(String) - Method in class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
Sets the apiToken for the Worker AI model builder.
apiUrl(String) - Method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader.Builder
 
append(GenerationResult) - Method in class dev.langchain4j.model.dashscope.QwenStreamingResponseBuilder
 
append(MultiModalConversationResult) - Method in class dev.langchain4j.model.dashscope.QwenStreamingResponseBuilder
 
append(ChatCompletionResponse) - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
 
append(CompletionResponse) - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
 
append(ChatCompletionResponse) - Method in class dev.langchain4j.model.qianfan.client.QianfanStreamingResponseBuilder
 
append(CompletionResponse) - Method in class dev.langchain4j.model.qianfan.client.QianfanStreamingResponseBuilder
 
applicationName(String) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
apply(Object) - Method in class dev.langchain4j.model.input.PromptTemplate
Applies a value to a template containing a single variable.
apply(Map<String, Object>) - Method in class dev.langchain4j.model.input.PromptTemplate
Applies multiple values to a template containing multiple variables.
AQUILACHAT_7B - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
areNotNullOrBlank(String...) - Static method in class dev.langchain4j.internal.Utils
Are all the given strings not null and not blank?
argument(String) - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
arguments() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
Returns the arguments of the tool.
arguments() - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
arguments(String) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
Sets the arguments.
arguments(String) - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall.Builder
 
arguments(String) - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall.FunctionCallBuilder
 
argumentsAsMap() - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
ARRAY - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
A property with key "type" and value "array".
ARRAY - Static variable in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
Artifact() - Constructor for class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModelResponse.Artifact
 
asMap() - Method in class dev.langchain4j.data.document.Metadata
Deprecated.
as of 0.31.0, use Metadata.toMap() instead.
aspectRatio(VertexAiImageModel.AspectRatio) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
ASSISTANT - Enum constant in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicRole
 
ASSISTANT - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiRole
 
ASSISTANT - Enum constant in enum class dev.langchain4j.model.qianfan.client.chat.Role
 
ASSISTANT - Enum constant in enum class dev.langchain4j.model.zhipu.chat.Role
 
ASSISTANT_PROMPT - Static variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
assistantMessage(String) - Static method in class dev.langchain4j.model.qianfan.client.chat.Message
 
AssistantMessage - Class in dev.langchain4j.model.zhipu.chat
 
AssistantMessage() - Constructor for class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
AssistantMessage(String, String, List<ToolCall>) - Constructor for class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
AssistantMessage.Builder - Class in dev.langchain4j.model.zhipu.chat
 
assistantPrompt - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
AstraDbEmbeddingStore - Class in dev.langchain4j.store.embedding.astradb
Implementation of EmbeddingStore using AstraDB.
AstraDbEmbeddingStore(AstraDBCollection) - Constructor for class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Initialization of the store with an EXISTING collection.
AstraDbEmbeddingStore(AstraDBCollection, int, int) - Constructor for class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Initialization of the store with an EXISTING collection.
AsyncRequestExecutor<Response,ResponseContent> - Class in dev.langchain4j.model.qianfan.client
 
AsyncResponseHandling - Interface in dev.langchain4j.model.qianfan.client
 
Attribute() - Constructor for class dev.langchain4j.store.embedding.azure.search.Document.Metadata.Attribute
 
attributes() - Method in class dev.langchain4j.model.chat.listener.ChatModelErrorContext
 
attributes() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequestContext
 
attributes() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponseContext
 
audio() - Method in class dev.langchain4j.data.message.AudioContent
Get the Audio.
Audio - Class in dev.langchain4j.data.audio
 
AUDIO - Enum constant in enum class dev.langchain4j.data.message.ContentType
Audio content.
Audio.Builder - Class in dev.langchain4j.data.audio
Builder for Audio.
AudioContent - Class in dev.langchain4j.data.message
 
AudioContent(Audio) - Constructor for class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given Audio.
AudioContent(String) - Constructor for class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given url.
AudioContent(String, String) - Constructor for class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given base64 data and mime type.
AudioContent(URI) - Constructor for class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given url.
augment(UserMessage, Metadata) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor
augment(UserMessage, Metadata) - Method in interface dev.langchain4j.rag.RetrievalAugmentor
Deprecated.
augment(AugmentationRequest) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor
 
augment(AugmentationRequest) - Method in interface 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.
AugmentationRequest(ChatMessage, Metadata) - Constructor for class dev.langchain4j.rag.AugmentationRequest
 
AugmentationResult - Class in dev.langchain4j.rag
Represents the result of a ChatMessage augmentation.
AugmentationResult(ChatMessage, List<Content>) - Constructor for class dev.langchain4j.rag.AugmentationResult
 
AuthInterceptor(String) - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiClient.AuthInterceptor
Constructs an AuthInterceptor with a specified authorization token.
AuthorizationHeaderInjector - Class in dev.langchain4j.model.qianfan.client
 
AuthorizationHeaderInjector(String) - Constructor for class dev.langchain4j.model.qianfan.client.AuthorizationHeaderInjector
 
AUTO - Enum constant in enum class dev.langchain4j.data.message.ImageContent.DetailLevel
Auto detail.
AUTO - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
AUTO - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolChoiceName
 
AUTO - Enum constant in enum class dev.langchain4j.model.vertexai.ToolCallingMode
Lets Gemini decide if it needs to request a function call
AUTO - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ToolChoiceMode
 
autoFlushOnInsert(Boolean) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
availableModels() - Method in class dev.langchain4j.model.mistralai.MistralAiModels
Retrieves the list of all available models.
availableModels() - Method in class dev.langchain4j.model.ollama.OllamaModels
 
awsCredentials(AwsCredentials) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
Set the AWS credentials.
AwsCredentials - Class in dev.langchain4j.data.document.loader.amazon.s3
Represents an AWS credentials object, including access key ID, secret access key, and optional session token.
AwsCredentials(String, String) - Constructor for class dev.langchain4j.data.document.loader.amazon.s3.AwsCredentials
 
AwsCredentials(String, String, String) - Constructor for class dev.langchain4j.data.document.loader.amazon.s3.AwsCredentials
 
AzureAiSearchContentRetriever - Class in dev.langchain4j.rag.content.retriever.azure.search
Represents Azure AI Search Service as a ContentRetriever.
AzureAiSearchContentRetriever(String, AzureKeyCredential, TokenCredential, boolean, int, SearchIndex, String, EmbeddingModel, int, double, AzureAiSearchQueryType, AzureAiSearchFilterMapper, Filter) - Constructor for class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
 
AzureAiSearchContentRetriever.Builder - Class in dev.langchain4j.rag.content.retriever.azure.search
 
AzureAiSearchEmbeddingStore - Class in dev.langchain4j.store.embedding.azure.search
Azure AI Search EmbeddingStore Implementation
AzureAiSearchEmbeddingStore(String, AzureKeyCredential, boolean, int, String, AzureAiSearchFilterMapper) - Constructor for class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore
 
AzureAiSearchEmbeddingStore(String, AzureKeyCredential, boolean, SearchIndex, String, AzureAiSearchFilterMapper) - Constructor for class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore
 
AzureAiSearchEmbeddingStore(String, TokenCredential, boolean, int, String, AzureAiSearchFilterMapper) - Constructor for class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore
 
AzureAiSearchEmbeddingStore(String, TokenCredential, boolean, SearchIndex, String, AzureAiSearchFilterMapper) - Constructor for class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore
 
AzureAiSearchEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.azure.search
 
AzureAiSearchFilterMapper - Interface in dev.langchain4j.rag.content.retriever.azure.search
 
AzureAiSearchQueryType - Enum Class in dev.langchain4j.rag.content.retriever.azure.search
 
AzureAiSearchRuntimeException - Exception Class in dev.langchain4j.store.embedding.azure.search
 
AzureAiSearchRuntimeException() - Constructor for exception class dev.langchain4j.store.embedding.azure.search.AzureAiSearchRuntimeException
 
AzureAiSearchRuntimeException(String) - Constructor for exception class dev.langchain4j.store.embedding.azure.search.AzureAiSearchRuntimeException
 
AzureAiSearchRuntimeException(String, Throwable) - Constructor for exception class dev.langchain4j.store.embedding.azure.search.AzureAiSearchRuntimeException
 
AzureBlobStorageDocumentLoader - Class in dev.langchain4j.data.document.loader.azure.storage.blob
 
AzureBlobStorageDocumentLoader(BlobServiceClient) - Constructor for class dev.langchain4j.data.document.loader.azure.storage.blob.AzureBlobStorageDocumentLoader
 
AzureBlobStorageSource - Class in dev.langchain4j.data.document.source.azure.storage.blob
 
AzureBlobStorageSource(InputStream, String, String, String, BlobProperties) - Constructor for class dev.langchain4j.data.document.source.azure.storage.blob.AzureBlobStorageSource
 
AzureCosmosDbMongoVCoreDocument - Class in dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore
 
AzureCosmosDbMongoVCoreDocument() - Constructor for class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreDocument
 
AzureCosmosDbMongoVCoreEmbeddingStore - Class in dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore
Represents an Azure CosmosDB Mongo vCore as an embedding store.
AzureCosmosDbMongoVCoreEmbeddingStore(MongoClient, String, String, String, String, String, CreateCollectionOptions, Boolean, String, Integer, Integer, Integer, Integer, Integer) - Constructor for class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
AzureCosmosDbMongoVCoreEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore
 
AzureCosmosDbMongoVCoreEmbeddingStore.SimilarityMetric - Enum Class in dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore
 
AzureCosmosDbMongoVCoreEmbeddingStore.VectorIndexType - Enum Class in dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore
 
AzureCosmosDbMongoVCoreMatchedDocument - Class in dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore
 
AzureCosmosDbMongoVCoreMatchedDocument() - Constructor for class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreMatchedDocument
 
AzureCosmosDbNoSqlEmbeddingStore - Class in dev.langchain4j.store.embedding.azure.cosmos.nosql
You can read more about vector search using Azure Cosmos DB NoSQL here.
AzureCosmosDbNoSqlEmbeddingStore(CosmosClient, String, String, CosmosVectorEmbeddingPolicy, List<CosmosVectorIndexSpec>, CosmosContainerProperties) - Constructor for class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
 
AzureCosmosDbNoSqlMatchedDocument - Class in dev.langchain4j.store.embedding.azure.cosmos.nosql
 
AzureCosmosDbNoSqlMatchedDocument() - Constructor for class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlMatchedDocument
 
AzureOpenAiChatModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, that has a chat completion interface, such as gpt-3.5-turbo.
AzureOpenAiChatModel(OpenAIClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, List<ChatModelListener>, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, List<ChatModelListener>, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, List<ChatModelListener>, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiChatModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiChatModel.Builder instances.
AzureOpenAiChatModelName - Enum Class in dev.langchain4j.model.azure
You can get the latest model names from the Azure OpenAI documentation or by executing the Azure CLI command: az cognitiveservices account list-models --resource-group "$RESOURCE_GROUP" --name "$AI_SERVICE" -o table
AzureOpenAiEmbeddingModel - Class in dev.langchain4j.model.azure
Represents an OpenAI embedding model, hosted on Azure, such as text-embedding-ada-002.
AzureOpenAiEmbeddingModel(String, String, KeyCredential, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel(String, String, TokenCredential, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel(String, String, String, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiEmbeddingModel.Builder instances.
AzureOpenAiEmbeddingModelName - Enum Class in dev.langchain4j.model.azure
 
AzureOpenAiImageModel - Class in dev.langchain4j.model.azure
Represents an OpenAI image model, hosted on Azure, such as dall-e-3.
AzureOpenAiImageModel(OpenAIClient, String, String, String, String, String, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, KeyCredential, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, TokenCredential, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, String, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiImageModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiImageModel.Builder instances.
AzureOpenAiImageModelName - Enum Class in dev.langchain4j.model.azure
 
AzureOpenAiLanguageModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, such as gpt-3.5-turbo-instruct.
AzureOpenAiLanguageModel(OpenAIClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiLanguageModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiLanguageModel.Builder instances.
AzureOpenAiLanguageModelName - Enum Class in dev.langchain4j.model.azure
 
AzureOpenAiModelName - Class in dev.langchain4j.model.azure
AzureOpenAiModelName() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
AzureOpenAiStreamingChatModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, that has a chat completion interface, such as gpt-3.5-turbo.
AzureOpenAiStreamingChatModel(OpenAIClient, OpenAIAsyncClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, boolean, List<ChatModelListener>, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, boolean, List<ChatModelListener>, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, boolean, List<ChatModelListener>, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiStreamingChatModel.Builder instances.
AzureOpenAiStreamingLanguageModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, such as gpt-3.5-turbo-instruct.
AzureOpenAiStreamingLanguageModel(OpenAIClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Duration, Integer, ProxyOptions, boolean, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiStreamingLanguageModel.Builder instances.
AzureOpenAiTokenizer - Class in dev.langchain4j.model.azure
This class can be used to estimate the cost (in tokens) before calling OpenAI or when using streaming.
AzureOpenAiTokenizer() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for the "gpt-3.5-turbo" model.
AzureOpenAiTokenizer(AzureOpenAiChatModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given AzureOpenAiChatModelName.
AzureOpenAiTokenizer(AzureOpenAiEmbeddingModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given AzureOpenAiEmbeddingModelName.
AzureOpenAiTokenizer(AzureOpenAiLanguageModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given AzureOpenAiLanguageModelName.
AzureOpenAiTokenizer(String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given model name.

B

BAAI_EMBEDDING_BASE - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiEmbeddingModelName
BAAI general embedding (bge) models transform any given text into a compact vector.
BAAI_EMBEDDING_LARGE - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiEmbeddingModelName
BAAI general embedding (bge) models transform any given text into a compact vector.
BAAI_EMBEDDING_SMALL - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiEmbeddingModelName
BAAI general embedding (bge) models transform any given text into a compact vector.
backoffExp(double) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy.Builder
Sets the backoff exponent.
banRound(Integer) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
base64Data() - Method in class dev.langchain4j.data.audio.Audio
Get the base64 data of the audio.
base64Data() - Method in class dev.langchain4j.data.image.Image
Get the base64 data of the image.
base64Data() - Method in class dev.langchain4j.data.pdf.PdfFile
Get the base64 data of the rich format document.
base64Data() - Method in class dev.langchain4j.data.text.TextFile
Get the base64 data of the text file content.
base64Data() - Method in class dev.langchain4j.data.video.Video
Get the base64 data of the video.
base64Data(String) - Method in class dev.langchain4j.data.audio.Audio.Builder
Set the base64 data of the audio.
base64Data(String) - Method in class dev.langchain4j.data.image.Image.Builder
Set the base64 data of the image.
base64Data(String) - Method in class dev.langchain4j.data.pdf.PdfFile.Builder
Set the base64 data of the PDF document.
base64Data(String) - Method in class dev.langchain4j.data.text.TextFile.Builder
Set the base64 data of the text document.
base64Data(String) - Method in class dev.langchain4j.data.video.Video.Builder
Set the base64 data of the video.
baseUrl - Variable in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
baseUrl - Variable in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
baseUrl - Variable in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
 
baseUrl(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore.Builder
 
BedrockAI21LabsChatModel - Class in dev.langchain4j.model.bedrock
 
BedrockAI21LabsChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel
 
BedrockAI21LabsChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock AI21 Labs model ids
BedrockAI21LabsChatModelResponse - Class in dev.langchain4j.model.bedrock
Bedrock AI21 Labs model invoke response
BedrockAI21LabsChatModelResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse
 
BedrockAI21LabsChatModelResponse.Completion - Class in dev.langchain4j.model.bedrock
 
BedrockAI21LabsChatModelResponse.CompletionReason - Class in dev.langchain4j.model.bedrock
 
BedrockAI21LabsChatModelResponse.GeneratedToken - Class in dev.langchain4j.model.bedrock
 
BedrockAI21LabsChatModelResponse.Prompt - Class in dev.langchain4j.model.bedrock
 
BedrockAI21LabsChatModelResponse.TextRange - Class in dev.langchain4j.model.bedrock
 
BedrockAI21LabsChatModelResponse.Token - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicCompletionChatModel - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicCompletionChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel
 
BedrockAnthropicCompletionChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock Anthropic model ids
BedrockAnthropicCompletionChatModelResponse - Class in dev.langchain4j.model.bedrock
Bedrock Anthropic Text Completions API Invoke response ...
BedrockAnthropicCompletionChatModelResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModelResponse
 
BedrockAnthropicContent - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicContent(String, BedrockAnthropicImageSource) - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicContent
 
BedrockAnthropicContent(String, String) - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicContent
 
BedrockAnthropicImageSource - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicImageSource() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicImageSource
 
BedrockAnthropicMessage - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicMessage() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicMessage
 
BedrockAnthropicMessageChatModel - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicMessageChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel
 
BedrockAnthropicMessageChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock Anthropic model ids
BedrockAnthropicMessageChatModelResponse - Class in dev.langchain4j.model.bedrock
Bedrock Anthropic Messages API Invoke response ...
BedrockAnthropicMessageChatModelResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModelResponse
 
BedrockAnthropicMessageChatModelResponse.BedrockAnthropicUsage - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicStreamingChatModel - Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicStreamingChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicStreamingChatModel
 
BedrockAnthropicStreamingChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
 
BedrockAnthropicUsage() - Constructor for class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModelResponse.BedrockAnthropicUsage
 
BedrockChatModelResponse - Interface in dev.langchain4j.model.bedrock.internal
Bedrock Chat model response
BedrockCohereChatModel - Class in dev.langchain4j.model.bedrock
 
BedrockCohereChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockCohereChatModel
 
BedrockCohereChatModel.ReturnLikelihood - Enum Class in dev.langchain4j.model.bedrock
 
BedrockCohereChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock Cohere model ids
BedrockCohereChatModelResponse - Class in dev.langchain4j.model.bedrock
Bedrock Cohere model invoke response
BedrockCohereChatModelResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockCohereChatModelResponse
 
BedrockCohereChatModelResponse.Generation - Class in dev.langchain4j.model.bedrock
 
BedrockCohereChatModelResponse.TokenLikelihood - Class in dev.langchain4j.model.bedrock
 
BedrockEmbeddingResponse - Interface in dev.langchain4j.model.bedrock.internal
Bedrock embedding response
BedrockLlamaChatModel - Class in dev.langchain4j.model.bedrock
 
BedrockLlamaChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockLlamaChatModel
 
BedrockLlamaChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock Llama model ids
BedrockLlamaChatModelResponse - Class in dev.langchain4j.model.bedrock
Bedrock Llama Invoke response
BedrockLlamaChatModelResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockLlamaChatModelResponse
 
BedrockMistralAiChatModel - Class in dev.langchain4j.model.bedrock
 
BedrockMistralAiChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel
 
BedrockMistralAiChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock Mistral model ids
BedrockStabilityAIChatModel - Class in dev.langchain4j.model.bedrock
Bedrock stability AI model This is for image generation.
BedrockStabilityAIChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel
 
BedrockStabilityAIChatModel.StylePreset - Enum Class in dev.langchain4j.model.bedrock
 
BedrockStabilityAIChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock Amazon Stability AI model ids
BedrockStabilityAIChatModelResponse - Class in dev.langchain4j.model.bedrock
Bedrock Anthropic Invoke response
BedrockStabilityAIChatModelResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModelResponse
 
BedrockStabilityAIChatModelResponse.Artifact - Class in dev.langchain4j.model.bedrock
 
BedrockTitanChatModel - Class in dev.langchain4j.model.bedrock
Bedrock Amazon Titan chat model
BedrockTitanChatModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockTitanChatModel
 
BedrockTitanChatModel.Types - Enum Class in dev.langchain4j.model.bedrock
Bedrock Amazon Titan model ids
BedrockTitanChatModelResponse - Class in dev.langchain4j.model.bedrock
Bedrock Titan Chat response
BedrockTitanChatModelResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockTitanChatModelResponse
 
BedrockTitanChatModelResponse.Result - Class in dev.langchain4j.model.bedrock
 
BedrockTitanEmbeddingModel - Class in dev.langchain4j.model.bedrock
Bedrock Amazon Titan embedding model with support for both versions: amazon.titan-embed-text-v1 and amazon.titan-embed-text-v2:0
See more details here and here.
BedrockTitanEmbeddingModel() - Constructor for class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel
 
BedrockTitanEmbeddingModel.Types - Enum Class in dev.langchain4j.model.bedrock
 
BedrockTitanEmbeddingResponse - Class in dev.langchain4j.model.bedrock
Bedrock Titan embedding response
BedrockTitanEmbeddingResponse() - Constructor for class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingResponse
 
bestOf(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
beta - Variable in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
beta(String) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
between(Embedding, Embedding) - Static method in class dev.langchain4j.store.embedding.CosineSimilarity
Calculates cosine similarity between two vectors.
BGE_LARGE_EN - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanEmbeddingModelNameEnum
 
BGE_LARGE_ZH - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanEmbeddingModelNameEnum
 
BINARYIVF - Enum constant in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
 
BINARYIVFParam() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.BINARYIVFParam
 
BINARYIVFParam(Integer) - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.BINARYIVFParam
 
BlankDocumentException - Exception Class in dev.langchain4j.data.document
 
BlankDocumentException() - Constructor for exception class dev.langchain4j.data.document.BlankDocumentException
 
BLOCK_LOW_AND_ABOVE - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmBlockThreshold
 
BLOCK_LOW_AND_ABOVE - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
 
BLOCK_MEDIUM_AND_ABOVE - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmBlockThreshold
 
BLOCK_MEDIUM_AND_ABOVE - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
 
BLOCK_NONE - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmBlockThreshold
 
BLOCK_NONE - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
 
BLOCK_ONLY_HIGH - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmBlockThreshold
 
BLOCK_ONLY_HIGH - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
 
BLOOMZ_7B - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
BOOLEAN - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
A property with key "type" and value "boolean".
BOOLEAN - Static variable in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
bucketName(String) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
bucketTimeout(Integer) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
Returns a ToolExecutionRequest built from the parameters previously set.
build() - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
Returns a ToolParameters built from the parameters previously set.
build() - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Returns a ToolSpecification built from the parameters previously set.
build() - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
 
build() - Method in class dev.langchain4j.data.audio.Audio.Builder
Build the Audio.
build() - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
 
build() - Method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader.Builder
 
build() - Method in class dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader.Builder
 
build() - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader.Builder
 
build() - Method in class dev.langchain4j.data.image.Image.Builder
Build the Image.
build() - Method in class dev.langchain4j.data.pdf.PdfFile.Builder
Build the PdfFile.
build() - Method in class dev.langchain4j.data.text.TextFile.Builder
Build the TextFile.
build() - Method in class dev.langchain4j.data.video.Video.Builder
Build the Video.
build() - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy.Builder
Builds a RetryPolicy.
build() - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory.Builder
 
build() - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory.Builder
 
build() - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
build() - Method in class dev.langchain4j.model.anthropic.internal.client.DefaultAnthropicClient.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.ChatRequest.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonBooleanSchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonIntegerSchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonNumberSchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonSchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.json.JsonStringSchema.Builder
 
build() - Method in class dev.langchain4j.model.chat.request.ResponseFormat.Builder
 
build() - Method in class dev.langchain4j.model.chat.response.ChatResponse.Builder
 
build() - Method in class dev.langchain4j.model.dashscope.QwenStreamingResponseBuilder
 
build() - Method in class dev.langchain4j.model.huggingface.client.Options.Builder
 
build() - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
build() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest.Builder
 
build() - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
build() - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
build() - Method in class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient.Builder
 
build() - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
build() - Method in class dev.langchain4j.model.ovhai.internal.client.DefaultOvhAiClient.Builder
 
build() - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.Message.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.chat.Responses.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
build() - Method in class dev.langchain4j.model.qianfan.client.QianfanStreamingResponseBuilder
 
build() - Method in class dev.langchain4j.model.qianfan.client.Usage.Builder
 
build() - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
build() - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
build() - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
build() - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
build() - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
Builds a new instance of Worker AI Chat Model.
build() - Method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
Builds a new instance of Worker AI Chat Model.
build() - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
Builds a new instance of Worker AI Chat Model.
build() - Method in class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
Builds a new instance of Worker AI Chat Model.
build() - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage.Builder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice.ChatCompletionChoiceBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse.ChatCompletionResponseBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.Delta.Builder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.Function.Builder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall.FunctionCallBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.Image.ImageBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.ImageContent.ImageContentBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.Parameters.Builder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.Retrieval.RetrievalBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage.SystemMessageBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.TextContent.TextContentBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.ToolCall.ToolCallBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage.ToolMessageBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.chat.UserMessage.UserMessageBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest.EmbeddingRequestBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.image.ImageRequest.ImageRequestBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.shared.Usage.Builder
 
build() - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
build() - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
build() - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
build() - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
 
build() - Method in class dev.langchain4j.service.AiServices
Constructs and returns the AI Service.
build() - Method in class dev.langchain4j.service.tool.ToolExecution.Builder
 
build() - Method in class dev.langchain4j.service.tool.ToolProviderResult.Builder
 
build() - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
build() - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationKnn.Builder
 
build() - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationScript.Builder
 
build() - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
Builds the EmbeddingStoreIngestor.
build() - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition.Builder
 
build() - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Builds the store
build() - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable.Builder
Returns a new EmbeddingTable configured by this builder.
build() - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder
Builds an embedding store with the configuration applied to this builder.
build() - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig.Builder
 
build() - Method in class dev.langchain4j.store.embedding.pinecone.PineconeServerlessIndexConfig.Builder
 
build() - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine.Builder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore.Builder
 
build() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
build() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
build() - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore.Builder
 
build() - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Build the web search request.
build(Tokenizer) - Method in class dev.langchain4j.model.qianfan.client.QianfanStreamingResponseBuilder
 
build(Tokenizer, boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
 
build(Tokenizer, boolean) - Method in class dev.langchain4j.model.qianfan.client.QianfanStreamingResponseBuilder
 
build(Query) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
builder() - Static method in class dev.langchain4j.agent.tool.ToolExecutionRequest
Creates builder to build ToolExecutionRequest.
builder() - Static method in class dev.langchain4j.agent.tool.ToolParameters
ToolParameters builder static inner class.
builder() - Static method in class dev.langchain4j.agent.tool.ToolSpecification
Creates builder to build ToolSpecification.
builder() - Static method in class dev.langchain4j.chain.ConversationalRetrievalChain
 
builder() - Static method in class dev.langchain4j.data.audio.Audio
Create a new Audio.Builder.
builder() - Static method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader
 
builder() - Static method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
builder() - Static method in class dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader
 
builder() - Static method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader
 
builder() - Static method in class dev.langchain4j.data.image.Image
Create a new Image.Builder.
builder() - Static method in class dev.langchain4j.data.pdf.PdfFile
Create a new PdfFile.Builder.
builder() - Static method in class dev.langchain4j.data.text.TextFile
Create a new TextFile.Builder.
builder() - Static method in class dev.langchain4j.data.video.Video
Create a new Video.Builder.
builder() - Static method in class dev.langchain4j.memory.chat.MessageWindowChatMemory
 
builder() - Static method in class dev.langchain4j.memory.chat.TokenWindowChatMemory
 
builder() - Static method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient
 
builder() - Static method in class dev.langchain4j.model.anthropic.internal.client.DefaultAnthropicClient
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
builder() - Static method in class dev.langchain4j.model.chat.request.ChatRequest
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonArraySchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonBooleanSchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonIntegerSchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonNumberSchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonSchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.json.JsonStringSchema
 
builder() - Static method in class dev.langchain4j.model.chat.request.ResponseFormat
 
builder() - Static method in class dev.langchain4j.model.chat.response.ChatResponse
 
builder() - Static method in class dev.langchain4j.model.chatglm.ChatGlmChatModel
 
builder() - Static method in class dev.langchain4j.model.dashscope.QwenChatModel
 
builder() - Static method in class dev.langchain4j.model.dashscope.QwenEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.dashscope.QwenLanguageModel
 
builder() - Static method in class dev.langchain4j.model.dashscope.QwenStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.dashscope.QwenStreamingLanguageModel
 
builder() - Static method in class dev.langchain4j.model.dashscope.QwenTokenizer
 
builder() - Static method in class dev.langchain4j.model.dashscope.WanxImageModel
 
builder() - Static method in class dev.langchain4j.model.huggingface.client.Options
 
builder() - Static method in class dev.langchain4j.model.huggingface.client.Parameters
 
builder() - Static method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest
 
builder() - Static method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel
 
builder() - Static method in class dev.langchain4j.model.huggingface.HuggingFaceEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel
 
builder() - Static method in class dev.langchain4j.model.jlama.JlamaChatModel
 
builder() - Static method in class dev.langchain4j.model.jlama.JlamaEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.jlama.JlamaLanguageModel
 
builder() - Static method in class dev.langchain4j.model.jlama.JlamaStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.jlama.JlamaStreamingLanguageModel
 
builder() - Static method in class dev.langchain4j.model.localai.LocalAiChatModel
 
builder() - Static method in class dev.langchain4j.model.localai.LocalAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.localai.LocalAiLanguageModel
 
builder() - Static method in class dev.langchain4j.model.localai.LocalAiStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.localai.LocalAiStreamingLanguageModel
 
builder() - Static method in class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient
 
builder() - Static method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient
 
builder() - Static method in class dev.langchain4j.model.mistralai.MistralAiChatModel
 
builder() - Static method in class dev.langchain4j.model.mistralai.MistralAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.mistralai.MistralAiModels
 
builder() - Static method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaChatModel
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaLanguageModel
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel
 
builder() - Static method in class dev.langchain4j.model.openai.OpenAiChatModel
 
builder() - Static method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.openai.OpenAiImageModel
 
builder() - Static method in class dev.langchain4j.model.openai.OpenAiLanguageModel
 
builder() - Static method in class dev.langchain4j.model.openai.OpenAiModerationModel
 
builder() - Static method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
 
builder() - Static method in class dev.langchain4j.model.ovhai.internal.client.DefaultOvhAiClient
 
builder() - Static method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.Examples
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.Function
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.Message
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.Parameters
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.chat.Responses
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.QianfanClient
 
builder() - Static method in class dev.langchain4j.model.qianfan.client.Usage
 
builder() - Static method in class dev.langchain4j.model.qianfan.QianfanChatModel
 
builder() - Static method in class dev.langchain4j.model.qianfan.QianfanEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.qianfan.QianfanLanguageModel
 
builder() - Static method in class dev.langchain4j.model.qianfan.QianfanStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.qianfan.QianfanStreamingLanguageModel
 
builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiChatModel
 
builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiImageModel
 
builder() - Static method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel
 
builder() - Static method in class dev.langchain4j.model.workersai.WorkersAiChatModel
Builder access.
builder() - Static method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel
Builder access.
builder() - Static method in class dev.langchain4j.model.workersai.WorkersAiImageModel
Builder access.
builder() - Static method in class dev.langchain4j.model.workersai.WorkersAiLanguageModel
Builder access.
builder() - Static method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.Delta
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.Function
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.FunctionCall
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.Image
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.ImageContent
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.Parameters
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.Retrieval
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.TextContent
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
builder() - Static method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
builder() - Static method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
builder() - Static method in class dev.langchain4j.model.zhipu.image.ImageRequest
 
builder() - Static method in class dev.langchain4j.model.zhipu.shared.Usage
 
builder() - Static method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel
 
builder() - Static method in class dev.langchain4j.model.zhipu.ZhipuAiClient
 
builder() - Static method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel
 
builder() - Static method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel
 
builder() - Static method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
 
builder() - Static method in class dev.langchain4j.rag.DefaultRetrievalAugmentor
 
builder() - Static method in class dev.langchain4j.service.tool.ToolExecution
 
builder() - Static method in class dev.langchain4j.service.tool.ToolProviderResult
 
builder() - Static method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationKnn
 
builder() - Static method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationScript
 
builder() - Static method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor
Creates a new EmbeddingStoreIngestor builder.
builder() - Static method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition
 
builder() - Static method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable
Returns a builder that configures a new EmbeddingTable.
builder() - Static method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
Returns a builder which configures and creates instances of OracleEmbeddingStore.
builder() - Static method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig
 
builder() - Static method in class dev.langchain4j.store.embedding.pinecone.PineconeServerlessIndexConfig
 
builder() - Static method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
builder() - Static method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
 
builder() - Static method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore
 
builder() - Static method in class dev.langchain4j.web.search.WebSearchRequest
Create a new builder instance.
builder(Class<T>) - Static method in class dev.langchain4j.service.AiServices
Begins the construction of an AI Service.
Builder() - Constructor for class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
 
Builder() - Constructor for class dev.langchain4j.data.audio.Audio.Builder
Create a new Audio.Builder.
Builder() - Constructor for class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
 
Builder() - Constructor for class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader.Builder
 
Builder() - Constructor for class dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader.Builder
 
Builder() - Constructor for class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader.Builder
 
Builder() - Constructor for class dev.langchain4j.data.image.Image.Builder
Create a new Image.Builder.
Builder() - Constructor for class dev.langchain4j.data.pdf.PdfFile.Builder
Create a new PdfFile.Builder.
Builder() - Constructor for class dev.langchain4j.data.text.TextFile.Builder
Create a new TextFile.Builder.
Builder() - Constructor for class dev.langchain4j.data.video.Video.Builder
Create a new Video.Builder.
Builder() - Constructor for class dev.langchain4j.internal.RetryUtils.RetryPolicy.Builder
Construct a RetryPolicy.Builder.
Builder() - Constructor for class dev.langchain4j.memory.chat.MessageWindowChatMemory.Builder
 
Builder() - Constructor for class dev.langchain4j.memory.chat.TokenWindowChatMemory.Builder
 
Builder() - Constructor for class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
Builder() - Constructor for class dev.langchain4j.model.anthropic.internal.client.DefaultAnthropicClient.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.ChatRequest.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonArraySchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonBooleanSchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonEnumSchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonIntegerSchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonNumberSchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonSchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.json.JsonStringSchema.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.request.ResponseFormat.Builder
 
Builder() - Constructor for class dev.langchain4j.model.chat.response.ChatResponse.Builder
 
Builder() - Constructor for class dev.langchain4j.model.huggingface.client.Options.Builder
 
Builder() - Constructor for class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
Builder() - Constructor for class dev.langchain4j.model.huggingface.client.TextGenerationRequest.Builder
 
Builder() - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient.Builder
 
Builder() - Constructor for class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
Builder() - Constructor for class dev.langchain4j.model.ovhai.internal.client.DefaultOvhAiClient.Builder
 
Builder() - Constructor for class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
Builder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
Simple constructor.
Builder() - Constructor for class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
Simple constructor.
Builder() - Constructor for class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
Simple constructor.
Builder() - Constructor for class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
Simple constructor.
Builder() - Constructor for class dev.langchain4j.model.zhipu.chat.AssistantMessage.Builder
 
Builder() - Constructor for class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
 
Builder() - Constructor for class dev.langchain4j.service.tool.ToolProviderResult.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationKnn.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationScript.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
Creates a new EmbeddingStoreIngestor builder.
Builder() - Constructor for class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.pinecone.PineconeServerlessIndexConfig.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceEngine.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
Builder() - Constructor for class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore.Builder
 
builderAstra() - Static method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
 
builderAstra() - Static method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
 
BuilderAstra() - Constructor for class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
BuilderAstra() - Constructor for class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
buildSchema(InfinispanStoreConfiguration) - Static method in class dev.langchain4j.store.embedding.infinispan.LangchainSchemaCreator
Build the Infinispan Schema to marshall embeddings

C

cacheConfig() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the cacheConfig record component.
cacheConfig(String) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan cache config to be used, will be created on first access
cacheName() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the cacheName record component.
cacheName(String) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan cache name to be used, will be created on first access
calculateTokensCounts(List<TextSegment>) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel
Calculates the number of tokens for each segment in the input list.
callTimeout(Duration) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
callTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
callTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
callTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
callTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
callTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
Capability - Enum Class in dev.langchain4j.model.chat
 
CARTOON_3D - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
CassandraChatMemoryStore - Class in dev.langchain4j.store.memory.chat.cassandra
Implementation of ChatMemoryStore using Astra DB Vector Search.
CassandraChatMemoryStore(CqlSession) - Constructor for class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Constructor for message store
CassandraChatMemoryStore(CqlSession, String) - Constructor for class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Constructor for message store
CassandraChatMemoryStore.Builder - Class in dev.langchain4j.store.memory.chat.cassandra
 
CassandraChatMemoryStore.BuilderAstra - Class in dev.langchain4j.store.memory.chat.cassandra
 
CassandraEmbeddingStore - Class in dev.langchain4j.store.embedding.cassandra
Implementation of EmbeddingStore using Cassandra.
CassandraEmbeddingStore(CqlSession, String, int) - Constructor for class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Embedding Store.
CassandraEmbeddingStore(CqlSession, String, int, CassandraSimilarityMetric) - Constructor for class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Embedding Store.
CassandraEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.cassandra
 
CassandraEmbeddingStore.BuilderAstra - Class in dev.langchain4j.store.embedding.cassandra
 
cassandraSession - Variable in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Cassandra question.
Chain<Input,Output> - Interface in dev.langchain4j.chain
Represents a chain step that takes an input and produces an output.
chat(ChatRequest) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
 
chat(ChatRequest) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
chat(ChatRequest) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
 
chat(TextGenerationRequest) - Method in interface dev.langchain4j.model.huggingface.client.HuggingFaceClient
 
chatCompletion(MistralAiChatCompletionRequest) - Method in interface dev.langchain4j.model.mistralai.internal.api.MistralAiApi
 
chatCompletion(MistralAiChatCompletionRequest) - Method in class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient
 
chatCompletion(MistralAiChatCompletionRequest) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient
 
chatCompletion(ChatCompletionRequest, String) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient
 
chatCompletion(ChatCompletionRequest) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient
 
ChatCompletionChoice - Class in dev.langchain4j.model.zhipu.chat
 
ChatCompletionChoice() - Constructor for class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
ChatCompletionChoice(Integer, AssistantMessage, Delta, String) - Constructor for class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
ChatCompletionChoice.ChatCompletionChoiceBuilder - Class in dev.langchain4j.model.zhipu.chat
 
ChatCompletionChoiceBuilder() - Constructor for class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice.ChatCompletionChoiceBuilder
 
ChatCompletionModel - Enum Class in dev.langchain4j.model.zhipu.chat
 
ChatCompletionRequest - Class in dev.langchain4j.model.qianfan.client.chat
 
ChatCompletionRequest - Class in dev.langchain4j.model.zhipu.chat
 
ChatCompletionRequest.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
ChatCompletionRequest.Builder - Class in dev.langchain4j.model.zhipu.chat
 
ChatCompletionResponse - Class in dev.langchain4j.model.qianfan.client.chat
 
ChatCompletionResponse - Class in dev.langchain4j.model.zhipu.chat
 
ChatCompletionResponse() - Constructor for class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
ChatCompletionResponse(String, Integer, String, List<ChatCompletionChoice>, Usage) - Constructor for class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
ChatCompletionResponse.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
ChatCompletionResponse.ChatCompletionResponseBuilder - Class in dev.langchain4j.model.zhipu.chat
 
ChatCompletionResponseBuilder() - Constructor for class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse.ChatCompletionResponseBuilder
 
CHATGLM_TURBO - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
CHATGLM2_6B_32K - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
ChatGlmChatModel - Class in dev.langchain4j.model.chatglm
Support ChatGLM, ChatGLM2 and ChatGLM3 api are compatible with OpenAI API
ChatGlmChatModel(String, Duration, Double, Integer, Double, Integer) - Constructor for class dev.langchain4j.model.chatglm.ChatGlmChatModel
 
ChatGlmChatModel.ChatGlmChatModelBuilder - Class in dev.langchain4j.model.chatglm
 
ChatGlmChatModelBuilder() - Constructor for class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
ChatGlmChatModelBuilderFactory - Interface in dev.langchain4j.model.chatglm.spi
A factory for building ChatGlmChatModel.ChatGlmChatModelBuilder instances.
chatLanguageModel - Variable in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
chatLanguageModel - Variable in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
chatLanguageModel - Variable in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
chatLanguageModel - Variable in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
chatLanguageModel(ChatLanguageModel) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
 
chatLanguageModel(ChatLanguageModel) - Method in class dev.langchain4j.service.AiServices
Configures chat model that will be used under the hood of the AI Service.
ChatLanguageModel - Interface in dev.langchain4j.model.chat
Represents a language model that has a chat interface.
chatMemories - Variable in class dev.langchain4j.service.AiServiceContext
 
chatMemory() - Method in class dev.langchain4j.rag.query.Metadata
 
chatMemory(ChatMemory) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
 
chatMemory(ChatMemory) - Method in class dev.langchain4j.service.AiServices
Configures the chat memory that will be used to preserve conversation history between method calls.
chatMemory(Object) - Method in class dev.langchain4j.service.AiServiceContext
 
ChatMemory - Interface in dev.langchain4j.memory
Represents the memory (history) of a chat conversation.
chatMemoryId() - Method in class dev.langchain4j.rag.query.Metadata
 
chatMemoryId() - Method in class dev.langchain4j.service.tool.ToolProviderRequest
 
chatMemoryProvider - Variable in class dev.langchain4j.service.AiServiceContext
 
chatMemoryProvider(ChatMemoryProvider) - Method in class dev.langchain4j.service.AiServices
Configures the chat memory provider, which provides a dedicated instance of ChatMemory for each user/conversation.
ChatMemoryProvider - Interface in dev.langchain4j.memory.chat
Provides instances of ChatMemory.
chatMemoryStore(ChatMemoryStore) - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory.Builder
 
chatMemoryStore(ChatMemoryStore) - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory.Builder
 
ChatMemoryStore - Interface in dev.langchain4j.store.memory.chat
Represents a store for the ChatMemory state.
chatMessage() - Method in class dev.langchain4j.rag.AugmentationRequest
 
chatMessage() - Method in class dev.langchain4j.rag.AugmentationResult
 
ChatMessage - Interface in dev.langchain4j.data.message
A chat message.
ChatMessageDeserializer - Class in dev.langchain4j.data.message
A deserializer for ChatMessage objects.
ChatMessageJsonCodec - Interface in dev.langchain4j.data.message
A codec for serializing and deserializing ChatMessage objects to and from JSON.
ChatMessageJsonCodecFactory - Interface in dev.langchain4j.spi.data.message
A factory for creating ChatMessageJsonCodec objects.
ChatMessageSerializer - Class in dev.langchain4j.data.message
 
ChatMessageSerializer() - Constructor for class dev.langchain4j.data.message.ChatMessageSerializer
 
chatMessageToString(ChatMessage) - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
Convert chat message to string
ChatMessageType - Enum Class in dev.langchain4j.data.message
The type of content, e.g.
chatModel - Variable in class dev.langchain4j.service.AiServiceContext
 
ChatModelErrorContext - Class in dev.langchain4j.model.chat.listener
The error context.
ChatModelErrorContext(Throwable, ChatModelRequest, ChatModelResponse, Map<Object, Object>) - Constructor for class dev.langchain4j.model.chat.listener.ChatModelErrorContext
 
ChatModelListener - Interface in dev.langchain4j.model.chat.listener
A ChatLanguageModel listener that listens for requests, responses and errors.
ChatModelRequest - Class in dev.langchain4j.model.chat.listener
A request to the ChatLanguageModel or StreamingChatLanguageModel, intended to be used with ChatModelListener.
ChatModelRequest(String, Double, Double, Integer, List<ChatMessage>, List<ToolSpecification>) - Constructor for class dev.langchain4j.model.chat.listener.ChatModelRequest
 
ChatModelRequestContext - Class in dev.langchain4j.model.chat.listener
The request context.
ChatModelRequestContext(ChatModelRequest, Map<Object, Object>) - Constructor for class dev.langchain4j.model.chat.listener.ChatModelRequestContext
 
ChatModelResponse - Class in dev.langchain4j.model.chat.listener
A response from the ChatLanguageModel or StreamingChatLanguageModel, intended to be used with ChatModelListener.
ChatModelResponse(String, String, TokenUsage, FinishReason, AiMessage) - Constructor for class dev.langchain4j.model.chat.listener.ChatModelResponse
 
ChatModelResponseContext - Class in dev.langchain4j.model.chat.listener
The response context.
ChatModelResponseContext(ChatModelResponse, ChatModelRequest, Map<Object, Object>) - Constructor for class dev.langchain4j.model.chat.listener.ChatModelResponseContext
 
ChatRequest - Class in dev.langchain4j.model.chat.request
 
ChatRequest.Builder - Class in dev.langchain4j.model.chat.request
 
ChatResponse - Class in dev.langchain4j.model.chat.response
 
ChatResponse.Builder - Class in dev.langchain4j.model.chat.response
 
ChatTokenResponse - Class in dev.langchain4j.model.qianfan.client.chat
 
ChatTokenResponse.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
CHINESE_PAINTING - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
choices(List<ChatCompletionChoice>) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse.ChatCompletionResponseBuilder
 
ChromaEmbeddingStore - Class in dev.langchain4j.store.embedding.chroma
Represents a store for embeddings using the Chroma backend.
ChromaEmbeddingStore(String, String, Duration, boolean, boolean) - Constructor for class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
Initializes a new instance of ChromaEmbeddingStore with the specified parameters.
ChromaEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.chroma
 
Cinematic - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
CLASSIFICATION - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
classify(Document) - Method in interface dev.langchain4j.classification.TextClassifier
Classify the given Document.
classify(TextSegment) - Method in interface dev.langchain4j.classification.TextClassifier
Classify the given TextSegment.
classify(String) - Method in class dev.langchain4j.classification.EmbeddingModelTextClassifier
 
classify(String) - Method in interface dev.langchain4j.classification.TextClassifier
Classify the given text.
CLAUDE_2 - Enum constant in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
CLAUDE_2_1 - Enum constant in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
CLAUDE_3_5_SONNET_20240620 - Enum constant in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
CLAUDE_3_HAIKU_20240307 - Enum constant in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
CLAUDE_3_OPUS_20240229 - Enum constant in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
CLAUDE_3_SONNET_20240229 - Enum constant in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
CLAUDE_INSTANT_1_2 - Enum constant in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
clean(String) - Method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
clean(String) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
clear() - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory
 
clear() - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory
 
clear() - Method in interface dev.langchain4j.memory.ChatMemory
Clears the chat memory.
clear() - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Delete all records from the table.
clear() - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Delete all rows.
clear() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Delete all rows.
clearCache() - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
clearStore() - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
Deletes all points from the Qdrant collection.
client(QdrantClient) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
close() - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
close() - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
 
close() - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
Closes the underlying GRPC client.
close() - Method in class dev.langchain4j.store.graph.neo4j.Neo4jGraph
 
cloud(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeServerlessIndexConfig.Builder
 
CLUSTERING - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
clusterUrl(String) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
code() - Method in exception class dev.langchain4j.model.qianfan.client.QianfanApiException
 
code() - Method in exception class dev.langchain4j.model.qianfan.client.QianfanHttpException
 
CodeExecutionEngine - Interface in dev.langchain4j.code
Interface for executing code.
CODELLAMA_7B_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Instruct fine-tuned version of the Mistral-7b generative text model with 7 billion parameters.
CODELLAMA_7B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanLanguageModelNameEnum
 
COGVIEW_3 - Enum constant in enum class dev.langchain4j.model.zhipu.image.ImageModelName
 
CohereEmbeddingModel - Class in dev.langchain4j.model.cohere
An implementation of an EmbeddingModel that uses Cohere Embed API.
CohereEmbeddingModel(String, String, String, String, Duration, Boolean, Boolean, Integer) - Constructor for class dev.langchain4j.model.cohere.CohereEmbeddingModel
 
CohereScoringModel - Class in dev.langchain4j.model.cohere
An implementation of a ScoringModel that uses Cohere Rerank API.
CohereScoringModel(String, String, String, Duration, Integer, Proxy, Boolean, Boolean) - Constructor for class dev.langchain4j.model.cohere.CohereScoringModel
 
collectionName(String) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
collectionName(String) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
 
collectionName(String) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
collectionName(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
collectionName(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
 
collectionName(String) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
COLUMN_PER_KEY - Enum constant in enum class dev.langchain4j.store.embedding.pgvector.MetadataStorageMode
COLUMN_PER_KEY: for static metadata, when you know in advance the list of metadata
ColumnDefinition - Class in dev.langchain4j.store.embedding.filter.builder.sql
 
ColumnDefinition(String, String) - Constructor for class dev.langchain4j.store.embedding.filter.builder.sql.ColumnDefinition
 
ColumnDefinition(String, String, String) - Constructor for class dev.langchain4j.store.embedding.filter.builder.sql.ColumnDefinition
 
columnDefinitions() - Method in interface dev.langchain4j.store.embedding.pgvector.MetadataStorageConfig
SQL definition of metadata field(s) list.
columns() - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition
 
columns(Collection<ColumnDefinition>) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition.Builder
 
COMBINED_JSON - Enum constant in enum class dev.langchain4j.store.embedding.pgvector.MetadataStorageMode
COMBINED_JSON: For dynamic metadata, when you don't know the list of metadata that will be used.
COMBINED_JSONB - Enum constant in enum class dev.langchain4j.store.embedding.pgvector.MetadataStorageMode
COMBINED_JSONB: Same as JSON, but stored in a binary way.
ComicBook - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
CommandTextV14 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.Types
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
comparisonValues() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsIn
 
comparisonValues() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
completion(CompletionRequest, boolean, String) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient
 
Completion() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse.Completion
 
CompletionReason() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse.CompletionReason
 
CompletionRequest - Class in dev.langchain4j.model.qianfan.client.completion
 
CompletionRequest.Builder - Class in dev.langchain4j.model.qianfan.client.completion
 
CompletionResponse - Class in dev.langchain4j.model.qianfan.client.completion
 
CompletionResponse() - Constructor for class dev.langchain4j.model.qianfan.client.completion.CompletionResponse
 
completionTokens() - Method in class dev.langchain4j.model.qianfan.client.Usage
 
completionTokens(Integer) - Method in class dev.langchain4j.model.qianfan.client.Usage.Builder
 
completionTokens(Integer) - Method in class dev.langchain4j.model.zhipu.shared.Usage.Builder
 
CompressingQueryTransformer - Class in dev.langchain4j.rag.query.transformer
A QueryTransformer that leverages a ChatLanguageModel to condense a given Query along with a chat memory (previous conversation history) into a concise Query.
CompressingQueryTransformer(ChatLanguageModel) - Constructor for class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
CompressingQueryTransformer(ChatLanguageModel, PromptTemplate) - Constructor for class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
compressionQuality(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
CompressRate() - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate
 
configuration(ElasticsearchConfiguration) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
 
connectionString(String) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
Sets the Azure CosmosDB Mongo vCore connectionString.
connectTimeout(Duration) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
connectTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
connectTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
connectTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
connectTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
connectTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
consistencyLevel(ConsistencyLevelEnum) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
contactPoints(List<String>) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
contactPoints(List<String>) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
containsKey(String) - Method in class dev.langchain4j.data.document.Metadata
Check whether this Metadata contains a given key.
content - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
content - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicMessage
 
content - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
content - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolResultContent
 
content() - Method in class dev.langchain4j.model.output.Response
Get the content.
content() - Method in class dev.langchain4j.model.qianfan.client.chat.Message
 
content() - Method in class dev.langchain4j.service.Result
 
content() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
Returns the content scraped from the web page.
content(Object) - Method in class dev.langchain4j.model.zhipu.chat.UserMessage.UserMessageBuilder
 
content(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Examples.Builder
 
content(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Message.Builder
 
content(String) - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage.Builder
 
content(String) - Method in class dev.langchain4j.model.zhipu.chat.Delta.Builder
 
content(String) - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage.SystemMessageBuilder
 
content(String) - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage.ToolMessageBuilder
 
Content - Class in dev.langchain4j.rag.content
Represents content relevant to a user Query with the potential to enhance and ground the LLM's response.
Content - Interface in dev.langchain4j.data.message
Abstract base interface for message content.
Content - Interface in dev.langchain4j.model.zhipu.chat
 
Content(TextSegment) - Constructor for class dev.langchain4j.rag.content.Content
 
Content(String) - Constructor for class dev.langchain4j.rag.content.Content
 
CONTENT_FILTER - Enum constant in enum class dev.langchain4j.model.output.FinishReason
The call finished signalling a need for content filtering.
ContentAggregator - Interface in dev.langchain4j.rag.content.aggregator
Aggregates all Contents retrieved from all ContentRetrievers using all Querys.
contentBlock - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicStreamingData
 
ContentInjector - Interface in dev.langchain4j.rag.content.injector
Injects given Contents into a given UserMessage.
contentRetriever(ContentRetriever) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
 
contentRetriever(ContentRetriever) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
contentRetriever(ContentRetriever) - Method in class dev.langchain4j.service.AiServices
Configures a content retriever to be invoked on every method call for retrieving relevant content related to the user's message from an underlying data source (e.g., an embedding store in the case of an EmbeddingStoreContentRetriever).
ContentRetriever - Interface in dev.langchain4j.rag.content.retriever
Retrieves Contents from an underlying data source using a given Query.
contents() - Method in class dev.langchain4j.data.message.UserMessage
The contents of the message.
contents() - Method in class dev.langchain4j.rag.AugmentationResult
 
ContentType - Enum Class in dev.langchain4j.data.message
The type of content, e.g.
context - Variable in class dev.langchain4j.service.AiServices
 
contextLink() - Method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine.ImageSearchResult
 
ConversationalChain - Class in dev.langchain4j.chain
A chain for conversing with a specified ChatLanguageModel while maintaining a memory of the conversation.
ConversationalRetrievalChain - Class in dev.langchain4j.chain
A chain for conversing with a specified ChatLanguageModel based on the information retrieved by a specified ContentRetriever.
ConversationalRetrievalChain(ChatLanguageModel, ChatMemory, PromptTemplate, Retriever<TextSegment>) - Constructor for class dev.langchain4j.chain.ConversationalRetrievalChain
Deprecated.
ConversationalRetrievalChain(ChatLanguageModel, ChatMemory, ContentRetriever) - Constructor for class dev.langchain4j.chain.ConversationalRetrievalChain
 
ConversationalRetrievalChain(ChatLanguageModel, ChatMemory, RetrievalAugmentor) - Constructor for class dev.langchain4j.chain.ConversationalRetrievalChain
 
ConversationalRetrievalChain.Builder - Class in dev.langchain4j.chain
 
convertAsImage(byte[]) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel
Convert Workers AI Image Generation output to Langchain4j model.
convertMessagesToAwsBody(List<ChatMessage>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
copy() - Method in class dev.langchain4j.data.document.Metadata
Copies the metadata.
copyIfNotNull(List<T>) - Static method in class dev.langchain4j.internal.Utils
Returns an (unmodifiable) copy of the provided list.
copyIfNotNull(Map<K, V>) - Static method in class dev.langchain4j.internal.Utils
Returns an (unmodifiable) copy of the provided map.
COS - Enum constant in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.SimilarityMetric
 
CosineSimilarity - Class in dev.langchain4j.store.embedding
Utility class for calculating cosine similarity between two vectors.
CouchbaseEmbeddingStore - Class in dev.langchain4j.store.embedding.couchbase
Represents a Couchbase index as an embedding store.
CouchbaseEmbeddingStore(String, String, String, String, String, String, String, Integer) - Constructor for class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
Creates an instance of CouchbaseEmbeddingStore
CouchbaseEmbeddingStore(String, String, String, String, String, String, String, Integer, Integer) - Constructor for class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
Creates an instance of CouchbaseEmbeddingStore
CouchbaseEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.couchbase
 
create() - Method in class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParserFactory
 
create() - Method in class dev.langchain4j.data.document.splitter.recursive.RecursiveDocumentSplitterFactory
 
create() - Method in interface dev.langchain4j.spi.data.document.parser.DocumentParserFactory
 
create() - Method in interface dev.langchain4j.spi.data.document.splitter.DocumentSplitterFactory
 
create() - Method in interface dev.langchain4j.spi.data.message.ChatMessageJsonCodecFactory
Creates a new ChatMessageJsonCodec object.
create() - Method in interface dev.langchain4j.spi.json.JsonCodecFactory
Create a new Json.JsonCodec.
create() - Method in interface dev.langchain4j.spi.model.embedding.EmbeddingModelFactory
 
create() - Method in interface dev.langchain4j.spi.store.embedding.inmemory.InMemoryEmbeddingStoreJsonCodecFactory
 
create() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Create the table if not exist.
create(HuggingFaceClientFactory.Input) - Method in interface dev.langchain4j.model.huggingface.spi.HuggingFaceClientFactory
 
create(AiServiceContext) - Method in interface dev.langchain4j.spi.services.AiServicesFactory
 
create(PromptTemplateFactory.Input) - Method in interface dev.langchain4j.spi.prompt.PromptTemplateFactory
Create a new prompt template.
create(Class<T>, ChatLanguageModel) - Static method in class dev.langchain4j.service.AiServices
Creates an AI Service (an implementation of the provided interface), that is backed by the provided chat model.
create(Class<T>, StreamingChatLanguageModel) - Static method in class dev.langchain4j.service.AiServices
Creates an AI Service (an implementation of the provided interface), that is backed by the provided streaming chat model.
CREATE_IF_NOT_EXISTS - Enum constant in enum class dev.langchain4j.store.embedding.oracle.CreateOption
An existing schema object is reused, otherwise it is created.
CREATE_NONE - Enum constant in enum class dev.langchain4j.store.embedding.oracle.CreateOption
No attempt is made to create the schema object.
CREATE_OR_REPLACE - Enum constant in enum class dev.langchain4j.store.embedding.oracle.CreateOption
An existing schema object is dropped and replaced with a new one.
createCache() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the createCache record component.
createCache(boolean) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Create cache in the server
createCollectionOptions(CreateCollectionOptions) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
createCollectionOptions(CreateCollectionOptions) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
 
created() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
created(Integer) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
created(Integer) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse.Builder
 
created(Integer) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse.ChatCompletionResponseBuilder
 
createIndex(PineconeIndexConfig) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
 
createIndex(Pinecone, String) - Method in interface dev.langchain4j.store.embedding.pinecone.PineconeIndexConfig
 
createIndex(Pinecone, String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig
 
createIndex(Pinecone, String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeServerlessIndexConfig
 
createIndex(Boolean) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
Set to true if you want the application to create an index, or false if you want to create it manually.
createIndex(Boolean) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
Set whether in production mode, production mode will not create index automatically
createMessage(AnthropicCreateMessageRequest) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient
 
createMessage(AnthropicCreateMessageRequest) - Method in class dev.langchain4j.model.anthropic.internal.client.DefaultAnthropicClient
 
createMessage(AnthropicCreateMessageRequest, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient
 
createMessage(AnthropicCreateMessageRequest, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.anthropic.internal.client.DefaultAnthropicClient
 
createMessage(String, String, String, AnthropicCreateMessageRequest) - Method in interface dev.langchain4j.model.anthropic.internal.api.AnthropicApi
 
createOption(CreateOption) - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable.Builder
Configures the option to create (or not create) a table.
CreateOption - Enum Class in dev.langchain4j.store.embedding.oracle
Options which configure the creation of database schema objects, such as tables and indexes.
createOrUpdateIndex(boolean) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Whether to create or update the search index.
createOrUpdateIndex(boolean) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
Whether to create or update the search index.
createOrUpdateIndex(int) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Creates or updates the index using a ready-made index.
createPrompt(ChatMessage, List<Content>) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
createPrompt(UserMessage, List<Content>) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
Deprecated.
createPrompt(Query) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
createPrompt(Query) - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
createPrompt(Query) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
createPrompt(Query, String) - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
createService(String) - Static method in class dev.langchain4j.model.workersai.client.WorkersAiClient
Initialization of okHTTP.
createSystemPrompt() - Method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
createTableStatement - Variable in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
credentialsProvider - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
CustomMimeTypesFileTypeDetector - Class in dev.langchain4j.internal
Utility class to guess the mime-type of a file from its path or URI.
CustomMimeTypesFileTypeDetector() - Constructor for class dev.langchain4j.internal.CustomMimeTypesFileTypeDetector
Create a file mime-type detector, using the internal default mappings, and fallback to JDK's built-in capabilities, when no suitable mapping is found.
CustomMimeTypesFileTypeDetector(Map<String, String>) - Constructor for class dev.langchain4j.internal.CustomMimeTypesFileTypeDetector
Create a file mime-type detector, using your own custom file extension to mime-type mappings, with a fallback to JDK's built-in capabilities, when no suitable mapping is found
CYBERPUNK - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 

D

DALL_E_2 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiImageModelName
 
DALL_E_2 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
DALL_E_3 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
DALL_E_3 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiImageModelName
 
DALL_E_3 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
DALL_E_3 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
DALL_E_3_30 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
data - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicImageContentSource
 
data - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbeddingResponse
 
data() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
data(List<EmbeddingData>) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse.Builder
 
Data - Class in dev.langchain4j.model.zhipu.image
 
Data() - Constructor for class dev.langchain4j.model.zhipu.image.Data
 
databaseId(UUID) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
databaseId(UUID) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
databaseName(String) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
databaseName(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
databaseName(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
 
databaseRegion(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
databaseRegion(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
datasource - Variable in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Datasource used to create the store
dataSource(DataSource) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder
Configures a data source that connects to an Oracle Database.
dataSources(List<AzureChatExtensionConfiguration>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
dataSources(List<AzureChatExtensionConfiguration>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
decode(List<Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
decode(List<Integer>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
DEEPSEEK_CODER_6_7_BASE - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Deepseek Coder is composed of a series of code language models, each trained from scratch on 2T tokens, with a composition of 87% code and 13% natural language in both English and Chinese..
DEEPSEEK_CODER_MATH_7B_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Deepseek Coder is composed of a series of code language models, each trained from scratch on 2T tokens, with a composition of 87% code and 13% natural language in both English and Chinese..
DEEPSEEK_CODER_MATH_7B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
DeepSeekMath is initialized with DeepSeek-Coder-v1.5 7B and continues pre-training on math-related tokens sourced from Common Crawl, together with natural language and code data for 500B tokens.
DEFAULT - Static variable in class dev.langchain4j.service.AiServices
 
DEFAULT_ANTHROPIC_VERSION - Static variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
DEFAULT_CACHE_CONFIG - Static variable in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Default Cache Config
DEFAULT_CONTENT_HANDLER_SUPPLIER - Static variable in class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
 
DEFAULT_DISPLAY_NAME - Static variable in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
DEFAULT_DISTANCE - Static variable in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
The default distance to for the search
DEFAULT_FIELD_CONTENT - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
DEFAULT_FIELD_CONTENT_VECTOR - Variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
DEFAULT_FIELD_METADATA - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
DEFAULT_FIELD_METADATA_ATTRS - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
DEFAULT_FIELD_METADATA_SOURCE - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
DEFAULT_FILTER - Static variable in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
DEFAULT_INDEX_NAME - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
DEFAULT_ITEM_PACKAGE - Static variable in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Default package of the schema
DEFAULT_LANGCHAIN_ITEM - Static variable in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Default name of the protobuf langchain item.
DEFAULT_MAX_RESULTS - Static variable in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
DEFAULT_METADATA_ITEM - Static variable in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Default name of the protobuf metadata item.
DEFAULT_METADATA_SUPPLIER - Static variable in class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
 
DEFAULT_MIN_SCORE - Static variable in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
DEFAULT_N - Static variable in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
DEFAULT_PARSE_CONTEXT_SUPPLIER - Static variable in class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
 
DEFAULT_PARSER_SUPPLIER - Static variable in class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
 
DEFAULT_PORT - Static variable in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
DEFAULT_PORT - Static variable in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
DEFAULT_PROMPT_TEMPLATE - Static variable in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
DEFAULT_PROMPT_TEMPLATE - Static variable in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
DEFAULT_PROMPT_TEMPLATE - Static variable in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
DEFAULT_PROMPT_TEMPLATE - Static variable in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
DEFAULT_QUERY_SELECTOR - Static variable in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 
DEFAULT_RETRY_POLICY - Static variable in class dev.langchain4j.internal.RetryUtils
Default retry policy used by RetryUtils.withRetry(Callable).
DEFAULT_SIMILARITY - Static variable in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Default vector similarity
DEFAULT_TABLE_NAME - Static variable in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Default message store.
DefaultAnthropicClient - Class in dev.langchain4j.model.anthropic.internal.client
 
DefaultAnthropicClient.Builder - Class in dev.langchain4j.model.anthropic.internal.client
 
DefaultAzureAiSearchFilterMapper - Class in dev.langchain4j.rag.content.retriever.azure.search
Maps Filter objects to Azure AI Search filter strings.
DefaultAzureAiSearchFilterMapper() - Constructor for class dev.langchain4j.rag.content.retriever.azure.search.DefaultAzureAiSearchFilterMapper
 
defaultConfig() - Static method in class dev.langchain4j.store.embedding.pgvector.DefaultMetadataStorageConfig
Default configuration
DefaultContentAggregator - Class in dev.langchain4j.rag.content.aggregator
Default implementation of ContentAggregator intended to be suitable for the majority of use cases.
DefaultContentAggregator() - Constructor for class dev.langchain4j.rag.content.aggregator.DefaultContentAggregator
 
DefaultContentInjector - Class in dev.langchain4j.rag.content.injector
Default implementation of ContentInjector intended to be suitable for the majority of use cases.
DefaultContentInjector() - Constructor for class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
DefaultContentInjector(PromptTemplate) - Constructor for class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
DefaultContentInjector(PromptTemplate, List<String>) - Constructor for class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
DefaultContentInjector(List<String>) - Constructor for class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
defaultIndexMapping() - Static method in class dev.langchain4j.store.embedding.mongodb.IndexMapping
 
DefaultMetadataStorageConfig - Class in dev.langchain4j.store.embedding.pgvector
Metadata configuration implementation
DefaultMetadataStorageConfig() - Constructor for class dev.langchain4j.store.embedding.pgvector.DefaultMetadataStorageConfig
Just for warnings ?
DefaultMistralAiClient - Class in dev.langchain4j.model.mistralai.internal.client
 
DefaultMistralAiClient.Builder - Class in dev.langchain4j.model.mistralai.internal.client
 
DefaultOvhAiClient - Class in dev.langchain4j.model.ovhai.internal.client
 
DefaultOvhAiClient.Builder - Class in dev.langchain4j.model.ovhai.internal.client
 
DefaultQueryRouter - Class in dev.langchain4j.rag.query.router
Default implementation of QueryRouter intended to be suitable for the majority of use cases.
DefaultQueryRouter(ContentRetriever...) - Constructor for class dev.langchain4j.rag.query.router.DefaultQueryRouter
 
DefaultQueryRouter(Collection<ContentRetriever>) - Constructor for class dev.langchain4j.rag.query.router.DefaultQueryRouter
 
DefaultQueryTransformer - Class in dev.langchain4j.rag.query.transformer
Default implementation of QueryTransformer intended to be suitable for the majority of use cases.
DefaultQueryTransformer() - Constructor for class dev.langchain4j.rag.query.transformer.DefaultQueryTransformer
 
DefaultRetrievalAugmentor - Class in dev.langchain4j.rag
The default implementation of RetrievalAugmentor intended to be suitable for the majority of use cases.
DefaultRetrievalAugmentor(QueryTransformer, QueryRouter, ContentAggregator, ContentInjector, Executor) - Constructor for class dev.langchain4j.rag.DefaultRetrievalAugmentor
 
DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder - Class in dev.langchain4j.rag
 
DefaultRetrievalAugmentorBuilder() - Constructor for class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
DefaultStructuredPromptFactory - Class in dev.langchain4j.model.input.structured
Default implementation of StructuredPromptFactory.
DefaultStructuredPromptFactory() - Constructor for class dev.langchain4j.model.input.structured.DefaultStructuredPromptFactory
Create a default structured prompt factory.
defaultSubSplitter() - Method in class dev.langchain4j.data.document.splitter.DocumentByCharacterSplitter
 
defaultSubSplitter() - Method in class dev.langchain4j.data.document.splitter.DocumentByLineSplitter
 
defaultSubSplitter() - Method in class dev.langchain4j.data.document.splitter.DocumentByParagraphSplitter
 
defaultSubSplitter() - Method in class dev.langchain4j.data.document.splitter.DocumentByRegexSplitter
 
defaultSubSplitter() - Method in class dev.langchain4j.data.document.splitter.DocumentBySentenceSplitter
 
defaultSubSplitter() - Method in class dev.langchain4j.data.document.splitter.DocumentByWordSplitter
 
defaultSubSplitter() - Method in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
The default sub-splitter to use when a single segment is too long.
DefaultToolExecutor - Class in dev.langchain4j.service.tool
 
DefaultToolExecutor(Object, ToolExecutionRequest) - Constructor for class dev.langchain4j.service.tool.DefaultToolExecutor
 
DefaultToolExecutor(Object, Method) - Constructor for class dev.langchain4j.service.tool.DefaultToolExecutor
 
delayMillis(int) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy.Builder
Sets the base delay in milliseconds.
delete() - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Delete the table.
delete() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Delete the table.
deleteIndex() - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
deleteMessages(Object) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Deletes all messages for a specified chat memory.
deleteMessages(Object) - Method in interface dev.langchain4j.store.memory.chat.ChatMemoryStore
Deletes all messages for a specified chat memory.
deleteMessages(Object) - Method in class dev.langchain4j.store.memory.chat.InMemoryChatMemoryStore
 
deleteMessages(Object) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore
 
deleteModel(OllamaModel) - Method in class dev.langchain4j.model.ollama.OllamaModels
 
deleteModel(String) - Method in class dev.langchain4j.model.ollama.OllamaModels
 
deleteSpace() - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
delimiter() - Element in annotation interface dev.langchain4j.model.input.structured.StructuredPrompt
The delimiter to join the lines of the prompt template.
delimiter() - Element in annotation interface dev.langchain4j.service.SystemMessage
 
delimiter() - Element in annotation interface dev.langchain4j.service.UserMessage
 
delta - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicStreamingData
 
delta(Delta) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice.ChatCompletionChoiceBuilder
 
Delta - Class in dev.langchain4j.model.zhipu.chat
 
Delta() - Constructor for class dev.langchain4j.model.zhipu.chat.Delta
 
Delta.Builder - Class in dev.langchain4j.model.zhipu.chat
 
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the deployment name in Azure OpenAI.
description - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicTool
 
description() - Method in class dev.langchain4j.agent.tool.ToolSpecification
Returns the description of the tool.
description() - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema
 
description() - Method in class dev.langchain4j.model.chat.request.json.JsonBooleanSchema
 
description() - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema
 
description() - Method in class dev.langchain4j.model.chat.request.json.JsonIntegerSchema
 
description() - Method in class dev.langchain4j.model.chat.request.json.JsonNumberSchema
 
description() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
description() - Method in class dev.langchain4j.model.chat.request.json.JsonStringSchema
 
description() - Method in class dev.langchain4j.model.qianfan.client.chat.Function
 
description() - Method in class dev.langchain4j.model.zhipu.chat.Function
 
description() - Method in class dev.langchain4j.store.embedding.filter.builder.sql.ColumnDefinition
 
description() - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition
 
description(String) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Construct a property with key "description" and value.
description(String) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Sets the description.
description(String) - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema.Builder
 
description(String) - Method in class dev.langchain4j.model.chat.request.json.JsonBooleanSchema.Builder
 
description(String) - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema.Builder
 
description(String) - Method in class dev.langchain4j.model.chat.request.json.JsonIntegerSchema.Builder
 
description(String) - Method in class dev.langchain4j.model.chat.request.json.JsonNumberSchema.Builder
 
description(String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
 
description(String) - Method in class dev.langchain4j.model.chat.request.json.JsonStringSchema.Builder
 
description(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
description(String) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
description(String) - Method in class dev.langchain4j.model.zhipu.chat.Function.Builder
 
description(String) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition.Builder
 
Description - Annotation Interface in dev.langchain4j.model.output.structured
Annotation to attach a description to a class field.
detailLevel() - Method in class dev.langchain4j.data.message.ImageContent
Get the DetailLevel.
dev.langchain4j - package dev.langchain4j
 
dev.langchain4j.agent.tool - package dev.langchain4j.agent.tool
 
dev.langchain4j.agent.tool.graalvm - package dev.langchain4j.agent.tool.graalvm
 
dev.langchain4j.chain - package dev.langchain4j.chain
 
dev.langchain4j.classification - package dev.langchain4j.classification
 
dev.langchain4j.code - package dev.langchain4j.code
 
dev.langchain4j.code.graalvm - package dev.langchain4j.code.graalvm
 
dev.langchain4j.code.judge0 - package dev.langchain4j.code.judge0
 
dev.langchain4j.data.audio - package dev.langchain4j.data.audio
 
dev.langchain4j.data.document - package dev.langchain4j.data.document
 
dev.langchain4j.data.document.loader - package dev.langchain4j.data.document.loader
 
dev.langchain4j.data.document.loader.amazon.s3 - package dev.langchain4j.data.document.loader.amazon.s3
 
dev.langchain4j.data.document.loader.azure.storage.blob - package dev.langchain4j.data.document.loader.azure.storage.blob
 
dev.langchain4j.data.document.loader.github - package dev.langchain4j.data.document.loader.github
 
dev.langchain4j.data.document.loader.selenium - package dev.langchain4j.data.document.loader.selenium
 
dev.langchain4j.data.document.loader.tencent.cos - package dev.langchain4j.data.document.loader.tencent.cos
 
dev.langchain4j.data.document.parser - package dev.langchain4j.data.document.parser
 
dev.langchain4j.data.document.parser.apache.pdfbox - package dev.langchain4j.data.document.parser.apache.pdfbox
 
dev.langchain4j.data.document.parser.apache.poi - package dev.langchain4j.data.document.parser.apache.poi
 
dev.langchain4j.data.document.parser.apache.tika - package dev.langchain4j.data.document.parser.apache.tika
 
dev.langchain4j.data.document.source - package dev.langchain4j.data.document.source
 
dev.langchain4j.data.document.source.amazon.s3 - package dev.langchain4j.data.document.source.amazon.s3
 
dev.langchain4j.data.document.source.azure.storage.blob - package dev.langchain4j.data.document.source.azure.storage.blob
 
dev.langchain4j.data.document.source.github - package dev.langchain4j.data.document.source.github
 
dev.langchain4j.data.document.source.tencent.cos - package dev.langchain4j.data.document.source.tencent.cos
 
dev.langchain4j.data.document.splitter - package dev.langchain4j.data.document.splitter
 
dev.langchain4j.data.document.splitter.recursive - package dev.langchain4j.data.document.splitter.recursive
 
dev.langchain4j.data.document.transformer - package dev.langchain4j.data.document.transformer
 
dev.langchain4j.data.embedding - package dev.langchain4j.data.embedding
 
dev.langchain4j.data.image - package dev.langchain4j.data.image
 
dev.langchain4j.data.message - package dev.langchain4j.data.message
 
dev.langchain4j.data.pdf - package dev.langchain4j.data.pdf
 
dev.langchain4j.data.segment - package dev.langchain4j.data.segment
 
dev.langchain4j.data.text - package dev.langchain4j.data.text
 
dev.langchain4j.data.video - package dev.langchain4j.data.video
 
dev.langchain4j.exception - package dev.langchain4j.exception
 
dev.langchain4j.experimental.rag.content.retriever.sql - package dev.langchain4j.experimental.rag.content.retriever.sql
 
dev.langchain4j.internal - package dev.langchain4j.internal
 
dev.langchain4j.memory - package dev.langchain4j.memory
 
dev.langchain4j.memory.chat - package dev.langchain4j.memory.chat
 
dev.langchain4j.model - package dev.langchain4j.model
 
dev.langchain4j.model.anthropic - package dev.langchain4j.model.anthropic
 
dev.langchain4j.model.anthropic.internal.api - package dev.langchain4j.model.anthropic.internal.api
 
dev.langchain4j.model.anthropic.internal.client - package dev.langchain4j.model.anthropic.internal.client
 
dev.langchain4j.model.anthropic.internal.mapper - package dev.langchain4j.model.anthropic.internal.mapper
 
dev.langchain4j.model.anthropic.internal.sanitizer - package dev.langchain4j.model.anthropic.internal.sanitizer
 
dev.langchain4j.model.azure - package dev.langchain4j.model.azure
 
dev.langchain4j.model.azure.spi - package dev.langchain4j.model.azure.spi
 
dev.langchain4j.model.bedrock - package dev.langchain4j.model.bedrock
 
dev.langchain4j.model.bedrock.internal - package dev.langchain4j.model.bedrock.internal
 
dev.langchain4j.model.chat - package dev.langchain4j.model.chat
 
dev.langchain4j.model.chat.listener - package dev.langchain4j.model.chat.listener
 
dev.langchain4j.model.chat.request - package dev.langchain4j.model.chat.request
 
dev.langchain4j.model.chat.request.json - package dev.langchain4j.model.chat.request.json
 
dev.langchain4j.model.chat.response - package dev.langchain4j.model.chat.response
 
dev.langchain4j.model.chatglm - package dev.langchain4j.model.chatglm
 
dev.langchain4j.model.chatglm.spi - package dev.langchain4j.model.chatglm.spi
 
dev.langchain4j.model.cohere - package dev.langchain4j.model.cohere
 
dev.langchain4j.model.dashscope - package dev.langchain4j.model.dashscope
 
dev.langchain4j.model.dashscope.spi - package dev.langchain4j.model.dashscope.spi
 
dev.langchain4j.model.embedding - package dev.langchain4j.model.embedding
 
dev.langchain4j.model.googleai - package dev.langchain4j.model.googleai
 
dev.langchain4j.model.huggingface - package dev.langchain4j.model.huggingface
 
dev.langchain4j.model.huggingface.client - package dev.langchain4j.model.huggingface.client
 
dev.langchain4j.model.huggingface.spi - package dev.langchain4j.model.huggingface.spi
 
dev.langchain4j.model.image - package dev.langchain4j.model.image
 
dev.langchain4j.model.input - package dev.langchain4j.model.input
 
dev.langchain4j.model.input.structured - package dev.langchain4j.model.input.structured
 
dev.langchain4j.model.jina - package dev.langchain4j.model.jina
 
dev.langchain4j.model.jina.internal.api - package dev.langchain4j.model.jina.internal.api
 
dev.langchain4j.model.jina.internal.client - package dev.langchain4j.model.jina.internal.client
 
dev.langchain4j.model.jlama - package dev.langchain4j.model.jlama
 
dev.langchain4j.model.jlama.spi - package dev.langchain4j.model.jlama.spi
 
dev.langchain4j.model.language - package dev.langchain4j.model.language
 
dev.langchain4j.model.localai - package dev.langchain4j.model.localai
 
dev.langchain4j.model.localai.spi - package dev.langchain4j.model.localai.spi
 
dev.langchain4j.model.mistralai - package dev.langchain4j.model.mistralai
 
dev.langchain4j.model.mistralai.internal.api - package dev.langchain4j.model.mistralai.internal.api
 
dev.langchain4j.model.mistralai.internal.client - package dev.langchain4j.model.mistralai.internal.client
 
dev.langchain4j.model.mistralai.internal.mapper - package dev.langchain4j.model.mistralai.internal.mapper
 
dev.langchain4j.model.mistralai.spi - package dev.langchain4j.model.mistralai.spi
 
dev.langchain4j.model.moderation - package dev.langchain4j.model.moderation
 
dev.langchain4j.model.nomic - package dev.langchain4j.model.nomic
 
dev.langchain4j.model.ollama - package dev.langchain4j.model.ollama
 
dev.langchain4j.model.ollama.spi - package dev.langchain4j.model.ollama.spi
 
dev.langchain4j.model.openai - package dev.langchain4j.model.openai
 
dev.langchain4j.model.openai.spi - package dev.langchain4j.model.openai.spi
 
dev.langchain4j.model.output - package dev.langchain4j.model.output
 
dev.langchain4j.model.output.structured - package dev.langchain4j.model.output.structured
 
dev.langchain4j.model.ovhai - package dev.langchain4j.model.ovhai
 
dev.langchain4j.model.ovhai.internal.api - package dev.langchain4j.model.ovhai.internal.api
 
dev.langchain4j.model.ovhai.internal.client - package dev.langchain4j.model.ovhai.internal.client
 
dev.langchain4j.model.qianfan - package dev.langchain4j.model.qianfan
 
dev.langchain4j.model.qianfan.client - package dev.langchain4j.model.qianfan.client
 
dev.langchain4j.model.qianfan.client.chat - package dev.langchain4j.model.qianfan.client.chat
 
dev.langchain4j.model.qianfan.client.completion - package dev.langchain4j.model.qianfan.client.completion
 
dev.langchain4j.model.qianfan.client.embedding - package dev.langchain4j.model.qianfan.client.embedding
 
dev.langchain4j.model.qianfan.spi - package dev.langchain4j.model.qianfan.spi
 
dev.langchain4j.model.scoring - package dev.langchain4j.model.scoring
 
dev.langchain4j.model.vertexai - package dev.langchain4j.model.vertexai
 
dev.langchain4j.model.vertexai.spi - package dev.langchain4j.model.vertexai.spi
 
dev.langchain4j.model.workersai - package dev.langchain4j.model.workersai
 
dev.langchain4j.model.workersai.client - package dev.langchain4j.model.workersai.client
 
dev.langchain4j.model.workersai.spi - package dev.langchain4j.model.workersai.spi
 
dev.langchain4j.model.zhipu - package dev.langchain4j.model.zhipu
 
dev.langchain4j.model.zhipu.chat - package dev.langchain4j.model.zhipu.chat
 
dev.langchain4j.model.zhipu.embedding - package dev.langchain4j.model.zhipu.embedding
 
dev.langchain4j.model.zhipu.image - package dev.langchain4j.model.zhipu.image
 
dev.langchain4j.model.zhipu.shared - package dev.langchain4j.model.zhipu.shared
 
dev.langchain4j.model.zhipu.spi - package dev.langchain4j.model.zhipu.spi
 
dev.langchain4j.rag - package dev.langchain4j.rag
 
dev.langchain4j.rag.content - package dev.langchain4j.rag.content
 
dev.langchain4j.rag.content.aggregator - package dev.langchain4j.rag.content.aggregator
 
dev.langchain4j.rag.content.injector - package dev.langchain4j.rag.content.injector
 
dev.langchain4j.rag.content.retriever - package dev.langchain4j.rag.content.retriever
 
dev.langchain4j.rag.content.retriever.azure.search - package dev.langchain4j.rag.content.retriever.azure.search
 
dev.langchain4j.rag.content.retriever.neo4j - package dev.langchain4j.rag.content.retriever.neo4j
 
dev.langchain4j.rag.query - package dev.langchain4j.rag.query
 
dev.langchain4j.rag.query.router - package dev.langchain4j.rag.query.router
 
dev.langchain4j.rag.query.transformer - package dev.langchain4j.rag.query.transformer
 
dev.langchain4j.retriever - package dev.langchain4j.retriever
 
dev.langchain4j.service - package dev.langchain4j.service
 
dev.langchain4j.service.output - package dev.langchain4j.service.output
 
dev.langchain4j.service.tool - package dev.langchain4j.service.tool
 
dev.langchain4j.spi - package dev.langchain4j.spi
 
dev.langchain4j.spi.data.document.parser - package dev.langchain4j.spi.data.document.parser
 
dev.langchain4j.spi.data.document.splitter - package dev.langchain4j.spi.data.document.splitter
 
dev.langchain4j.spi.data.message - package dev.langchain4j.spi.data.message
 
dev.langchain4j.spi.json - package dev.langchain4j.spi.json
 
dev.langchain4j.spi.model.embedding - package dev.langchain4j.spi.model.embedding
 
dev.langchain4j.spi.prompt - package dev.langchain4j.spi.prompt
 
dev.langchain4j.spi.prompt.structured - package dev.langchain4j.spi.prompt.structured
 
dev.langchain4j.spi.services - package dev.langchain4j.spi.services
 
dev.langchain4j.spi.store.embedding.inmemory - package dev.langchain4j.spi.store.embedding.inmemory
 
dev.langchain4j.store.embedding - package dev.langchain4j.store.embedding
 
dev.langchain4j.store.embedding.astradb - package dev.langchain4j.store.embedding.astradb
 
dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore - package dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore
 
dev.langchain4j.store.embedding.azure.cosmos.nosql - package dev.langchain4j.store.embedding.azure.cosmos.nosql
 
dev.langchain4j.store.embedding.azure.search - package dev.langchain4j.store.embedding.azure.search
 
dev.langchain4j.store.embedding.cassandra - package dev.langchain4j.store.embedding.cassandra
 
dev.langchain4j.store.embedding.chroma - package dev.langchain4j.store.embedding.chroma
 
dev.langchain4j.store.embedding.couchbase - package dev.langchain4j.store.embedding.couchbase
 
dev.langchain4j.store.embedding.elasticsearch - package dev.langchain4j.store.embedding.elasticsearch
 
dev.langchain4j.store.embedding.filter - package dev.langchain4j.store.embedding.filter
 
dev.langchain4j.store.embedding.filter.builder.sql - package dev.langchain4j.store.embedding.filter.builder.sql
 
dev.langchain4j.store.embedding.filter.comparison - package dev.langchain4j.store.embedding.filter.comparison
 
dev.langchain4j.store.embedding.filter.logical - package dev.langchain4j.store.embedding.filter.logical
 
dev.langchain4j.store.embedding.filter.parser.sql - package dev.langchain4j.store.embedding.filter.parser.sql
 
dev.langchain4j.store.embedding.infinispan - package dev.langchain4j.store.embedding.infinispan
 
dev.langchain4j.store.embedding.inmemory - package dev.langchain4j.store.embedding.inmemory
 
dev.langchain4j.store.embedding.milvus - package dev.langchain4j.store.embedding.milvus
 
dev.langchain4j.store.embedding.mongodb - package dev.langchain4j.store.embedding.mongodb
 
dev.langchain4j.store.embedding.neo4j - package dev.langchain4j.store.embedding.neo4j
 
dev.langchain4j.store.embedding.opensearch - package dev.langchain4j.store.embedding.opensearch
 
dev.langchain4j.store.embedding.oracle - package dev.langchain4j.store.embedding.oracle
 
dev.langchain4j.store.embedding.pgvector - package dev.langchain4j.store.embedding.pgvector
 
dev.langchain4j.store.embedding.pinecone - package dev.langchain4j.store.embedding.pinecone
 
dev.langchain4j.store.embedding.qdrant - package dev.langchain4j.store.embedding.qdrant
 
dev.langchain4j.store.embedding.redis - package dev.langchain4j.store.embedding.redis
 
dev.langchain4j.store.embedding.vearch - package dev.langchain4j.store.embedding.vearch
 
dev.langchain4j.store.embedding.vespa - package dev.langchain4j.store.embedding.vespa
 
dev.langchain4j.store.embedding.weaviate - package dev.langchain4j.store.embedding.weaviate
 
dev.langchain4j.store.graph.neo4j - package dev.langchain4j.store.graph.neo4j
 
dev.langchain4j.store.memory.chat - package dev.langchain4j.store.memory.chat
 
dev.langchain4j.store.memory.chat.cassandra - package dev.langchain4j.store.memory.chat.cassandra
 
dev.langchain4j.store.memory.chat.redis - package dev.langchain4j.store.memory.chat.redis
 
dev.langchain4j.web.search - package dev.langchain4j.web.search
 
dev.langchain4j.web.search.google.customsearch - package dev.langchain4j.web.search.google.customsearch
 
dev.langchain4j.web.search.searchapi - package dev.langchain4j.web.search.searchapi
 
dev.langchain4j.web.search.tavily - package dev.langchain4j.web.search.tavily
 
DIGITAL_ART - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 
DigitalArt - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
dimension - Variable in class dev.langchain4j.model.embedding.DimensionAwareEmbeddingModel
dimension of embedding
dimension - Variable in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
dimension() - Method in class dev.langchain4j.data.embedding.Embedding
Returns the dimension of the vector.
dimension() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
dimension() - Method in class dev.langchain4j.model.embedding.DimensionAwareEmbeddingModel
 
dimension() - Method in interface dev.langchain4j.model.embedding.EmbeddingModel
Returns the dimension of the Embedding produced by this embedding model.
dimension() - Method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
 
dimension() - Method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
dimension() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the dimension record component.
dimension(int) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
dimension(Integer) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
dimension(Integer) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
Deprecated.
dimension is not used anymore.
dimension(Integer) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan vector dimension
dimension(Integer) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
dimension(Integer) - Method in class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig.Builder
 
dimension(Integer) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeServerlessIndexConfig.Builder
 
dimension(Integer) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
DimensionAwareEmbeddingModel - Class in dev.langchain4j.model.embedding
A dimension aware embedding model
DimensionAwareEmbeddingModel() - Constructor for class dev.langchain4j.model.embedding.DimensionAwareEmbeddingModel
 
dimensions(int) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
If using the ready-made index, sets the number of dimensions of the embeddings.
dimensions(int) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
If using the ready-made index, sets the number of dimensions of the embeddings.
dimensions(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
dimensions(Integer) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest.EmbeddingRequestBuilder
 
dimensions(Integer) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
dimensions(Integer) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
dimensions(Integer) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
DisabledChatLanguageModel - Class in dev.langchain4j.model.chat
A ChatLanguageModel which throws a ModelDisabledException for all of its methods
DisabledChatLanguageModel() - Constructor for class dev.langchain4j.model.chat.DisabledChatLanguageModel
 
DisabledEmbeddingModel - Class in dev.langchain4j.model.embedding
An EmbeddingModel which throws a ModelDisabledException for all of its methods
DisabledEmbeddingModel() - Constructor for class dev.langchain4j.model.embedding.DisabledEmbeddingModel
 
DisabledImageModel - Class in dev.langchain4j.model.image
An ImageModel which throws a ModelDisabledException for all of its methods
DisabledImageModel() - Constructor for class dev.langchain4j.model.image.DisabledImageModel
 
DisabledLanguageModel - Class in dev.langchain4j.model.language
A LanguageModel which throws a ModelDisabledException for all of its methods
DisabledLanguageModel() - Constructor for class dev.langchain4j.model.language.DisabledLanguageModel
 
DisabledModerationModel - Class in dev.langchain4j.model.moderation
A ModerationModel which throws a ModelDisabledException for all of its methods
DisabledModerationModel() - Constructor for class dev.langchain4j.model.moderation.DisabledModerationModel
 
DisabledStreamingChatLanguageModel - Class in dev.langchain4j.model.chat
A StreamingChatLanguageModel which throws a ModelDisabledException for all of its methods
DisabledStreamingChatLanguageModel() - Constructor for class dev.langchain4j.model.chat.DisabledStreamingChatLanguageModel
 
DisabledStreamingLanguageModel - Class in dev.langchain4j.model.language
A StreamingLanguageModel which throws a ModelDisabledException for all of its methods
DisabledStreamingLanguageModel() - Constructor for class dev.langchain4j.model.language.DisabledStreamingLanguageModel
 
DISCOLM_GERMAN_7B_V1_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
DiscoLM German 7b is a Mistral-based large language model with a focus on German-language applications.
distance() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the distance record component.
distance(Integer) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan distance for knn query
DO_NOT_ROUTE - Enum constant in enum class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.FallbackStrategy
In this case, the Query will not be routed to any ContentRetriever, thus skipping the RAG flow.
document - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingResult
 
document(String) - Static method in class dev.langchain4j.data.document.Document
Creates a new Document from the given text.
document(String, Metadata) - Static method in class dev.langchain4j.data.document.Document
Creates a new Document from the given text.
Document - Class in dev.langchain4j.data.document
Represents an unstructured piece of text that usually corresponds to a content of a single file.
Document - Class in dev.langchain4j.store.embedding.azure.search
 
Document() - Constructor for class dev.langchain4j.store.embedding.azure.search.Document
 
Document(String) - Constructor for class dev.langchain4j.data.document.Document
Creates a new Document from the given text.
Document(String, Metadata) - Constructor for class dev.langchain4j.data.document.Document
Creates a new Document from the given text.
Document.Metadata - Class in dev.langchain4j.store.embedding.azure.search
 
Document.Metadata.Attribute - Class in dev.langchain4j.store.embedding.azure.search
 
DocumentByCharacterSplitter - Class in dev.langchain4j.data.document.splitter
Splits the provided Document into characters and attempts to fit as many characters as possible into a single TextSegment, adhering to the limit set by maxSegmentSize.
DocumentByCharacterSplitter(int, int) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByCharacterSplitter
 
DocumentByCharacterSplitter(int, int, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByCharacterSplitter
 
DocumentByCharacterSplitter(int, int, Tokenizer) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByCharacterSplitter
 
DocumentByCharacterSplitter(int, int, Tokenizer, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByCharacterSplitter
 
DocumentByLineSplitter - Class in dev.langchain4j.data.document.splitter
Splits the provided Document into lines and attempts to fit as many lines as possible into a single TextSegment, adhering to the limit set by maxSegmentSize.
DocumentByLineSplitter(int, int) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByLineSplitter
 
DocumentByLineSplitter(int, int, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByLineSplitter
 
DocumentByLineSplitter(int, int, Tokenizer) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByLineSplitter
 
DocumentByLineSplitter(int, int, Tokenizer, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByLineSplitter
 
DocumentByParagraphSplitter - Class in dev.langchain4j.data.document.splitter
Splits the provided Document into paragraphs and attempts to fit as many paragraphs as possible into a single TextSegment, adhering to the limit set by maxSegmentSize.
DocumentByParagraphSplitter(int, int) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByParagraphSplitter
 
DocumentByParagraphSplitter(int, int, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByParagraphSplitter
 
DocumentByParagraphSplitter(int, int, Tokenizer) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByParagraphSplitter
 
DocumentByParagraphSplitter(int, int, Tokenizer, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByParagraphSplitter
 
DocumentByRegexSplitter - Class in dev.langchain4j.data.document.splitter
Splits the provided Document into parts using the provided regex and attempts to fit as many parts as possible into a single TextSegment, adhering to the limit set by maxSegmentSize.
DocumentByRegexSplitter(String, String, int, int) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByRegexSplitter
 
DocumentByRegexSplitter(String, String, int, int, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByRegexSplitter
 
DocumentByRegexSplitter(String, String, int, int, Tokenizer) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByRegexSplitter
 
DocumentByRegexSplitter(String, String, int, int, Tokenizer, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByRegexSplitter
 
DocumentBySentenceSplitter - Class in dev.langchain4j.data.document.splitter
Splits the provided Document into sentences and attempts to fit as many sentences as possible into a single TextSegment, adhering to the limit set by maxSegmentSize.
DocumentBySentenceSplitter(int, int) - Constructor for class dev.langchain4j.data.document.splitter.DocumentBySentenceSplitter
 
DocumentBySentenceSplitter(int, int, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentBySentenceSplitter
 
DocumentBySentenceSplitter(int, int, Tokenizer) - Constructor for class dev.langchain4j.data.document.splitter.DocumentBySentenceSplitter
 
DocumentBySentenceSplitter(int, int, Tokenizer, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentBySentenceSplitter
 
DocumentByWordSplitter - Class in dev.langchain4j.data.document.splitter
Splits the provided Document into words and attempts to fit as many words as possible into a single TextSegment, adhering to the limit set by maxSegmentSize.
DocumentByWordSplitter(int, int) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByWordSplitter
 
DocumentByWordSplitter(int, int, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByWordSplitter
 
DocumentByWordSplitter(int, int, Tokenizer) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByWordSplitter
 
DocumentByWordSplitter(int, int, Tokenizer, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.DocumentByWordSplitter
 
DocumentLoader - Class in dev.langchain4j.data.document
Utility class for loading documents.
DocumentParser - Interface in dev.langchain4j.data.document
Defines the interface for parsing an InputStream into a Document.
DocumentParserFactory - Interface in dev.langchain4j.spi.data.document.parser
A factory for creating DocumentParser instances through SPI.
documents - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingRequest
 
DocumentSource - Interface in dev.langchain4j.data.document
Defines the interface for a Document source.
documentSplitter(DocumentSplitter) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
Sets the document splitter.
DocumentSplitter - Interface in dev.langchain4j.data.document
Defines the interface for splitting a document into text segments.
DocumentSplitterFactory - Interface in dev.langchain4j.spi.data.document.splitter
A factory for creating DocumentSplitter instances through SPI.
DocumentSplitters - Class in dev.langchain4j.data.document.splitter
 
DocumentSplitters() - Constructor for class dev.langchain4j.data.document.splitter.DocumentSplitters
 
documentTransformer(DocumentTransformer) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
Sets the document transformer.
DocumentTransformer - Interface in dev.langchain4j.data.document
Defines the interface for transforming a Document.
DONT_ALLOW - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.PersonGeneration
 
doSample(Boolean) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
doSample(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
DREAM_SHAPER_8_LCM - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
Stable Diffusion model that has been fine-tuned to be better at photorealism without sacrificing range.
dropCollection(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 

E

EB_TURBO_APPBUILDER - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
echo(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
echo(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
edit(Image, Image, String) - Method in class dev.langchain4j.model.image.DisabledImageModel
 
edit(Image, Image, String) - Method in interface dev.langchain4j.model.image.ImageModel
Given an existing image, edit this image following the given prompt and apply the changes only to the part of the image specified by the given mask.
edit(Image, Image, String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel
 
edit(Image, Image, String) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel
Given an existing image, edit this image following the given prompt and apply the changes only to the part of the image specified by the given mask.
edit(Image, String) - Method in class dev.langchain4j.model.dashscope.WanxImageModel
 
edit(Image, String) - Method in class dev.langchain4j.model.image.DisabledImageModel
 
edit(Image, String) - Method in interface dev.langchain4j.model.image.ImageModel
Given an existing image, edit this image following the given prompt.
edit(Image, String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel
 
edit(Image, String) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel
Given an existing image, edit this image following the given prompt.
efConstruction(Integer) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
efSearch(Integer) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
ElasticsearchConfiguration - Class in dev.langchain4j.store.embedding.elasticsearch
 
ElasticsearchConfiguration() - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfiguration
 
ElasticsearchConfigurationKnn - Class in dev.langchain4j.store.embedding.elasticsearch
Represents an Elasticsearch index as an embedding store using the approximate kNN query implementation.
ElasticsearchConfigurationKnn.Builder - Class in dev.langchain4j.store.embedding.elasticsearch
 
ElasticsearchConfigurationScript - Class in dev.langchain4j.store.embedding.elasticsearch
Represents an Elasticsearch index as an embedding store.
ElasticsearchConfigurationScript.Builder - Class in dev.langchain4j.store.embedding.elasticsearch
 
ElasticsearchEmbeddingStore - Class in dev.langchain4j.store.embedding.elasticsearch
Represents an Elasticsearch index as an embedding store.
ElasticsearchEmbeddingStore(ElasticsearchConfiguration, String, String, String, String, String) - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
ElasticsearchEmbeddingStore(ElasticsearchConfiguration, String, String, String, String, String, Integer) - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
ElasticsearchEmbeddingStore(ElasticsearchConfiguration, RestClient, String) - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
Constructor using a RestClient
ElasticsearchEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.elasticsearch
 
ElasticsearchRequestFailedException - Exception Class in dev.langchain4j.store.embedding.elasticsearch
 
ElasticsearchRequestFailedException() - Constructor for exception class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchRequestFailedException
 
ElasticsearchRequestFailedException(String) - Constructor for exception class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchRequestFailedException
 
ElasticsearchRequestFailedException(String, Throwable) - Constructor for exception class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchRequestFailedException
 
ElasticsearchRequestFailedException(Throwable) - Constructor for exception class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchRequestFailedException
 
embed(TextSegment) - Method in class dev.langchain4j.model.embedding.DisabledEmbeddingModel
 
embed(TextSegment) - Method in interface dev.langchain4j.model.embedding.EmbeddingModel
Embed the text content of a TextSegment.
embed(TextSegment) - Method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel
Embed the text content of a TextSegment.
embed(EmbeddingRequest) - Method in interface dev.langchain4j.model.huggingface.client.HuggingFaceClient
 
embed(JinaEmbeddingRequest) - Method in class dev.langchain4j.model.jina.internal.client.JinaClient
 
embed(JinaEmbeddingRequest, String) - Method in interface dev.langchain4j.model.jina.internal.api.JinaApi
 
embed(EmbeddingRequest) - Method in class dev.langchain4j.model.ovhai.internal.client.DefaultOvhAiClient
 
embed(EmbeddingRequest, String) - Method in interface dev.langchain4j.model.ovhai.internal.api.OvhAiApi
 
embed(WorkersAiEmbeddingRequest, String, String) - Method in interface dev.langchain4j.model.workersai.client.WorkersAiApi
Generate embeddings.
embed(String) - Method in class dev.langchain4j.model.embedding.DisabledEmbeddingModel
 
embed(String) - Method in interface dev.langchain4j.model.embedding.EmbeddingModel
Embed a text.
embed(String) - Method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel
Embed a text.
embedAll(EmbeddingRequest) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
Embeds the provided text segments, processing a maximum of 16 segments at a time.
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.cohere.CohereEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.dashscope.QwenEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.embedding.DisabledEmbeddingModel
 
embedAll(List<TextSegment>) - Method in interface dev.langchain4j.model.embedding.EmbeddingModel
Embeds the text content of a list of TextSegments.
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.huggingface.HuggingFaceEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.jina.JinaEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.jlama.JlamaEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.localai.LocalAiEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.mistralai.MistralAiEmbeddingModel
Embeds a list of text segments using the Mistral AI embedding model.
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.nomic.NomicEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.ovhai.OvhAiEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.qianfan.QianfanEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel
Embeds the text content of a list of TextSegments.
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel
 
embedded() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
Returns the original content that was embedded.
embedding - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbedding
 
embedding() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData
 
embedding() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
embedding() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
Returns the embedding that has been matched.
embedding() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Returns the value of the embedding record component.
embedding(MistralAiEmbeddingRequest) - Method in interface dev.langchain4j.model.mistralai.internal.api.MistralAiApi
 
embedding(MistralAiEmbeddingRequest) - Method in class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient
 
embedding(MistralAiEmbeddingRequest) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient
 
embedding(EmbeddingRequest, String) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient
 
embedding(List<Float>) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData.Builder
 
Embedding - Class in dev.langchain4j.data.embedding
Represents a dense vector embedding of a text.
Embedding - Class in dev.langchain4j.model.zhipu.embedding
 
Embedding() - Constructor for class dev.langchain4j.model.zhipu.embedding.Embedding
 
Embedding(float[]) - Constructor for class dev.langchain4j.data.embedding.Embedding
Creates a new Embedding.
EMBEDDING_2 - Enum constant in enum class dev.langchain4j.model.zhipu.embedding.EmbeddingModel
 
EMBEDDING_3 - Enum constant in enum class dev.langchain4j.model.zhipu.embedding.EmbeddingModel
 
EMBEDDING_V1 - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanEmbeddingModelNameEnum
 
embeddingColumn() - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable
Returns the name of this table's embedding column.
embeddingColumn(String) - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable.Builder
Configures the name of a column which stores an embedding.
EmbeddingData - Class in dev.langchain4j.model.qianfan.client.embedding
 
EmbeddingData.Builder - Class in dev.langchain4j.model.qianfan.client.embedding
 
embeddingId() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
The ID of the embedding assigned when adding this embedding to the store.
EmbeddingMatch<Embedded> - Class in dev.langchain4j.store.embedding
Represents a matched embedding along with its relevance score (derivative of cosine distance), ID, and original embedded content.
EmbeddingMatch(Double, String, Embedding, Embedded) - Constructor for class dev.langchain4j.store.embedding.EmbeddingMatch
Creates a new instance.
embeddingModel(EmbeddingModel) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the Embedding Model.
embeddingModel(EmbeddingModel) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
Sets the embedding model.
EmbeddingModel - Enum Class in dev.langchain4j.model.zhipu.embedding
 
EmbeddingModel - Interface in dev.langchain4j.model.embedding
Represents a model that can convert a given text into an embedding (vector representation of the text).
EmbeddingModelFactory - Interface in dev.langchain4j.spi.model.embedding
A factory for creating EmbeddingModel instances through SPI.
EmbeddingModelTextClassifier<E> - Class in dev.langchain4j.classification
A TextClassifier that uses an EmbeddingModel and predefined examples to perform classification.
EmbeddingModelTextClassifier(EmbeddingModel, Map<E, ? extends Collection<String>>) - Constructor for class dev.langchain4j.classification.EmbeddingModelTextClassifier
Creates a classifier with the default values for EmbeddingModelTextClassifier.maxResults (1), EmbeddingModelTextClassifier.minScore (0) and EmbeddingModelTextClassifier.meanToMaxScoreRatio (0.5).
EmbeddingModelTextClassifier(EmbeddingModel, Map<E, ? extends Collection<String>>, int, double, double) - Constructor for class dev.langchain4j.classification.EmbeddingModelTextClassifier
Creates a classifier.
EmbeddingRequest - Class in dev.langchain4j.model.huggingface.client
 
EmbeddingRequest - Class in dev.langchain4j.model.ovhai.internal.api
 
EmbeddingRequest - Class in dev.langchain4j.model.qianfan.client.embedding
 
EmbeddingRequest - Class in dev.langchain4j.model.zhipu.embedding
 
EmbeddingRequest() - Constructor for class dev.langchain4j.model.ovhai.internal.api.EmbeddingRequest
 
EmbeddingRequest(String, String, Integer) - Constructor for class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
EmbeddingRequest(List<String>, boolean) - Constructor for class dev.langchain4j.model.huggingface.client.EmbeddingRequest
 
EmbeddingRequest.Builder - Class in dev.langchain4j.model.qianfan.client.embedding
 
EmbeddingRequest.EmbeddingRequestBuilder - Class in dev.langchain4j.model.zhipu.embedding
 
EmbeddingResponse - Class in dev.langchain4j.model.ovhai.internal.api
 
EmbeddingResponse - Class in dev.langchain4j.model.qianfan.client.embedding
 
EmbeddingResponse - Class in dev.langchain4j.model.zhipu.embedding
 
EmbeddingResponse() - Constructor for class dev.langchain4j.model.ovhai.internal.api.EmbeddingResponse
 
EmbeddingResponse() - Constructor for class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
EmbeddingResponse.Builder - Class in dev.langchain4j.model.qianfan.client.embedding
 
EmbeddingResult() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiEmbeddingResponse.EmbeddingResult
Default constructor.
EmbeddingSearchRequest - Class in dev.langchain4j.store.embedding
Represents a request to search in an EmbeddingStore.
EmbeddingSearchRequest(Embedding, Integer, Double, Filter) - Constructor for class dev.langchain4j.store.embedding.EmbeddingSearchRequest
Creates an instance of an EmbeddingSearchRequest.
EmbeddingSearchResult<Embedded> - Class in dev.langchain4j.store.embedding
Represents a result of a search in an EmbeddingStore.
EmbeddingSearchResult(List<EmbeddingMatch<Embedded>>) - Constructor for class dev.langchain4j.store.embedding.EmbeddingSearchResult
 
embeddingStore(EmbeddingStore<TextSegment>) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
Sets the embedding store.
EmbeddingStore<Embedded> - Interface in dev.langchain4j.store.embedding
Represents a store for embeddings, also known as a vector database.
EmbeddingStoreContentRetriever - Class in dev.langchain4j.rag.content.retriever
A ContentRetriever that retrieves from an EmbeddingStore.
EmbeddingStoreContentRetriever(EmbeddingStore<TextSegment>, EmbeddingModel) - Constructor for class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
EmbeddingStoreContentRetriever(EmbeddingStore<TextSegment>, EmbeddingModel, int) - Constructor for class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
EmbeddingStoreContentRetriever(EmbeddingStore<TextSegment>, EmbeddingModel, Integer, Double) - Constructor for class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder - Class in dev.langchain4j.rag.content.retriever
 
EmbeddingStoreContentRetrieverBuilder() - Constructor for class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
EmbeddingStoreIngestor - Class in dev.langchain4j.store.embedding
The EmbeddingStoreIngestor represents an ingestion pipeline and is responsible for ingesting Documents into an EmbeddingStore.
EmbeddingStoreIngestor(DocumentTransformer, DocumentSplitter, TextSegmentTransformer, EmbeddingModel, EmbeddingStore<TextSegment>) - Constructor for class dev.langchain4j.store.embedding.EmbeddingStoreIngestor
Creates an instance of an EmbeddingStoreIngestor.
EmbeddingStoreIngestor.Builder - Class in dev.langchain4j.store.embedding
EmbeddingStoreIngestor builder.
EmbeddingStoreRetriever - Class in dev.langchain4j.retriever
Deprecated.
EmbeddingStoreRetriever(EmbeddingStore<TextSegment>, EmbeddingModel, int, Double) - Constructor for class dev.langchain4j.retriever.EmbeddingStoreRetriever
Deprecated.
 
embeddingTable - Variable in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Represents an embedding table in Cassandra, it is a table with a vector column.
embeddingTable(EmbeddingTable) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder
Configures a table used to store embeddings, text, and metadata.
embeddingTable(String) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder
Configures the name of a table used to store embeddings, text, and metadata.
embeddingTable(String, CreateOption) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder
Configures the name of table used to store embeddings, text, and metadata.
EmbeddingTable - Class in dev.langchain4j.store.embedding.oracle
Represents a database table where embeddings, text, and metadata are stored.
EmbeddingTable.Builder - Class in dev.langchain4j.store.embedding.oracle
A builder that configures and builds an EmbeddingTable.
encode(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
encode(String) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
encode(String, int) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
encode(String, int) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
endpoint(String) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
endpoint(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
endpoint(String) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
endpoint(String) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the Azure AI Search endpoint.
endpoint(String) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
Sets the Azure AI Search endpoint.
endpointUrl(String) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
Specifies a custom endpoint URL to override the default service URL.
Enhance - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
EnhancedFileTypeDetector - Class in dev.langchain4j.model.dashscope
 
EnhancedFileTypeDetector() - Constructor for class dev.langchain4j.model.dashscope.EnhancedFileTypeDetector
 
enhancements(AzureChatEnhancementConfiguration) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
enhancements(AzureChatEnhancementConfiguration) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
ensureBetween(Double, double, double, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given Double value is in [min, max].
ensureBetween(Integer, int, int, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given Integer value is in [min, max].
ensureBetween(Long, long, long, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given Long value is in [min, max].
ensureEq(Object, Object, String, Object...) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensure that the two values are equal.
ensureGreaterThanZero(Integer, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given expression is true.
ensureNotBlank(String, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given string is not null and not blank.
ensureNotEmpty(Map<K, V>, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given map is not null and not empty.
ensureNotEmpty(T, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given collection is not null and not empty.
ensureNotNull(T, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given object is not null.
ensureNotNull(T, String, Object...) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given object is not null.
ensureTrailingForwardSlash(String) - Static method in class dev.langchain4j.internal.Utils
Appends a trailing '/' if the provided URL does not end with '/'
ensureTrue(boolean, String) - Static method in class dev.langchain4j.internal.ValidationUtils
Ensures that the given expression is true.
enums(Class<?>) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Construct a property with key "enum" and all enum values taken from enumClass.
enums(Class<?>) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
enums(Object...) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Construct a property with key "enum" and value enumValues.
enums(Object...) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
enums(String...) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Construct a property with key "enum" and value enumValues.
enums(String...) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
enumValues() - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema
 
enumValues(Class<?>) - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema.Builder
 
enumValues(String...) - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema.Builder
 
enumValues(List<String>) - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema.Builder
 
env(AstraEnvironment) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
env(AstraEnvironment) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
environment(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
environment(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig.Builder
 
EPSILON - Static variable in class dev.langchain4j.store.embedding.CosineSimilarity
A small value to avoid division by zero.
equals(Object) - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
 
equals(Object) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
 
equals(Object) - Method in class dev.langchain4j.agent.tool.ToolParameters
 
equals(Object) - Method in class dev.langchain4j.agent.tool.ToolSpecification
 
equals(Object) - Method in class dev.langchain4j.data.audio.Audio
 
equals(Object) - Method in class dev.langchain4j.data.document.Document
 
equals(Object) - Method in class dev.langchain4j.data.document.Metadata
 
equals(Object) - Method in class dev.langchain4j.data.embedding.Embedding
 
equals(Object) - Method in class dev.langchain4j.data.image.Image
 
equals(Object) - Method in class dev.langchain4j.data.message.AiMessage
 
equals(Object) - Method in class dev.langchain4j.data.message.AudioContent
 
equals(Object) - Method in class dev.langchain4j.data.message.ImageContent
 
equals(Object) - Method in class dev.langchain4j.data.message.PdfFileContent
 
equals(Object) - Method in class dev.langchain4j.data.message.SystemMessage
 
equals(Object) - Method in class dev.langchain4j.data.message.TextContent
 
equals(Object) - Method in class dev.langchain4j.data.message.TextFileContent
 
equals(Object) - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
 
equals(Object) - Method in class dev.langchain4j.data.message.UserMessage
 
equals(Object) - Method in class dev.langchain4j.data.message.VideoContent
 
equals(Object) - Method in class dev.langchain4j.data.pdf.PdfFile
 
equals(Object) - Method in class dev.langchain4j.data.segment.TextSegment
 
equals(Object) - Method in class dev.langchain4j.data.text.TextFile
 
equals(Object) - Method in class dev.langchain4j.data.video.Video
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.ChatRequest
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonBooleanSchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonIntegerSchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonNumberSchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonSchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.json.JsonStringSchema
 
equals(Object) - Method in class dev.langchain4j.model.chat.request.ResponseFormat
 
equals(Object) - Method in class dev.langchain4j.model.chat.response.ChatResponse
 
equals(Object) - Method in class dev.langchain4j.model.huggingface.client.Options
 
equals(Object) - Method in class dev.langchain4j.model.huggingface.client.Parameters
 
equals(Object) - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest
 
equals(Object) - Method in class dev.langchain4j.model.input.Prompt
 
equals(Object) - Method in class dev.langchain4j.model.moderation.Moderation
 
equals(Object) - Method in class dev.langchain4j.model.output.Response
 
equals(Object) - Method in class dev.langchain4j.model.output.TokenUsage
 
equals(Object) - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
equals(Object) - Method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
equals(Object) - Method in class dev.langchain4j.model.qianfan.client.chat.Message
 
equals(Object) - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters
 
equals(Object) - Method in class dev.langchain4j.model.qianfan.client.chat.Responses
 
equals(Object) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest
 
equals(Object) - Method in class dev.langchain4j.model.qianfan.client.Usage
 
equals(Object) - Method in class dev.langchain4j.rag.content.Content
 
equals(Object) - Method in class dev.langchain4j.rag.query.Metadata
 
equals(Object) - Method in class dev.langchain4j.rag.query.Query
 
equals(Object) - Method in class dev.langchain4j.service.tool.ToolExecution
 
equals(Object) - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
 
equals(Object) - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class dev.langchain4j.web.search.WebSearchInformationResult
 
equals(Object) - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
 
equals(Object) - Method in class dev.langchain4j.web.search.WebSearchRequest
 
equals(Object) - Method in class dev.langchain4j.web.search.WebSearchResults
 
ERNIE_BOT - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
ERNIE_BOT_4 - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
ERNIE_BOT_8 - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
ERNIE_BOT_TURBO - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
ERNIE_SPEED_128K - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
error() - Method in class dev.langchain4j.model.chat.listener.ChatModelErrorContext
 
Error() - Constructor for class dev.langchain4j.model.workersai.client.ApiResponse.Error
Default constructor.
errorCode(Integer) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
ErrorHandling - Interface in dev.langchain4j.model.qianfan.client
 
errorMsg(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
ErrorResponse - Class in dev.langchain4j.model.zhipu.shared
 
ErrorResponse() - Constructor for class dev.langchain4j.model.zhipu.shared.ErrorResponse
 
estimateTokenCount(UserMessage) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
Estimates the count of tokens in the specified message.
estimateTokenCount(TextSegment) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
Estimates the count of tokens in the specified text segment.
estimateTokenCount(TextSegment) - Method in interface dev.langchain4j.model.embedding.TokenCountEstimator
Estimates the count of tokens in the given text segment.
estimateTokenCount(TextSegment) - Method in interface dev.langchain4j.model.language.TokenCountEstimator
Estimates the count of tokens in the given text segment.
estimateTokenCount(Prompt) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
Estimates the count of tokens in the specified prompt.
estimateTokenCount(Prompt) - Method in interface dev.langchain4j.model.language.TokenCountEstimator
Estimates the count of tokens in the given prompt.
estimateTokenCount(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
estimateTokenCount(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
estimateTokenCount(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
estimateTokenCount(String) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
Estimates the count of tokens in the specified text.
estimateTokenCount(String) - Method in interface dev.langchain4j.model.embedding.TokenCountEstimator
Estimates the count of tokens in the given text.
estimateTokenCount(String) - Method in interface dev.langchain4j.model.language.TokenCountEstimator
Estimates the count of tokens in the given text.
estimateTokenCount(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
 
estimateTokenCount(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel
 
estimateTokenCount(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
 
estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
estimateTokenCount(List<ChatMessage>) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
Estimates the count of tokens in the specified list of messages.
estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
 
estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
 
estimateTokenCount(List<TextSegment>) - Method in interface dev.langchain4j.model.embedding.TokenCountEstimator
Estimates the count of tokens in the given text segments.
estimateTokenCountInForcefulToolExecutionRequest(ToolExecutionRequest) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInForcefulToolExecutionRequest(ToolExecutionRequest) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
estimateTokenCountInForcefulToolExecutionRequest(ToolExecutionRequest) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in the given tool execution request.
estimateTokenCountInForcefulToolSpecification(ToolSpecification) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInForcefulToolSpecification(ToolSpecification) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
estimateTokenCountInForcefulToolSpecification(ToolSpecification) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in the given tool specification.
estimateTokenCountInMessage(ChatMessage) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInMessage(ChatMessage) - Method in class dev.langchain4j.model.dashscope.QwenTokenizer
 
estimateTokenCountInMessage(ChatMessage) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
estimateTokenCountInMessage(ChatMessage) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in the given message.
estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in class dev.langchain4j.model.dashscope.QwenTokenizer
 
estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in the given messages.
estimateTokenCountInText(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInText(String) - Method in class dev.langchain4j.model.dashscope.QwenTokenizer
 
estimateTokenCountInText(String) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
estimateTokenCountInText(String) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in the given text.
estimateTokenCountInToolExecutionRequests(Iterable<ToolExecutionRequest>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInToolExecutionRequests(Iterable<ToolExecutionRequest>) - Method in class dev.langchain4j.model.dashscope.QwenTokenizer
 
estimateTokenCountInToolExecutionRequests(Iterable<ToolExecutionRequest>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
estimateTokenCountInToolExecutionRequests(Iterable<ToolExecutionRequest>) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in the given tool execution requests.
estimateTokenCountInTools(Iterable<Object>) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in Tool annotations of the given objects.
estimateTokenCountInTools(Object) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in Tool annotations of the given object.
estimateTokenCountInToolSpecifications(Iterable<ToolSpecification>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInToolSpecifications(Iterable<ToolSpecification>) - Method in class dev.langchain4j.model.dashscope.QwenTokenizer
 
estimateTokenCountInToolSpecifications(Iterable<ToolSpecification>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
 
estimateTokenCountInToolSpecifications(Iterable<ToolSpecification>) - Method in interface dev.langchain4j.model.Tokenizer
Estimates the count of tokens in the given tool specifications.
exactSearch(boolean) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder
Configures the embedding store to use exact or approximate similarity search.
examples() - Method in class dev.langchain4j.model.qianfan.client.chat.Function
 
examples(Examples) - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
Examples - Class in dev.langchain4j.model.qianfan.client.chat
 
Examples.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
Exceptions - Class in dev.langchain4j.internal
Utility methods for creating common exceptions.
execute() - Method in interface dev.langchain4j.model.qianfan.client.ErrorHandling
 
execute() - Method in class dev.langchain4j.model.qianfan.client.RequestExecutor
 
execute() - Method in interface dev.langchain4j.model.qianfan.client.SyncOrAsync
 
execute() - Method in class dev.langchain4j.model.qianfan.client.SyncRequestExecutor
 
execute(ToolExecutionRequest, Object) - Method in class dev.langchain4j.service.tool.DefaultToolExecutor
 
execute(ToolExecutionRequest, Object) - Method in interface dev.langchain4j.service.tool.ToolExecutor
Executes a tool requests.
execute(Input) - Method in interface dev.langchain4j.chain.Chain
Execute the chain step.
execute(String) - Method in class dev.langchain4j.chain.ConversationalChain
 
execute(String) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain
 
execute(String) - Method in interface dev.langchain4j.code.CodeExecutionEngine
Execute the given code.
execute(String) - Method in class dev.langchain4j.code.graalvm.GraalVmJavaScriptExecutionEngine
 
execute(String) - Method in class dev.langchain4j.code.graalvm.GraalVmPythonExecutionEngine
 
execute(String, Statement) - Method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
executeJavaScriptCode(String) - Method in class dev.langchain4j.agent.tool.graalvm.GraalVmJavaScriptExecutionTool
 
executeJavaScriptCode(String) - Method in class dev.langchain4j.code.judge0.Judge0JavaScriptExecutionTool
 
executePythonCode(String) - Method in class dev.langchain4j.agent.tool.graalvm.GraalVmPythonExecutionTool
 
executeRead(String) - Method in class dev.langchain4j.store.graph.neo4j.Neo4jGraph
 
executeWrite(String) - Method in class dev.langchain4j.store.graph.neo4j.Neo4jGraph
 
ExpandingQueryTransformer - Class in dev.langchain4j.rag.query.transformer
A QueryTransformer that utilizes a ChatLanguageModel to expand a given Query.
ExpandingQueryTransformer(ChatLanguageModel) - Constructor for class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
ExpandingQueryTransformer(ChatLanguageModel, int) - Constructor for class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
ExpandingQueryTransformer(ChatLanguageModel, PromptTemplate) - Constructor for class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
ExpandingQueryTransformer(ChatLanguageModel, PromptTemplate, Integer) - Constructor for class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
Experimental - Annotation Interface in dev.langchain4j
Indicates that a class/constructor/method is experimental and might change in the future.
expiresIn(Integer) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse.Builder
 
expression() - Method in class dev.langchain4j.store.embedding.filter.logical.Not
 
extractSelectStatement(String) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 

F

FACT_VERIFICATION - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
FAIL - Enum constant in enum class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.FallbackStrategy
In this case, an original exception will be re-thrown, and the RAG flow will fail.
FALCOM_7B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Falcon-7B-Instruct is a 7B parameters causal decoder-only model built by TII based on Falcon-7B and finetuned on a mixture of chat/instruct datasets.
fallback(Query, Exception) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
fallback(Query, String, String, Exception) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
fallbackStrategy - Variable in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
FantasyArt - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
FILE_NAME - Static variable in class dev.langchain4j.data.document.Document
Common metadata key for the name of the file from which the document was loaded.
fileName() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the fileName record component.
fileName(String) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan schema file name
FileSystemDocumentLoader - Class in dev.langchain4j.data.document.loader
 
FileSystemSource - Class in dev.langchain4j.data.document.source
 
FileSystemSource(Path) - Constructor for class dev.langchain4j.data.document.source.FileSystemSource
 
filter() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest
 
filter(Filter) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the filter to be applied to the search query.
filter(Filter) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
filter(Bson) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
Document query filter, all fields included in filter must be contained in IndexMapping.metadataFieldNames
Filter - Interface in dev.langchain4j.store.embedding.filter
This class represents a filter that can be applied during search in an EmbeddingStore.
filterMapper - Variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
filterMapper(AzureAiSearchFilterMapper) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the filter mapper to be used to map Filter objects to Azure AI Search filter strings.
filterMapper(AzureAiSearchFilterMapper) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
Sets the filter mapper to be used.
FilterParser - Interface in dev.langchain4j.store.embedding.filter
Parses a filter expression string into a Filter object.
findRelevant(Embedding, int) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Deprecated.
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Finds the most relevant (closest in space) embeddings to the provided reference embedding.
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.azure.cosmos.nosql.AzureCosmosDbNoSqlEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Search for relevant.
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Deprecated.
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
This implementation uses the exact k-NN with scoring script to calculate See https://opensearch.org/docs/latest/search-plugins/knn/knn-score-script/
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.vespa.VespaEmbeddingStore
Finds the most relevant (closest in space) embeddings to the provided reference embedding.
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
Finds the most relevant (closest in space) embeddings to the provided reference embedding.
findRelevant(Embedding, int, double, Metadata) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore
Similarity Search ANN based on the embedding.
findRelevant(Embedding, Filter, int, double) - Method in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Semantic search with metadata filtering.
findRelevant(Object, Embedding, int) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Deprecated.
findRelevant(Object, Embedding, int, double) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Deprecated.
findRelevant(Object, String) - Method in interface dev.langchain4j.retriever.Retriever
Deprecated.
Find relevant items for the given text and memoryId.
findRelevant(String) - Method in class dev.langchain4j.retriever.EmbeddingStoreRetriever
Deprecated.
 
findRelevant(String) - Method in interface dev.langchain4j.retriever.Retriever
Deprecated.
Find relevant items for the given text.
finishReason() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse
 
finishReason() - Method in class dev.langchain4j.model.chat.response.ChatResponse
 
finishReason() - Method in class dev.langchain4j.model.output.Response
Get the finish reason.
finishReason() - Method in class dev.langchain4j.service.Result
 
finishReason(FinishReason) - Method in class dev.langchain4j.model.chat.response.ChatResponse.Builder
 
finishReason(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
finishReason(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice.ChatCompletionChoiceBuilder
 
FinishReason - Enum Class in dev.langchain4j.model.output
The reason why a model call finished.
finishReasonFrom(String) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
finishReasonFrom(String) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
 
finishReasonFrom(String) - Static method in class dev.langchain4j.model.qianfan.InternalQianfanHelper
 
firstChars(String, int) - Static method in class dev.langchain4j.internal.Utils
Returns the first numberOfChars characters of the given string.
flagged() - Method in class dev.langchain4j.model.moderation.Moderation
Returns true if the text was flagged.
flagged(String) - Static method in class dev.langchain4j.model.moderation.Moderation
Constructs a Moderation object that is flagged.
flaggedText() - Method in class dev.langchain4j.model.moderation.Moderation
Returns the text that was flagged.
FLAT - Enum constant in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
 
FLAT() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.FLAT
 
FLAT(MetricType) - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.FLAT
 
FLAT_ILLUSTRATION - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
FLOAT - Enum constant in enum class dev.langchain4j.store.embedding.vearch.SpacePropertyType
 
FloatParam() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.FloatParam
 
FloatParam(Boolean) - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.FloatParam
 
forcePathStyle(boolean) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
Set the forcePathStyle.
format(Metadata) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
format(ChatMessage) - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
format(Content) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
format(TableDefinition) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
format(String, String) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
format(List<ChatMessage>) - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
format(List<Content>) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
FOUR_THIRDS - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
from(float[]) - Static method in class dev.langchain4j.data.embedding.Embedding
Creates a new Embedding from the given vector.
from(ToolExecutionRequest...) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given tool execution requests.
from(ToolExecutionRequest, String) - Static method in class dev.langchain4j.data.message.ToolExecutionResultMessage
Creates a ToolExecutionResultMessage from a ToolExecutionRequest and the result of the tool execution.
from(ToolParameters) - Static method in class dev.langchain4j.model.mistralai.internal.api.MistralAiParameters
 
from(Audio) - Static method in class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given Audio.
from(Image) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given image.
from(Image, ImageContent.DetailLevel) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given image.
from(Content...) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from contents.
from(UserMessage, Object, List<ChatMessage>) - Static method in class dev.langchain4j.rag.query.Metadata
 
from(PdfFile) - Static method in class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given PDF.
from(TextSegment) - Static method in class dev.langchain4j.rag.content.Content
 
from(TextFile) - Static method in class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given text file.
from(Video) - Static method in class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given video.
from(MistralAiFunction) - Static method in class dev.langchain4j.model.mistralai.internal.api.MistralAiTool
 
from(ChatCompletionRequest) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
from(CompletionRequest) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
from(ChatCompletionRequest) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
from(Content...) - Static method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
from(Function) - Static method in class dev.langchain4j.model.zhipu.chat.Tool
 
from(EmbeddingStore<TextSegment>) - Static method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
Creates an instance of an EmbeddingStoreContentRetriever from the specified EmbeddingStore and EmbeddingModel found through SPI (see EmbeddingModelFactory).
from(EmbeddingStore<TextSegment>, EmbeddingModel) - Static method in class dev.langchain4j.retriever.EmbeddingStoreRetriever
Deprecated.
 
from(EmbeddingStore<TextSegment>, EmbeddingModel, int) - Static method in class dev.langchain4j.retriever.EmbeddingStoreRetriever
Deprecated.
 
from(EmbeddingStore<TextSegment>, EmbeddingModel, int, double) - Static method in class dev.langchain4j.retriever.EmbeddingStoreRetriever
Deprecated.
 
from(WebSearchEngine) - Static method in class dev.langchain4j.web.search.WebSearchTool
Creates a new WebSearchTool with the specified web search engine.
from(WebSearchInformationResult, List<WebSearchOrganicResult>) - Static method in class dev.langchain4j.web.search.WebSearchResults
Creates a new instance of WebSearchResults from the specified parameters.
from(File) - Static method in class dev.langchain4j.data.document.source.FileSystemSource
 
from(Long) - Static method in class dev.langchain4j.web.search.WebSearchInformationResult
Creates a new WebSearchInformationResult with the specified total results.
from(Long, Integer, Map<String, Object>) - Static method in class dev.langchain4j.web.search.WebSearchInformationResult
Creates a new WebSearchInformationResult with the specified total results, page number, and metadata.
from(String) - Static method in class dev.langchain4j.data.document.Document
Creates a new Document from the given text.
from(String) - Static method in class dev.langchain4j.data.document.source.FileSystemSource
 
from(String) - Static method in class dev.langchain4j.data.document.source.UrlSource
 
from(String) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text.
from(String) - Static method in class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given url.
from(String) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url.
from(String) - Static method in class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given url.
from(String) - Static method in class dev.langchain4j.data.message.SystemMessage
Creates a new system message.
from(String) - Static method in class dev.langchain4j.data.message.TextContent
Creates a new text content.
from(String) - Static method in class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given url.
from(String) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a text.
from(String) - Static method in class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given url.
from(String) - Static method in class dev.langchain4j.data.segment.TextSegment
Creates a new text segment.
from(String) - Static method in class dev.langchain4j.model.input.Prompt
Create a new Prompt.
from(String) - Static method in class dev.langchain4j.model.input.PromptTemplate
Create a new PromptTemplate.
from(String) - Static method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
from(String) - Static method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
from(String) - Static method in class dev.langchain4j.model.zhipu.chat.ToolChoice
 
from(String) - Static method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
from(String) - Static method in class dev.langchain4j.rag.content.Content
 
from(String) - Static method in class dev.langchain4j.rag.query.Query
 
from(String) - Static method in class dev.langchain4j.store.embedding.pgvector.MetadataColumDefinition
transform sql string to MetadataColumDefinition
from(String) - Static method in class dev.langchain4j.web.search.WebSearchRequest
Create a web search request with the given search terms.
from(String, Metadata) - Static method in class dev.langchain4j.data.document.Document
Creates a new Document from the given text.
from(String, Metadata) - Static method in class dev.langchain4j.data.segment.TextSegment
Creates a new text segment.
from(String, Content...) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a name and contents.
from(String, ImageContent.DetailLevel) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url and detail level.
from(String, Metadata) - Static method in class dev.langchain4j.rag.query.Query
 
from(String, Integer) - Static method in class dev.langchain4j.web.search.WebSearchRequest
Create a web search request with the given search terms and maximum number of results.
from(String, Object) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Construct a property with key and value.
from(String, Object) - Static method in class dev.langchain4j.data.document.Metadata
Deprecated.
from(String, Object) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
from(String, String) - Static method in class dev.langchain4j.data.document.Metadata
Constructs a Metadata object from a single key-value pair.
from(String, String) - Static method in class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given base64 data and mime type.
from(String, String) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given base64 data and mime type.
from(String, String) - Static method in class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given base64 data and mime type.
from(String, String) - Static method in class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given base64 data and mime type.
from(String, String) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a name and a text.
from(String, String) - Static method in class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given base64 data and mime type.
from(String, String) - Static method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
from(String, String, ImageContent.DetailLevel) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given base64 data and mime type.
from(String, String, String) - Static method in class dev.langchain4j.data.message.ToolExecutionResultMessage
Creates a ToolExecutionResultMessage from a ToolExecutionRequest and the result of the tool execution.
from(String, URI) - Static method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine.ImageSearchResult
 
from(String, URI) - Static method in class dev.langchain4j.web.search.WebSearchOrganicResult
Creates a WebSearchOrganicResult object from the given title and URL.
from(String, URI, String, String) - Static method in class dev.langchain4j.web.search.WebSearchOrganicResult
Creates a WebSearchOrganicResult object from the given title, URL, snippet and/or content.
from(String, URI, String, String, Map<String, String>) - Static method in class dev.langchain4j.web.search.WebSearchOrganicResult
Creates a WebSearchOrganicResult object from the given title, URL, snippet and/or content, and result metadata.
from(String, URI, URI, URI) - Static method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine.ImageSearchResult
 
from(String, List<ToolExecutionRequest>) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given text and tool execution requests.
from(String, List<Content>) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a name and contents.
from(URI) - Static method in class dev.langchain4j.data.document.source.FileSystemSource
 
from(URI) - Static method in class dev.langchain4j.data.document.source.UrlSource
 
from(URI) - Static method in class dev.langchain4j.data.message.AudioContent
Create a new AudioContent from the given url.
from(URI) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url.
from(URI) - Static method in class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given url.
from(URI) - Static method in class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given url.
from(URI) - Static method in class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given url.
from(URI, ImageContent.DetailLevel) - Static method in class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url and detail level.
from(URL) - Static method in class dev.langchain4j.data.document.source.UrlSource
 
from(Path) - Static method in class dev.langchain4j.data.document.source.FileSystemSource
 
from(List<ToolExecutionRequest>) - Static method in class dev.langchain4j.data.message.AiMessage
Create a new AiMessage with the given tool execution requests.
from(List<Content>) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from contents.
from(List<Content>) - Static method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
from(List<Float>) - Static method in class dev.langchain4j.data.embedding.Embedding
Creates a new Embedding from the given vector.
from(Map<String, ?>) - Static method in class dev.langchain4j.data.document.Metadata
Constructs a Metadata object from a map of key-value pairs.
from(Map<String, Object>, WebSearchInformationResult, List<WebSearchOrganicResult>) - Static method in class dev.langchain4j.web.search.WebSearchResults
Creates a new instance of WebSearchResults from the specified parameters.
from(T) - Static method in class dev.langchain4j.model.output.Response
Create a new Response.
from(T, TokenUsage) - Static method in class dev.langchain4j.model.output.Response
Create a new Response.
from(T, TokenUsage, FinishReason) - Static method in class dev.langchain4j.model.output.Response
Create a new Response.
fromAzureScoreToRelevanceScore(double) - Static method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Calculates LangChain4j's RelevanceScore from Azure AI Search's score.
fromAzureScoreToRelevanceScore(SearchResult, AzureAiSearchQueryType) - Static method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
Calculates LangChain4j's RelevanceScore from Azure AI Search's score, for the 4 types of search.
fromClass(Class<?>) - Static method in class dev.langchain4j.model.vertexai.SchemaHelper
Create an instance of Schema from a class by reflection on its fields.
fromClient(MongoClient) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
Build Mongo Client, Please close the client to release resources after usage
fromCosineSimilarity(double) - Static method in class dev.langchain4j.store.embedding.RelevanceScore
Converts cosine similarity into relevance score.
fromFile(String) - Static method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
fromFile(Path) - Static method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
fromJson(String) - Method in class dev.langchain4j.store.embedding.inmemory.GsonInMemoryEmbeddingStoreJsonCodec
 
fromJson(String) - Static method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
fromJson(String) - Method in interface dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStoreJsonCodec
 
fromJson(String, Class<T>) - Static method in class dev.langchain4j.internal.Json
Convert the given JSON string to an object of the given type.
fromJson(String, Class<T>) - Method in interface dev.langchain4j.internal.Json.JsonCodec
Convert the given JSON string to an object of the given type.
fromJsonSchema(String) - Static method in class dev.langchain4j.model.vertexai.SchemaHelper
Create an instance of Schema from a JSON schema string.
fromRelevanceScore(double) - Static method in class dev.langchain4j.store.embedding.CosineSimilarity
Converts relevance score into cosine similarity.
fromResource() - Element in annotation interface dev.langchain4j.service.SystemMessage
The resource from which to read the prompt template.
fromResource() - Element in annotation interface dev.langchain4j.service.UserMessage
The resource from which to read the prompt template.
fromString(String) - Static method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.SimilarityMetric
 
fromString(String) - Static method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.VectorIndexType
 
fromType(MistralAiResponseFormatType) - Static method in class dev.langchain4j.model.mistralai.internal.api.MistralAiResponseFormat
 
FULL_TEXT - Enum constant in enum class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchQueryType
Uses the full text search to find the most similar TextSegments.
function(FunctionCall) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall.ToolCallBuilder
 
Function - Class in dev.langchain4j.model.qianfan.client.chat
 
Function - Class in dev.langchain4j.model.zhipu.chat
 
FUNCTION - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolType
 
FUNCTION - Enum constant in enum class dev.langchain4j.model.qianfan.client.chat.Role
 
FUNCTION - Enum constant in enum class dev.langchain4j.model.zhipu.chat.Role
 
FUNCTION - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ToolType
 
Function.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
Function.Builder - Class in dev.langchain4j.model.zhipu.chat
 
functionCall() - Method in class dev.langchain4j.model.qianfan.client.chat.Message
 
functionCall(FunctionCall) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
functionCall(FunctionCall) - Method in class dev.langchain4j.model.qianfan.client.chat.Examples.Builder
 
functionCall(FunctionCall) - Method in class dev.langchain4j.model.qianfan.client.chat.Message.Builder
 
FunctionCall<T> - Class in dev.langchain4j.model.qianfan.client.chat
 
FunctionCall - Class in dev.langchain4j.model.zhipu.chat
 
FunctionCall() - Constructor for class dev.langchain4j.model.zhipu.chat.FunctionCall
 
FunctionCall(String, String) - Constructor for class dev.langchain4j.model.zhipu.chat.FunctionCall
 
FunctionCall.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
FunctionCall.FunctionCallBuilder - Class in dev.langchain4j.model.zhipu.chat
 
FunctionCallBuilder() - Constructor for class dev.langchain4j.model.zhipu.chat.FunctionCall.FunctionCallBuilder
 
functionMessage(String, String) - Static method in class dev.langchain4j.model.qianfan.client.chat.Message
 
functions() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
functions(Function...) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
functions(List<Function>) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
fuse(Collection<List<Content>>) - Static method in class dev.langchain4j.rag.content.aggregator.ReciprocalRankFuser
Fuses multiple List<Content> into a single List<Content> using the Reciprocal Rank Fusion (RRF) algorithm with k=60.
fuse(Collection<List<Content>>, int) - Static method in class dev.langchain4j.rag.content.aggregator.ReciprocalRankFuser
Fuses multiple List<Content> into a single List<Content> using the Reciprocal Rank Fusion (RRF) algorithm.
fuse(Map<Query, Collection<List<Content>>>) - Method in class dev.langchain4j.rag.content.aggregator.DefaultContentAggregator
 
fuse(Map<Query, Collection<List<Content>>>) - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 

G

GeminiFunctionCallingConfig - Class in dev.langchain4j.model.googleai
 
GeminiFunctionCallingConfig() - Constructor for class dev.langchain4j.model.googleai.GeminiFunctionCallingConfig
 
GeminiHarmBlockThreshold - Enum Class in dev.langchain4j.model.googleai
 
GeminiHarmCategory - Enum Class in dev.langchain4j.model.googleai
 
GeminiSafetySetting - Class in dev.langchain4j.model.googleai
 
GeminiSafetySetting() - Constructor for class dev.langchain4j.model.googleai.GeminiSafetySetting
 
GEMMA_2B_IT_LORA - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
This is a Gemma-2B base model that Cloudflare dedicates for inference with LoRA adapters.
GEMMA_2B_IT_LORA_DUPLICATE - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
This is a Gemma-7B base model that Cloudflare dedicates for inference with LoRA adapters.
GEMMA_7B_IT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Gemma is a family of lightweight, state-of-the-art open models from Google, built from the same research and technology used to create the Gemini models.
generate(ChatMessage...) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel
Generates a response from the model based on a sequence of messages.
generate(ChatMessage...) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
Generates a response from the model based on a sequence of messages.
generate(ChatMessage...) - Method in class dev.langchain4j.model.chat.DisabledChatLanguageModel
 
generate(UserMessage, StreamingResponseHandler<AiMessage>) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
Generates a response from the model based on a message from a user.
generate(TextGenerationRequest) - Method in interface dev.langchain4j.model.huggingface.client.HuggingFaceClient
 
generate(Prompt) - Method in class dev.langchain4j.model.language.DisabledLanguageModel
 
generate(Prompt) - Method in interface dev.langchain4j.model.language.LanguageModel
Generate a response to the given prompt.
generate(Prompt) - Method in class dev.langchain4j.model.workersai.WorkersAiLanguageModel
Generate a response to the given prompt.
generate(Prompt, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.language.DisabledStreamingLanguageModel
 
generate(Prompt, StreamingResponseHandler<String>) - Method in interface dev.langchain4j.model.language.StreamingLanguageModel
Generates a response from the model based on a prompt.
generate(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
generate(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
generate(String) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
Generates a response from the model based on a message from a user.
generate(String) - Method in class dev.langchain4j.model.chat.DisabledChatLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.dashscope.QwenLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.dashscope.WanxImageModel
 
generate(String) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.image.DisabledImageModel
 
generate(String) - Method in interface dev.langchain4j.model.image.ImageModel
Given a prompt, generate an image.
generate(String) - Method in class dev.langchain4j.model.jlama.JlamaLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.language.DisabledLanguageModel
 
generate(String) - Method in interface dev.langchain4j.model.language.LanguageModel
Generate a response to the given prompt.
generate(String) - Method in class dev.langchain4j.model.localai.LocalAiLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel
 
generate(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.qianfan.QianfanLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel
 
generate(String) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel
 
generate(String) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel
Generates a response from the model based on a message from a user.
generate(String) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel
Given a prompt, generate an image.
generate(String) - Method in class dev.langchain4j.model.workersai.WorkersAiLanguageModel
Generate a response to the given prompt.
generate(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel
 
generate(String, int) - Method in class dev.langchain4j.model.dashscope.WanxImageModel
 
generate(String, int) - Method in class dev.langchain4j.model.image.DisabledImageModel
 
generate(String, int) - Method in interface dev.langchain4j.model.image.ImageModel
Given a prompt, generate n images.
generate(String, int) - Method in class dev.langchain4j.model.openai.OpenAiImageModel
 
generate(String, int) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel
 
generate(String, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockStreamingChatModel
 
generate(String, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.chat.DisabledStreamingChatLanguageModel
 
generate(String, StreamingResponseHandler<AiMessage>) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
Generates a response from the model based on a message from a user.
generate(String, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.dashscope.QwenStreamingLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.jlama.JlamaStreamingLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.language.DisabledStreamingLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in interface dev.langchain4j.model.language.StreamingLanguageModel
Generates a response from the model based on a prompt.
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.localai.LocalAiStreamingLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.qianfan.QianfanStreamingLanguageModel
 
generate(String, String) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel
Generate image and save to file.
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.anthropic.AnthropicChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockChatModel
 
generate(List<ChatMessage>) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
Generates a response from the model based on a sequence of messages.
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.chat.DisabledChatLanguageModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.dashscope.QwenChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.jlama.JlamaChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.localai.LocalAiChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.mistralai.MistralAiChatModel
Generates chat response based on the given list of messages.
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.ollama.OllamaChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.qianfan.QianfanChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel
Generates a response from the model based on a sequence of messages.
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
Generates a response from the model based on a list of messages and a single tool specification.
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.chat.DisabledChatLanguageModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.dashscope.QwenChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.jlama.JlamaChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.localai.LocalAiChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.mistralai.MistralAiChatModel
Generates an AI message response based on the given list of chat messages and a tool specification.
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.qianfan.QianfanChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel
Generates a response from the model based on a list of messages and a single tool specification.
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.chat.DisabledStreamingChatLanguageModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
Generates a response from the model based on a list of messages and a tool specification.
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.localai.LocalAiStreamingChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel
Generates streamed token response based on the given list of messages and tool specification.
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.qianfan.QianfanStreamingChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.anthropic.AnthropicStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.chat.DisabledStreamingChatLanguageModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
Generates a response from the model based on a sequence of messages.
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.dashscope.QwenStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.jlama.JlamaStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.localai.LocalAiStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel
Generates streamed token response based on the given list of messages.
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.qianfan.QianfanStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.anthropic.AnthropicChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
Generates a response from the model based on a list of messages and a list of tool specifications.
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.chat.DisabledChatLanguageModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.dashscope.QwenChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.jlama.JlamaChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.localai.LocalAiChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.mistralai.MistralAiChatModel
Generates an AI message response based on the given list of chat messages and tool specifications.
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.ollama.OllamaChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.qianfan.QianfanChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel
Generates a response from the model based on a list of messages and a list of tool specifications.
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.chat.DisabledStreamingChatLanguageModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
Generates a response from the model based on a list of messages and a list of tool specifications.
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.localai.LocalAiStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel
Generates streamed token response based on the given list of messages and tool specifications.
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.qianfan.QianfanStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel
 
generateChat(WorkersAiChatCompletionRequest, String, String) - Method in interface dev.langchain4j.model.workersai.client.WorkersAiApi
Generate chat.
generatedText() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationResponse
 
GeneratedToken() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse.GeneratedToken
 
generateImage(WorkersAiImageGenerationRequest, String, String) - Method in interface dev.langchain4j.model.workersai.client.WorkersAiApi
Generate image.
generateSqlQuery(Query, String, String) - Method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
generateText(WorkersAiTextCompletionRequest, String, String) - Method in interface dev.langchain4j.model.workersai.client.WorkersAiApi
Generate text.
generateUUIDFrom(String) - Static method in class dev.langchain4j.internal.Utils
Generates a UUID from a hash of the given input string.
Generation() - Constructor for class dev.langchain4j.model.bedrock.BedrockCohereChatModelResponse.Generation
 
GENERATION - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.ReturnLikelihood
 
geoLocation() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the desired geolocation for search results.
geoLocation(String) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the desired geolocation for search results.
get(Object) - Method in interface dev.langchain4j.memory.chat.ChatMemoryProvider
Provides an instance of ChatMemory.
get(String) - Method in class dev.langchain4j.data.document.Metadata
getAccessToken() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getArguments() - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall
 
getAttributes() - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata
 
getBanRound() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getBody(Request) - Method in class dev.langchain4j.model.qianfan.client.SyncRequestExecutor
 
getCassandraSession() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Access the cassandra session for fined grained operation.
getChoices() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
getCode() - Method in exception class dev.langchain4j.model.zhipu.ZhipuAiException
 
getCompletionTokens() - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
getConnection() - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Datasource connection Creates the vector extension and add the vector type if it does not exist.
getContent() - Method in class dev.langchain4j.model.qianfan.client.chat.Examples
 
getContent() - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
getContent() - Method in class dev.langchain4j.model.zhipu.chat.Delta
 
getContent() - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
getContent() - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
getContent() - Method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
getContent() - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
getContentClass() - Method in enum class dev.langchain4j.data.message.ContentType
Returns the class of the content type.
getContentVector() - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
getCreated() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getCreated() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
getCreated() - Method in class dev.langchain4j.model.zhipu.image.ImageResponse
 
getData() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
getData() - Method in class dev.langchain4j.model.zhipu.image.ImageResponse
 
getDefaultConfig() - Static method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
getDelta() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
getDescription() - Method in class dev.langchain4j.model.zhipu.chat.Function
 
getDimensions() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
getDoSample() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getDouble(String) - Method in class dev.langchain4j.data.document.Metadata
Returns the Double value associated with the given key.
getEmbedding() - Method in class dev.langchain4j.model.zhipu.embedding.Embedding
 
getEmbedding() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
Convenience method to get the embedding from the first data.
getEmbeddingMatches(SearchPagedIterable, Double, AzureAiSearchQueryType) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
getEnable() - Method in class dev.langchain4j.model.zhipu.chat.WebSearch
 
getEndpoint(String) - Static method in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
getEndpoint(String) - Static method in enum class dev.langchain4j.model.qianfan.QianfanEmbeddingModelNameEnum
 
getEndpoint(String) - Static method in enum class dev.langchain4j.model.qianfan.QianfanLanguageModelNameEnum
 
getError() - Method in class dev.langchain4j.model.zhipu.shared.ErrorResponse
 
getErrorCode() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getErrorMsg() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getExpiresIn() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getFinishReason() - Method in class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse
 
getFinishReason() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModelResponse
 
getFinishReason() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModelResponse
 
getFinishReason() - Method in class dev.langchain4j.model.bedrock.BedrockCohereChatModelResponse
 
getFinishReason() - Method in class dev.langchain4j.model.bedrock.BedrockLlamaChatModelResponse
 
getFinishReason() - Method in class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModelResponse
 
getFinishReason() - Method in class dev.langchain4j.model.bedrock.BedrockTitanChatModelResponse
 
getFinishReason() - Method in interface dev.langchain4j.model.bedrock.internal.BedrockChatModelResponse
 
getFinishReason() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getFinishReason() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
getFloat(String) - Method in class dev.langchain4j.data.document.Metadata
Returns the Float value associated with the given key.
getFunction() - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
getFunction() - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
getFunction() - Method in class dev.langchain4j.model.zhipu.chat.ToolChoice
 
getFunctionCall() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getFunctionCall() - Method in class dev.langchain4j.model.qianfan.client.chat.Examples
 
getId() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getId() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
getId() - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
getId() - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
getImageUrl() - Method in class dev.langchain4j.model.zhipu.chat.ImageContent
 
getIndex() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
getIndex() - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
getIndex() - Method in class dev.langchain4j.model.zhipu.embedding.Embedding
 
getInput() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
getInputs() - Method in class dev.langchain4j.model.huggingface.client.EmbeddingRequest
 
getInputTextTokenCount() - Method in interface dev.langchain4j.model.bedrock.internal.BedrockEmbeddingResponse
Get input text token count
getInteger(String) - Method in class dev.langchain4j.data.document.Metadata
Returns the Integer value associated with the given key.
getIsEnd() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getIsTruncated() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getJavaClass() - Method in class dev.langchain4j.store.embedding.infinispan.LangChainItemMarshaller
 
getJavaClass() - Method in class dev.langchain4j.store.embedding.infinispan.LangChainMetadataMarshaller
 
getKey() - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata.Attribute
 
getLong(String) - Method in class dev.langchain4j.data.document.Metadata
Returns the Long value associated with the given key.
getMaxTokens() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getMessage() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
getMessage() - Method in exception class dev.langchain4j.model.zhipu.ZhipuAiException
 
getMessages() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getMessages(Object) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Retrieves messages for a specified chat memory.
getMessages(Object) - Method in interface dev.langchain4j.store.memory.chat.ChatMemoryStore
Retrieves messages for a specified chat memory.
getMessages(Object) - Method in class dev.langchain4j.store.memory.chat.InMemoryChatMemoryStore
 
getMessages(Object) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore
 
getMetadata() - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
getModel() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getModel() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
getModel() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
getModel() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
getModel() - Metho