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.
adapt(TokenStream) - Method in interface dev.langchain4j.spi.services.TokenStreamAdapter
 
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.coherence.CoherenceEmbeddingStore
 
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.tablestore.TablestoreEmbeddingStore
 
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.coherence.CoherenceEmbeddingStore
 
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.tablestore.TablestoreEmbeddingStore
 
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
Adds the token usage of two responses together.
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.coherence.CoherenceEmbeddingStore
 
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.tablestore.TablestoreEmbeddingStore
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
add(String, String) - Method in class dev.langchain4j.data.document.Metadata
Deprecated, for removal: This API element is subject to removal in a future version.
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.coherence.CoherenceEmbeddingStore
 
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.tablestore.TablestoreEmbeddingStore
 
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.coherence.CoherenceEmbeddingStore
 
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.tablestore.TablestoreEmbeddingStore
 
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
 
addBooleanProperty(String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single boolean property to the properties of this JSON object.
addBooleanProperty(String, String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single boolean property with a description to the properties of this JSON object.
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
 
addEnumProperty(String, List<String>) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single enum property to the properties of this JSON object.
addEnumProperty(String, List<String>, String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single enum property with a description to the properties of this JSON object.
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
 
addIntegerProperty(String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single integer property to the properties of this JSON object.
addIntegerProperty(String, String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single integer property with a description to the properties of this JSON object.
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.
addNumberProperty(String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single number property to the properties of this JSON object.
addNumberProperty(String, String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single number property with a description to the properties of this JSON object.
addOptionalParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
please use ToolSpecification.Builder.parameters(JsonObjectSchema) instead. Example:
 ToolSpecification.builder()
     .name("weather")
     .description("Returns the current weather in the specified city")
     .parameters(JsonObjectSchema.builder()
         .addStringProperty("city", "The name of the city, e.g., Munich")
         .addEnumProperty("units", List.of("CELSIUS", "FAHRENHEIT"))
         .required("city") // please specify mandatory properties explicitly
         .build())
     .build();
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
please use ToolSpecification.Builder.parameters(JsonObjectSchema) instead. Example:
 ToolSpecification.builder()
     .name("weather")
     .description("Returns the current weather in the specified city")
     .parameters(JsonObjectSchema.builder()
         .addStringProperty("city", "The name of the city, e.g., Munich")
         .addEnumProperty("units", List.of("CELSIUS", "FAHRENHEIT"))
         .required("city") // please specify mandatory properties explicitly
         .build())
     .build();
 
addParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
please use ToolSpecification.Builder.parameters(JsonObjectSchema) instead. Example:
 ToolSpecification.builder()
     .name("weather")
     .description("Returns the current weather in the specified city")
     .parameters(JsonObjectSchema.builder()
         .addStringProperty("city", "The name of the city, e.g., Munich")
         .addEnumProperty("units", List.of("CELSIUS", "FAHRENHEIT"))
         .required("city") // please specify mandatory properties explicitly
         .build())
     .build();
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
please use ToolSpecification.Builder.parameters(JsonObjectSchema) instead. Example:
 ToolSpecification.builder()
     .name("weather")
     .description("Returns the current weather in the specified city")
     .parameters(JsonObjectSchema.builder()
         .addStringProperty("city", "The name of the city, e.g., Munich")
         .addEnumProperty("units", List.of("CELSIUS", "FAHRENHEIT"))
         .required("city") // please specify mandatory properties explicitly
         .build())
     .build();
 
addProperty(String, JsonSchemaElement) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single property to the properties of this JSON object.
addStringProperty(String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single string property to the properties of this JSON object.
addStringProperty(String, String) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Adds a single string property with a description to the properties of this JSON object.
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.
AI21_JAMBA_1_5_LARGE - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
AI21_JAMBA_1_5_MINI - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
AI21_JAMBA_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
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.listener.ChatModelResponse.ChatModelResponseBuilder
 
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 is a high-level API of LangChain4j to interact with ChatLanguageModel and StreamingChatLanguageModel.
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
 
allowCodeExecution - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
allowCodeExecution - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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
 
AnthropicCacheControl - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicCacheControl(String) - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicCacheControl
 
AnthropicCacheType - Enum Class 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.
AnthropicClaude3_5SonnetV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
 
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
 
AnthropicContentBlockType - Enum Class in dev.langchain4j.model.anthropic.internal.api
 
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
 
AnthropicMessageContent(String, AnthropicCacheControl) - 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
 
AnthropicTextContent(String, AnthropicCacheControl) - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicTextContent
 
AnthropicTokenUsage - Class in dev.langchain4j.model.anthropic
 
AnthropicTokenUsage(Integer, Integer, Integer, Integer) - Constructor for class dev.langchain4j.model.anthropic.AnthropicTokenUsage
Creates a new AnthropicTokenUsage instance with the given input, output token counts and cache creation/read input tokens.
AnthropicTool - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicTool() - Constructor for class dev.langchain4j.model.anthropic.internal.api.AnthropicTool
 
AnthropicToolChoice - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicToolChoice.Builder - Class in dev.langchain4j.model.anthropic.internal.api
 
AnthropicToolChoiceType - Enum Class in dev.langchain4j.model.anthropic.internal.api
 
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.anthropic.internal.api.AnthropicToolChoiceType
 
ANY - Enum constant in enum class dev.langchain4j.model.googleai.GeminiMode
 
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, for removal: This API element is subject to removal in a future version.
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.googleai.GoogleAiGeminiChatModel
 
apiKey - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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.mistralai.MistralAiModerationModel.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.voyageai.VoyageAiEmbeddingModel.Builder
 
apiKey(String) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.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
Deprecated, for removal: This API element is subject to removal in a future version.
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(Boolean) - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam.StringParamBuilder
 
ARRAY - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonArraySchema.builder() instead
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, for removal: This API element is subject to removal in a future version.
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
 
AugmentationResult.AugmentationResultBuilder - Class in dev.langchain4j.rag
 
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.anthropic.internal.api.AnthropicToolChoiceType
 
AUTO - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
AUTO - Enum constant in enum class dev.langchain4j.model.googleai.GeminiMode
 
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
 
autoTruncate(Boolean) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.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, Map<String, 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, Map<String, 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, Map<String, 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, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel(String, String, TokenCredential, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel(String, String, String, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer, Map<String, String>) - 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, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, TokenCredential, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, String, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String, Map<String, 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, Map<String, 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, Map<String, 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, Map<String, 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
Deprecated, for removal: This API element is subject to removal in a future version.
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, Map<String, 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, Map<String, 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, Map<String, 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, Map<String, 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, Map<String, 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, Map<String, 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.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
baseUrl(String) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
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.voyageai.VoyageAiEmbeddingModel.Builder
 
baseUrl(String) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.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
 
BINARYIVFParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.BINARYIVFParam.BINARYIVFParamBuilder
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonBooleanSchema() instead
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
Deprecated, for removal: This API element is subject to removal in a future version.
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.ConversationalChain.ConversationalChainBuilder
 
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.gcs.GoogleCloudStorageDocumentLoader.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.api.AnthropicToolChoice.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.listener.ChatModelRequest.ChatModelRequestBuilder
 
build() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
 
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.JsonReferenceSchema.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.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
build() - Method in class dev.langchain4j.model.dashscope.QwenStreamingResponseBuilder
 
build() - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
build() - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
build() - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
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.mistralai.MistralAiModerationModel.Builder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaModel.Builder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaModelDetails.Builder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
build() - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
build() - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
 
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.vertexai.VertexAiScoringModel.Builder
 
build() - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
 
build() - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.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.AugmentationResult.AugmentationResultBuilder
 
build() - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
 
build() - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector.DefaultContentInjectorBuilder
 
build() - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
 
build() - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
build() - Method in class dev.langchain4j.rag.content.retriever.WebSearchContentRetriever.WebSearchContentRetrieverBuilder
 
build() - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
build() - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
 
build() - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer.CompressingQueryTransformerBuilder
 
build() - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer.ExpandingQueryTransformerBuilder
 
build() - Method in class dev.langchain4j.service.AiServices
Constructs and returns the AI Service.
build() - Method in class dev.langchain4j.service.Result.ResultBuilder
 
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.coherence.CoherenceEmbeddingStore.Builder
Build a CoherenceEmbeddingStore from the state in this 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.EmbeddingSearchRequest.EmbeddingSearchRequestBuilder
 
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.IndexMapping.Builder
 
build() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument.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.RetrievalParam.BINARYIVFParam.BINARYIVFParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.FLAT.FLATBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam.GPUParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam.HNSWParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam.IVFFLATParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam.IVFPQParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.RetrievalParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine.Builder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.FloatParam.FloatParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.IntegerParam.IntegerParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.SpacePropertyParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam.StringParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.Builder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate.Builder
 
build() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
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.coherence.CoherenceChatMemoryStore.Builder
Build a CoherenceChatMemoryStore from the state in this builder.
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.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
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonObjectSchema.builder() instead
builder() - Static method in class dev.langchain4j.agent.tool.ToolSpecification
Creates builder to build ToolSpecification.
builder() - Static method in class dev.langchain4j.chain.ConversationalChain
 
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.gcs.GoogleCloudStorageDocumentLoader
 
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.listener.ChatModelRequest
 
builder() - Static method in class dev.langchain4j.model.chat.listener.ChatModelResponse
 
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.JsonReferenceSchema
 
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.github.GitHubModelsChatModel
 
builder() - Static method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel
 
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.OllamaModel
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaModelCard
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
builder() - Static method in class dev.langchain4j.model.ollama.OllamaModels
 
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.vertexai.VertexAiScoringModel
 
builder() - Static method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel
 
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.AugmentationResult
 
builder() - Static method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 
builder() - Static method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
builder() - Static method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
 
builder() - Static method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
builder() - Static method in class dev.langchain4j.rag.content.retriever.WebSearchContentRetriever
 
builder() - Static method in class dev.langchain4j.rag.DefaultRetrievalAugmentor
 
builder() - Static method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
builder() - Static method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
builder() - Static method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
builder() - Static method in class dev.langchain4j.service.Result
 
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.coherence.CoherenceEmbeddingStore
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.EmbeddingSearchRequest
 
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.IndexMapping
 
builder() - Static method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
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.RetrievalParam.BINARYIVFParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.FLAT
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.FloatParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.IntegerParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate
 
builder() - Static method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
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.coherence.CoherenceChatMemoryStore
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.gcs.GoogleCloudStorageDocumentLoader.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.JsonReferenceSchema.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.github.GitHubModelsChatModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.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.mistralai.MistralAiModerationModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.ollama.OllamaModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
Builder() - Constructor for class dev.langchain4j.model.ollama.OllamaModelDetails.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.vertexai.VertexAiScoringModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.voyageai.VoyageAiScoringModel.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.coherence.CoherenceEmbeddingStore.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.IndexMapping.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.mongodb.MongoDbDocument.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.SpaceStoreParam.Builder
 
Builder() - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate.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.coherence.CoherenceChatMemoryStore.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
cacheControl - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicMessageContent
 
cacheControl - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicTool
 
cacheControl() - Method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicCacheType
 
cacheCreationInputTokens - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicUsage
 
cacheCreationInputTokens() - Method in class dev.langchain4j.model.anthropic.AnthropicTokenUsage
Returns The total cached token created count, or null if unknown.
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
cacheReadInputTokens - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicUsage
 
cacheReadInputTokens() - Method in class dev.langchain4j.model.anthropic.AnthropicTokenUsage
Returns The total cached token read count, or null if unknown.
cacheSize(Integer) - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.Builder
 
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
 
canAdaptTokenStreamTo(Type) - Method in interface dev.langchain4j.spi.services.TokenStreamAdapter
 
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
 
chatCompletionsAsyncClient(ChatCompletionsAsyncClient) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
chatCompletionsClient(ChatCompletionsClient) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
Sets the Azure AI Inference API client.
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, boolean, boolean) - 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.ConversationalChain.ConversationalChainBuilder
 
chatLanguageModel(ChatLanguageModel) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
 
chatLanguageModel(ChatLanguageModel) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
 
chatLanguageModel(ChatLanguageModel) - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer.CompressingQueryTransformerBuilder
 
chatLanguageModel(ChatLanguageModel) - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer.ExpandingQueryTransformerBuilder
 
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 - Variable in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore
The NamedMap used to store the chat messages.
chatMemory() - Method in class dev.langchain4j.rag.query.Metadata
 
chatMemory(ChatMemory) - Method in class dev.langchain4j.chain.ConversationalChain.ConversationalChainBuilder
 
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(ChatMessage) - Method in class dev.langchain4j.rag.AugmentationResult.AugmentationResultBuilder
 
ChatMessage - Interface in dev.langchain4j.data.message
Represents 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
 
ChatModelRequest.ChatModelRequestBuilder - Class in dev.langchain4j.model.chat.listener
 
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
 
ChatModelResponse.ChatModelResponseBuilder - Class in dev.langchain4j.model.chat.listener
 
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.googleai.GoogleAiEmbeddingModel.TaskType
 
CLASSIFICATION - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
ClassificationResult<L> - Record Class in dev.langchain4j.classification
Represent the result of classification.
ClassificationResult(List<ScoredLabel<L>>) - Constructor for record class dev.langchain4j.classification.ClassificationResult
Creates an instance of a ClassificationResult record class.
classify(Document) - Method in interface dev.langchain4j.classification.TextClassifier
Classifies the given Document.
classify(TextSegment) - Method in interface dev.langchain4j.classification.TextClassifier
Classifies the given TextSegment.
classify(String) - Method in interface dev.langchain4j.classification.TextClassifier
Classifies the given text.
classifyWithScores(Document) - Method in interface dev.langchain4j.classification.TextClassifier
Classifies the given Document and returns labels with scores.
classifyWithScores(TextSegment) - Method in interface dev.langchain4j.classification.TextClassifier
Classifies the given TextSegment and returns labels with scores.
classifyWithScores(String) - Method in class dev.langchain4j.classification.EmbeddingModelTextClassifier
 
classifyWithScores(String) - Method in interface dev.langchain4j.classification.TextClassifier
Classifies the given text and returns labels with scores.
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_HAIKU_20241022 - 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_5_SONNET_20241022 - 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
 
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.
clear() - Method in class dev.langchain4j.store.memory.chat.tablestore.TablestoreChatMemoryStore
Clear all message.
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.googleai.GoogleAiEmbeddingModel.TaskType
 
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
 
CODE_RETRIEVAL_QUERY - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
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
 
COHERE_COMMAND_R - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
COHERE_COMMAND_R_PLUS - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
COHERE_EMBED_V3_ENGLISH - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsEmbeddingModelName
 
COHERE_EMBED_V3_MULTILINGUAL - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsEmbeddingModelName
 
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
 
CoherenceChatMemoryStore - Class in dev.langchain4j.store.memory.chat.coherence
A ChatMemoryStore backed by an Oracle Coherence named map.
CoherenceChatMemoryStore(NamedMap<Object, String>) - Constructor for class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore
CoherenceChatMemoryStore.Builder - Class in dev.langchain4j.store.memory.chat.coherence
A builder to create CoherenceChatMemoryStore instances.
CoherenceEmbeddingStore - Class in dev.langchain4j.store.embedding.coherence
An EmbeddingStore backed by an Oracle Coherence NamedMap.
CoherenceEmbeddingStore(NamedMap<DocumentChunk.Id, DocumentChunk>, boolean) - Constructor for class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
CoherenceEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.coherence
A builder to create CoherenceEmbeddingStore instances.
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
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatch
 
comparisonValue() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatchPhrase
 
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
 
compress(SpaceStoreParam.CompressRate) - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.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
 
CompressingQueryTransformer.CompressingQueryTransformerBuilder - Class in dev.langchain4j.rag.query.transformer
 
compressionQuality(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
CompressRate() - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate
 
CompressRate(Integer) - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate
 
computeMimeType(ResponseFormat) - Static method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
computeMimeType(ResponseFormat) - Static method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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(T) - Method in class dev.langchain4j.service.Result.ResultBuilder
 
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(ContentAggregator) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
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(ContentInjector) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
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
 
contents(List<Content>) - Method in class dev.langchain4j.rag.AugmentationResult.AugmentationResultBuilder
 
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.
ConversationalChain.ConversationalChainBuilder - Class in dev.langchain4j.chain
 
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, for removal: This API element is subject to removal in a future version.
Please use another constructor with a new ContentRetriever instead.
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() - Static method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
Create a default CoherenceEmbeddingStore.
create() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Create the table if not exist.
create() - Static method in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore
Create a default CoherenceChatMemoryStore.
create(NamedMap<DocumentChunk.Id, DocumentChunk>) - Static method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
Create a CoherenceEmbeddingStore that uses the specified Coherence NamedMap name.
create(NamedMap<Object, String>) - Static method in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore
Create a CoherenceChatMemoryStore that uses the specified Coherence NamedMap name.
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(String) - Static method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
Create a CoherenceEmbeddingStore that uses the specified Coherence NamedMap name.
create(String) - Static method in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore
Create a CoherenceChatMemoryStore that uses the specified Coherence NamedMap name.
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
createChatModelRequest(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
createChatModelRequest(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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
 
createGenerateContentRequest(List<ChatMessage>, List<ToolSpecification>, ResponseFormat) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
createGenerateContentRequest(List<ChatMessage>, List<ToolSpecification>, ResponseFormat) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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
 
createModelListenerRequest(InvokeModelRequest, List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
createModelListenerRequest(InvokeModelWithResponseStreamRequest, List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
createModelListenerResponse(String, String, Response<AiMessage>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
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
 
credentials(Credentials) - Method in class dev.langchain4j.data.document.loader.gcs.GoogleCloudStorageDocumentLoader.Builder
 
credentialsProvider - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
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
 
databaseName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
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_MAP_NAME - Static variable in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
The default NamedMap name.
DEFAULT_MAP_NAME - Static variable in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore
The default NamedMap name.
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
 
DefaultContentInjector.DefaultContentInjectorBuilder - Class in dev.langchain4j.rag.content.injector
 
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
 
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
 
definitions() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
Used together with JsonReferenceSchema when recursion is required.
definitions(Map<String, JsonSchemaElement>) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Used together with JsonReferenceSchema when recursion is required.
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.coherence.CoherenceChatMemoryStore
 
deleteMessages(Object) - Method in class dev.langchain4j.store.memory.chat.InMemoryChatMemoryStore
 
deleteMessages(Object) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore
 
deleteMessages(Object) - Method in class dev.langchain4j.store.memory.chat.tablestore.TablestoreChatMemoryStore
 
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
 
deleteTableAndIndex() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
please use the new JsonSchemaElement API instead to define the schema for tool parameters
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.
details(OllamaModelDetails) - Method in class dev.langchain4j.model.ollama.OllamaModel.Builder
 
details(OllamaModelDetails) - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
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.gcs - package dev.langchain4j.data.document.loader.gcs
 
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.gcs - package dev.langchain4j.data.document.source.gcs
 
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.jsoup - package dev.langchain4j.data.document.transformer.jsoup
 
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.github - package dev.langchain4j.model.github
 
dev.langchain4j.model.github.spi - package dev.langchain4j.model.github.spi
 
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.scoring.onnx - package dev.langchain4j.model.scoring.onnx
 
dev.langchain4j.model.vertexai - package dev.langchain4j.model.vertexai
 
dev.langchain4j.model.vertexai.spi - package dev.langchain4j.model.vertexai.spi
 
dev.langchain4j.model.voyageai - package dev.langchain4j.model.voyageai
 
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.coherence - package dev.langchain4j.store.embedding.coherence
 
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.tablestore - package dev.langchain4j.store.embedding.tablestore
 
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.coherence - package dev.langchain4j.store.memory.chat.coherence
 
dev.langchain4j.store.memory.chat.redis - package dev.langchain4j.store.memory.chat.redis
 
dev.langchain4j.store.memory.chat.tablestore - package dev.langchain4j.store.memory.chat.tablestore
 
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
 
digest(String) - Method in class dev.langchain4j.model.ollama.OllamaModel.Builder
 
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 class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel
 
dimension() - Method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
 
dimension() - Method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
dimension() - Method in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
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(int) - Method in class dev.langchain4j.store.embedding.mongodb.IndexMapping.Builder
 
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, for removal: This API element is subject to removal in a future version.
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
 
dimension(Integer) - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
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.github.GitHubModelsEmbeddingModel.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.
displayName(String) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
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
 
documentChunks - Variable in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
The NamedMap used to store the document chunks.
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
 
dynamicFilter(Function<Query, Filter>) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
dynamicMaxResults(Function<Query, Integer>) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
dynamicMinScore(Function<Query, Double>) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 

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
 
efConstruction(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam.HNSWParamBuilder
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
ElasticsearchEmbeddingStore(ElasticsearchConfiguration, String, String, String, String, String, Integer) - Constructor for class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
Deprecated, for removal: This API element is subject to removal in a future version.
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.googleai.GoogleAiEmbeddingModel
 
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.googleai.GoogleAiEmbeddingModel
 
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.github.GitHubModelsEmbeddingModel
Embeds the provided text segments, processing a maximum of 16 segments at a time.
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel
 
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.voyageai.VoyageAiEmbeddingModel
 
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(List<Float>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument.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
 
embeddingFieldName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
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.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
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<L> - Class in dev.langchain4j.classification
A TextClassifier that uses an EmbeddingModel and predefined examples to perform classification.
EmbeddingModelTextClassifier(EmbeddingModel, Map<L, ? 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<L, ? 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.
embeddingsClient(EmbeddingsClient) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
Sets the Azure AI Inference API client.
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.
EmbeddingSearchRequest.EmbeddingSearchRequestBuilder - Class in dev.langchain4j.store.embedding
 
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.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
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
 
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, for removal: This API element is subject to removal in a future version.
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
 
encodingFormat(String) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
Format in which the embeddings are encoded.
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.github.GitHubModelsChatModel.Builder
Sets the GitHub Models endpoint.
endpoint(String) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
Sets the GitHub Models endpoint.
endpoint(String) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
Sets the GitHub Models 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
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonEnumSchema instead
enums(Class<?>) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
enums(Object...) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonEnumSchema instead
enums(Object...) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
enums(String...) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonEnumSchema instead
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(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
Deprecated, for removal: This API element is subject to removal in a future version.
environment(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig.Builder
 
EPHEMERAL - Enum constant in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicCacheType
 
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
Deprecated.
 
equals(Object) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
 
equals(Object) - Method in class dev.langchain4j.agent.tool.ToolParameters
Deprecated.
 
equals(Object) - Method in class dev.langchain4j.agent.tool.ToolSpecification
 
equals(Object) - Method in record class dev.langchain4j.classification.ClassificationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.classification.ScoredLabel
Indicates whether some other object is "equal to" this one.
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.JsonReferenceSchema
 
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 record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationResponse
Indicates whether some other object is "equal to" this one.
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 class dev.langchain4j.store.embedding.EmbeddingSearchRequest
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsIn
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.logical.And
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.logical.Not
 
equals(Object) - Method in class dev.langchain4j.store.embedding.filter.logical.Or
 
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.store.embedding.tablestore.IsTextMatch
 
equals(Object) - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatchPhrase
 
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.googleai.GoogleAiGeminiChatModel
 
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.googleai.GoogleAiGeminiTokenizer
 
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.googleai.GoogleAiGeminiTokenizer
 
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.googleai.GoogleAiGeminiTokenizer
 
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.googleai.GoogleAiGeminiTokenizer
 
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.googleai.GoogleAiGeminiTokenizer
 
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
 
executor(Executor) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
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
 
ExpandingQueryTransformer.ExpandingQueryTransformerBuilder - Class in dev.langchain4j.rag.query.transformer
 
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.googleai.GoogleAiEmbeddingModel.TaskType
 
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
 
fallbackStrategy(LanguageModelQueryRouter.FallbackStrategy) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
 
families(List<String>) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails.Builder
 
family(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails.Builder
 
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(Filter) - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest.EmbeddingSearchRequestBuilder
 
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, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version.
findRelevant(Embedding, int, double) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
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.vespa.VespaEmbeddingStore
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, for removal: This API element is subject to removal in a future version.
findRelevant(Object, Embedding, int, double) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Deprecated, for removal: This API element is subject to removal in a future version.
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.listener.ChatModelResponse.ChatModelResponseBuilder
 
finishReason(FinishReason) - Method in class dev.langchain4j.model.chat.response.ChatResponse.Builder
 
finishReason(FinishReason) - Method in class dev.langchain4j.service.Result.ResultBuilder
 
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
 
FLATBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.FLAT.FLATBuilder
 
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
 
FloatParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.FloatParam.FloatParamBuilder
 
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) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
format(String) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
format(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails.Builder
 
format(String) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
format(String) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
format(String) - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
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
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.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(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(JsonSchemaElement) - Static method in class dev.langchain4j.model.vertexai.SchemaHelper
 
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.anthropic.internal.api.AnthropicToolChoice
 
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
Deprecated, for removal: This API element is subject to removal in a future version.
please use the new JsonSchemaElement API instead to define the schema for tool parameters
from(String, Object) - Static method in class dev.langchain4j.data.document.Metadata
Deprecated, for removal: This API element is subject to removal in a future version.
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.
from(T, TokenUsage, FinishReason, Map<String, Object>) - 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
Deprecated.
use Jackson's ObjectMapper
fromJson(String, Class<T>) - Method in interface dev.langchain4j.internal.Json.JsonCodec
Deprecated.
Convert the given JSON string to an object of the given class.
fromJson(String, Class<T>) - Static method in class dev.langchain4j.model.bedrock.internal.Json
 
fromJson(String, Type) - Static method in class dev.langchain4j.internal.Json
Deprecated.
use Jackson's ObjectMapper
fromJson(String, Type) - Method in interface dev.langchain4j.internal.Json.JsonCodec
Deprecated.
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

GcsSource - Class in dev.langchain4j.data.document.source.gcs
 
GcsSource(Blob) - Constructor for class dev.langchain4j.data.document.source.gcs.GcsSource
 
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
 
GeminiMode - Enum Class in dev.langchain4j.model.googleai
 
GeminiSafetySetting - Class in dev.langchain4j.model.googleai
 
GeminiSafetySetting() - Constructor for class dev.langchain4j.model.googleai.GeminiSafetySetting
 
geminiService - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
geminiService - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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.github.GitHubModelsChatModel
 
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 class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel
 
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.github.GitHubModelsChatModel
 
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.anthropic.AnthropicStreamingChatModel
 
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.dashscope.QwenStreamingChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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.github.GitHubModelsStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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 class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel
 
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.github.GitHubModelsChatModel
 
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.anthropic.AnthropicStreamingChatModel
 
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.dashscope.QwenStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
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.
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
Deprecated, for removal: This API element is subject to removal in a future version.
getAccessToken() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getArguments() - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall
 
getArray() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam
 
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
 
getCacheSize() - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam
 
getCassandraSession() - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Access the cassandra session for fined grained operation.
getCategories() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralModerationResult
 
getCategoryScores() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralModerationResult
 
getChoices() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
getClient() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getCode() - Method in exception class dev.langchain4j.model.zhipu.ZhipuAiException
 
getCompletionTokens() - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
getCompress() - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam
 
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
 
getDangerousAndCriminalContent() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getDangerousAndCriminalContent() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
getData() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
getData() - Method in class dev.langchain4j.model.zhipu.image.ImageResponse
 
getDatabaseName() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
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
 
getDetails() - Method in class dev.langchain4j.model.ollama.OllamaModel
 
getDetails() - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
getDetails() - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
getDigest() - Method in class dev.langchain4j.model.ollama.OllamaModel
 
getDigest() - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
getDimension() - Method in class dev.langchain4j.store.embedding.mongodb.IndexMapping
 
getDimension() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
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.
getEfConstruction() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam
 
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.
getEmbedding() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
getEmbedding() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
getEmbeddingField() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getEmbeddingFieldName() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
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
 
getExpiresAt() - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
getExpiresIn() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getFamilies() - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
getFamily() - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
getFields() - Method in class dev.langchain4j.store.embedding.vearch.ModelParam
 
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.
getFormat() - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
getFormat() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
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
 
getGeneratedText() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationResponse
 
getHateAndDiscrimination() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getHateAndDiscrimination() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
getHealth() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getHealth() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
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
 
getId() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
getId() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
getId() - Method in class dev.langchain4j.store.embedding.vearch.ListSpaceResponse
 
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
 
getIndex() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam
 
getIndexSize() - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
getInput() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
getInputs() - Method in class dev.langchain4j.model.huggingface.client.EmbeddingRequest
 
getInputs() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest
 
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
 
getLaw() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getLaw() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
getLicense() - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
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.coherence.CoherenceChatMemoryStore
 
getMessages(Object) - Method in class dev.langchain4j.store.memory.chat.InMemoryChatMemoryStore
 
getMessages(Object) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore
 
getMessages(Object) - Method in class dev.langchain4j.store.memory.chat.tablestore.TablestoreChatMemoryStore
 
getMetadata() - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
getMetadata() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
getMetadata() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
getMetadataFieldNames() - Method in class dev.langchain4j.store.embedding.mongodb.IndexMapping
 
getMetadataFieldNames() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
getMetadataSchemaList() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getMetricType() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam
 
getModel() - Method in class dev.langchain4j.model.ollama.OllamaModel
 
getModel() - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
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() - Method in class dev.langchain4j.model.zhipu.image.ImageRequest
 
getModelfile() - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicStreamingChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockCohereChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockLlamaChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockTitanChatModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel
 
getModelId() - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockEmbeddingModel
Get model id
getModelId() - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
Get model id
getModelId() - Method in class dev.langchain4j.store.embedding.vearch.ModelParam
 
getModelId() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
getModelInfo() - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
getModelParams() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
getModifiedAt() - Method in class dev.langchain4j.model.ollama.OllamaModel
 
getModifiedAt() - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
getName() - Method in class dev.langchain4j.model.ollama.OllamaModel
 
getName() - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
getName() - Method in class dev.langchain4j.model.qianfan.client.chat.Examples
 
getName() - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
getName() - Method in class dev.langchain4j.model.zhipu.chat.Function
 
getName() - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall
 
getName() - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
getName() - Method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
getName() - Method in interface dev.langchain4j.spi.prompt.PromptTemplateFactory.Input
Get the name of the template.
getName() - Method in class dev.langchain4j.store.embedding.vearch.ListSpaceResponse
 
getName() - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
getNcentroids() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.BINARYIVFParam
 
getNcentroids() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam
 
getNcentroids() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam
 
getNcentroids() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam
 
getNeedClearHistory() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getNlinks() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam
 
getNsubvector() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam
 
getNsubvector() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam
 
getObject() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getObject() - Method in class dev.langchain4j.model.zhipu.embedding.Embedding
 
getObject() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
getOptions() - Method in class dev.langchain4j.model.huggingface.client.EmbeddingRequest
 
getOptions() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest
 
getOrDefault(T, Supplier<T>) - Static method in class dev.langchain4j.internal.Utils
Returns the given value if it is not null, otherwise returns the value returned by the given supplier.
getOrDefault(T, T) - Static method in class dev.langchain4j.internal.Utils
Returns the given value if it is not null, otherwise returns the given default value.
getOut() - Method in class dev.langchain4j.store.embedding.vearch.ModelParam
 
getOutputText() - Method in class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse
 
getOutputText() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModelResponse
 
getOutputText() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModelResponse
 
getOutputText() - Method in class dev.langchain4j.model.bedrock.BedrockCohereChatModelResponse
 
getOutputText() - Method in class dev.langchain4j.model.bedrock.BedrockLlamaChatModelResponse
 
getOutputText() - Method in class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModelResponse
 
getOutputText() - Method in class dev.langchain4j.model.bedrock.BedrockTitanChatModelResponse
 
getOutputText() - Method in interface dev.langchain4j.model.bedrock.internal.BedrockChatModelResponse
 
getParamClass() - Method in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
 
getParamClass() - Method in enum class dev.langchain4j.store.embedding.vearch.SpacePropertyType
 
getParameters() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest
 
getParameters() - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
getParameters() - Method in class dev.langchain4j.model.zhipu.chat.Function
 
getParameterSize() - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
getPii() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getPii() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
getPixels(URL) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel
Convert an image into a array of number, supposedly the Pixels.
getPkName() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getPrompt() - Method in class dev.langchain4j.model.zhipu.image.ImageRequest
 
getPromptTokens() - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
getProperties() - Method in class dev.langchain4j.model.zhipu.chat.Parameters
 
getProperties() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
getQuantizationLevel() - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
getRate() - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate
 
getRawClass(Type) - Static method in class dev.langchain4j.service.TypeUtils
 
getRefreshToken() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getRemoteCache() - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
Gets the underlying Infinispan remote cache
getRequestId() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockCohereChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockLlamaChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.BedrockTitanChatModel
 
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockChatModel
Get request parameters
getRequestParameters(String) - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
getRequestParameters(List<TextSegment>) - Method in class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel
 
getRequestParameters(List<TextSegment>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockEmbeddingModel
Get request body
getRequired() - Method in class dev.langchain4j.model.zhipu.chat.Parameters
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockCohereChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockLlamaChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockTitanChatModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel
 
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockChatModel
Get response class type
getResponseClassType() - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockEmbeddingModel
Get response class type
getResult() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getRetrieval() - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
getRetrievalParam() - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
getRetrievalType() - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
getRole() - Method in class dev.langchain4j.model.qianfan.client.chat.Examples
 
getRole() - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
getRole() - Method in interface dev.langchain4j.model.zhipu.chat.Message
 
getRole() - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
getRole() - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
getRole() - Method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
getScope() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getScore() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
getSearchIndexName() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getSearchQuery() - Method in class dev.langchain4j.model.zhipu.chat.WebSearch
 
getSelfHarm() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getSelfHarm() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
getSentenceId() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getSessionKey() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getSessionSecret() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse
 
getSexual() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getSexual() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
getSize() - Method in class dev.langchain4j.model.ollama.OllamaModel
 
getSize() - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
getSizeVram() - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
getSource() - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata
 
getSpaceEngine() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
getSpaceName() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
getSqlDialect(DataSource) - Static method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
getStop() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getStoreParam() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
getStoreType() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
getStream() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getString(String) - Method in class dev.langchain4j.data.document.Metadata
Returns the String value associated with the given key.
getTableName() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getTemperature() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getTemplate() - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
getTemplate() - Method in interface dev.langchain4j.spi.prompt.PromptTemplateFactory.Input
Get the template string.
getText() - Method in class dev.langchain4j.model.zhipu.chat.TextContent
 
getText() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
getText() - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
getTextField() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getTextFieldName() - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
getTokenUsage() - Method in class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse
 
getTokenUsage() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModelResponse
 
getTokenUsage() - Method in class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModelResponse
 
getTokenUsage() - Method in class dev.langchain4j.model.bedrock.BedrockCohereChatModelResponse
 
getTokenUsage() - Method in class dev.langchain4j.model.bedrock.BedrockLlamaChatModelResponse
 
getTokenUsage() - Method in class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModelResponse
 
getTokenUsage() - Method in class dev.langchain4j.model.bedrock.BedrockTitanChatModelResponse
 
getTokenUsage() - Method in interface dev.langchain4j.model.bedrock.internal.BedrockChatModelResponse
 
getToolCallId() - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
getToolCalls() - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
getToolCalls() - Method in class dev.langchain4j.model.zhipu.chat.Delta
 
getToolChoice() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getTools() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getTopP() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest
 
getTotalTokens() - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
getType() - Method in interface dev.langchain4j.model.zhipu.chat.Content
 
getType() - Method in class dev.langchain4j.model.zhipu.chat.ImageContent
 
getType() - Method in class dev.langchain4j.model.zhipu.chat.Parameters
 
getType() - Method in class dev.langchain4j.model.zhipu.chat.TextContent
 
getType() - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
getType() - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
getType() - Method in class dev.langchain4j.model.zhipu.chat.ToolChoice
 
getType() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam
 
getTypeName() - Method in class dev.langchain4j.store.embedding.infinispan.LangChainItemMarshaller
 
getTypeName() - Method in class dev.langchain4j.store.embedding.infinispan.LangChainMetadataMarshaller
 
getUrl() - Method in class dev.langchain4j.model.zhipu.chat.Image
 
getUrl() - Method in class dev.langchain4j.model.zhipu.image.Data
 
getUsage() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
getUsage() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
getUsage() - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
getUserId() - Method in class dev.langchain4j.model.zhipu.image.ImageRequest
 
getUUID(String) - Method in class dev.langchain4j.data.document.Metadata
Returns the UUID value associated with the given key.
getValue() - Method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.SimilarityMetric
 
getValue() - Method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.VectorIndexType
 
getValue() - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata.Attribute
 
getVectorDimension() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getVectorMetricType() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
getViolenceAndThreats() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
getViolenceAndThreats() - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
getWebSearch() - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
GitHubDocumentLoader - Class in dev.langchain4j.data.document.loader.github
 
GitHubDocumentLoader() - Constructor for class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
GitHubDocumentLoader(String, String) - Constructor for class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
GitHubDocumentLoader(String, String, String) - Constructor for class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
GitHubDocumentLoader(GitHub) - Constructor for class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
GitHubDocumentLoader.Builder - Class in dev.langchain4j.data.document.loader.github
 
GitHubModelsChatModel - Class in dev.langchain4j.model.github
Represents a language model, hosted on GitHub Models, that has a chat completion interface, such as gpt-4o.
GitHubModelsChatModel.Builder - Class in dev.langchain4j.model.github
 
GitHubModelsChatModelBuilderFactory - Interface in dev.langchain4j.model.github.spi
A factory for building GitHubModelsChatModel.Builder instances.
GitHubModelsChatModelName - Enum Class in dev.langchain4j.model.github
 
GitHubModelsEmbeddingModel - Class in dev.langchain4j.model.github
Represents an embedding model, hosted on GitHub Models, such as text-embedding-3-small.
GitHubModelsEmbeddingModel.Builder - Class in dev.langchain4j.model.github
 
GitHubModelsEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.github.spi
A factory for building GitHubModelsEmbeddingModel.Builder instances.
GitHubModelsEmbeddingModelName - Enum Class in dev.langchain4j.model.github
 
GitHubModelsStreamingChatModel - Class in dev.langchain4j.model.github
Represents a language model, hosted on GitHub Models, that has a chat completion interface, such as gpt-4o.
GitHubModelsStreamingChatModel.Builder - Class in dev.langchain4j.model.github
 
GitHubModelsStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.github.spi
A factory for building GitHubModelsStreamingChatModel.Builder instances.
GitHubSource - Class in dev.langchain4j.data.document.source.github
 
GitHubSource(GHContent) - Constructor for class dev.langchain4j.data.document.source.github.GitHubSource
 
gitHubToken(String) - Method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader.Builder
 
gitHubToken(String) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
Sets the GitHub token to access GitHub Models.
gitHubToken(String) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
Sets the GitHub token to access GitHub Models.
gitHubToken(String) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
Sets the GitHub token to access GitHub Models.
gitHubTokenOrganization(String) - Method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader.Builder
 
GLM_3_TURBO - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
GLM_4 - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
GLM_4_0520 - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
GLM_4_AIR - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
GLM_4_AIRX - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
GLM_4_FLASH - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
GLM_4V - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
GoogleAiEmbeddingModel - Class in dev.langchain4j.model.googleai
 
GoogleAiEmbeddingModel(String, String, Integer, GoogleAiEmbeddingModel.TaskType, String, Integer, Duration, Boolean) - Constructor for class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel
 
GoogleAiEmbeddingModel.TaskType - Enum Class in dev.langchain4j.model.googleai
 
GoogleAiGeminiChatModel - Class in dev.langchain4j.model.googleai
 
GoogleAiGeminiChatModel(String, String, Integer, Double, Integer, Double, Integer, Duration, ResponseFormat, List<String>, GeminiFunctionCallingConfig, Boolean, Boolean, Boolean, List<GeminiSafetySetting>, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
GoogleAiGeminiChatModel.GoogleAiGeminiChatModelBuilder - Class in dev.langchain4j.model.googleai
 
GoogleAiGeminiChatModelBuilder() - Constructor for class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel.GoogleAiGeminiChatModelBuilder
 
GoogleAiGeminiStreamingChatModel - Class in dev.langchain4j.model.googleai
 
GoogleAiGeminiStreamingChatModel(String, String, Double, Integer, Double, Integer, Duration, ResponseFormat, List<String>, GeminiFunctionCallingConfig, Boolean, Boolean, Boolean, List<GeminiSafetySetting>, List<ChatModelListener>, Integer) - Constructor for class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
GoogleAiGeminiTokenizer - Class in dev.langchain4j.model.googleai
 
GoogleCloudStorageDocumentLoader - Class in dev.langchain4j.data.document.loader.gcs
Google Cloud Storage Document Loader to load documents from Google Cloud Storage buckets.
GoogleCloudStorageDocumentLoader.Builder - Class in dev.langchain4j.data.document.loader.gcs
 
GoogleCustomWebSearchEngine - Class in dev.langchain4j.web.search.google.customsearch
An implementation of a WebSearchEngine that uses Google Custom Search API for performing web searches.
GoogleCustomWebSearchEngine(String, String, Boolean, Boolean, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine
Constructs a new GoogleCustomWebSearchEngine with the specified parameters.
GoogleCustomWebSearchEngine.ImageSearchResult - Class in dev.langchain4j.web.search.google.customsearch
 
GPT_3_5_TURBO - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_3_5_TURBO - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_0125 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_3_5_TURBO_0125 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_0301 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_0301 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_1106 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_1106 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_3_5_TURBO_1106 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_1106 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_16K - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_16K - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_3_5_TURBO_16K - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_16K - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_16K_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_16K_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_16K_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_INSTRUCT - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
GPT_3_5_TURBO_INSTRUCT - Enum constant in enum class dev.langchain4j.model.openai.OpenAiLanguageModelName
 
GPT_3_5_TURBO_INSTRUCT - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_INSTRUCT - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_INSTRUCT_0914 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
GPT_4 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_4_0125_PREVIEW - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_0125_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_0125_PREVIEW - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_0314 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
Deprecated.
GPT_4_0314 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_4_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_0613 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_4_1106_PREVIEW - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_1106_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_1106_PREVIEW - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_1106_PREVIEW - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_4_32K - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_32K - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_32K - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_32K - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_4_32K_0314 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_32K_0314 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_4_32K_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_32K_0613 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_32K_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_32K_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPT_4_O - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_O - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
GPT_4_O - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_O - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_O_MINI - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
GPT_4_O_MINI - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_TURBO - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_TURBO - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_TURBO_2024_04_09 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_TURBO_2024_04_09 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_TURBO_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
GPT_4_VISION_PREVIEW - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_VISION_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
Deprecated.
GPT_4_VISION_PREVIEW - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_VISION_PREVIEW - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
GPU - Enum constant in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
 
GPUParam() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam
 
GPUParam(MetricType, Integer, Integer) - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam
 
GPUParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam.GPUParamBuilder
 
GraalVmJavaScriptExecutionEngine - Class in dev.langchain4j.code.graalvm
CodeExecutionEngine that uses GraalVM Polyglot/Truffle to execute provided JavaScript code.
GraalVmJavaScriptExecutionEngine() - Constructor for class dev.langchain4j.code.graalvm.GraalVmJavaScriptExecutionEngine
 
GraalVmJavaScriptExecutionTool - Class in dev.langchain4j.agent.tool.graalvm
A tool that executes provided JavaScript code using GraalVM Polyglot/Truffle.
GraalVmJavaScriptExecutionTool() - Constructor for class dev.langchain4j.agent.tool.graalvm.GraalVmJavaScriptExecutionTool
 
GraalVmPythonExecutionEngine - Class in dev.langchain4j.code.graalvm
CodeExecutionEngine that uses GraalVM Polyglot/Truffle to execute provided Python code.
GraalVmPythonExecutionEngine() - Constructor for class dev.langchain4j.code.graalvm.GraalVmPythonExecutionEngine
 
GraalVmPythonExecutionTool - Class in dev.langchain4j.agent.tool.graalvm
A tool that executes provided Python code using GraalVM Polyglot/Truffle.
GraalVmPythonExecutionTool() - Constructor for class dev.langchain4j.agent.tool.graalvm.GraalVmPythonExecutionTool
 
GRANT_TYPE - Static variable in class dev.langchain4j.model.qianfan.client.QianfanClient
 
GSON - Static variable in class dev.langchain4j.model.qianfan.client.Json
 
GsonChatMessageJsonCodec - Class in dev.langchain4j.data.message
A codec for serializing and deserializing ChatMessage objects to and from JSON.
GsonChatMessageJsonCodec() - Constructor for class dev.langchain4j.data.message.GsonChatMessageJsonCodec
Constructs a new GsonChatMessageJsonCodec.
GsonInMemoryEmbeddingStoreJsonCodec - Class in dev.langchain4j.store.embedding.inmemory
 
GsonInMemoryEmbeddingStoreJsonCodec() - Constructor for class dev.langchain4j.store.embedding.inmemory.GsonInMemoryEmbeddingStoreJsonCodec
 
guidanceScale(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 

H

HARM_BLOCK_THRESHOLD_UNSPECIFIED - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmBlockThreshold
 
HARM_BLOCK_THRESHOLD_UNSPECIFIED - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
 
HARM_CATEGORY_CIVIC_INTEGRITY - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmCategory
 
HARM_CATEGORY_DANGEROUS_CONTENT - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmCategory
 
HARM_CATEGORY_DANGEROUS_CONTENT - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
 
HARM_CATEGORY_HARASSMENT - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmCategory
 
HARM_CATEGORY_HARASSMENT - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
 
HARM_CATEGORY_HATE_SPEECH - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmCategory
 
HARM_CATEGORY_HATE_SPEECH - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
 
HARM_CATEGORY_SEXUALLY_EXPLICIT - Enum constant in enum class dev.langchain4j.model.googleai.GeminiHarmCategory
 
HARM_CATEGORY_SEXUALLY_EXPLICIT - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
 
HARM_CATEGORY_UNSPECIFIED - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
 
HarmCategory - Enum Class in dev.langchain4j.model.vertexai
Possible harm categories for the generation of responses that have been blocked by the model.
hasChatMemory() - Method in class dev.langchain4j.service.AiServiceContext
 
hashCode() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated.
 
hashCode() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
 
hashCode() - Method in class dev.langchain4j.agent.tool.ToolParameters
Deprecated.
 
hashCode() - Method in class dev.langchain4j.agent.tool.ToolSpecification
 
hashCode() - Method in record class dev.langchain4j.classification.ClassificationResult
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.classification.ScoredLabel
Returns a hash code value for this object.
hashCode() - Method in class dev.langchain4j.data.audio.Audio
 
hashCode() - Method in class dev.langchain4j.data.document.Document
 
hashCode() - Method in class dev.langchain4j.data.document.Metadata
 
hashCode() - Method in class dev.langchain4j.data.embedding.Embedding
 
hashCode() - Method in class dev.langchain4j.data.image.Image
 
hashCode() - Method in class dev.langchain4j.data.message.AiMessage
 
hashCode() - Method in class dev.langchain4j.data.message.AudioContent
 
hashCode() - Method in class dev.langchain4j.data.message.ImageContent
 
hashCode() - Method in class dev.langchain4j.data.message.PdfFileContent
 
hashCode() - Method in class dev.langchain4j.data.message.SystemMessage
 
hashCode() - Method in class dev.langchain4j.data.message.TextContent
 
hashCode() - Method in class dev.langchain4j.data.message.TextFileContent
 
hashCode() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
 
hashCode() - Method in class dev.langchain4j.data.message.UserMessage
 
hashCode() - Method in class dev.langchain4j.data.message.VideoContent
 
hashCode() - Method in class dev.langchain4j.data.pdf.PdfFile
 
hashCode() - Method in class dev.langchain4j.data.segment.TextSegment
 
hashCode() - Method in class dev.langchain4j.data.text.TextFile
 
hashCode() - Method in class dev.langchain4j.data.video.Video
 
hashCode() - Method in class dev.langchain4j.model.chat.request.ChatRequest
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonBooleanSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonIntegerSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonNumberSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonReferenceSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.json.JsonStringSchema
 
hashCode() - Method in class dev.langchain4j.model.chat.request.ResponseFormat
 
hashCode() - Method in class dev.langchain4j.model.chat.response.ChatResponse
 
hashCode() - Method in class dev.langchain4j.model.huggingface.client.Options
 
hashCode() - Method in class dev.langchain4j.model.huggingface.client.Parameters
 
hashCode() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest
 
hashCode() - Method in class dev.langchain4j.model.input.Prompt
 
hashCode() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationRequest
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationResponse
Returns a hash code value for this object.
hashCode() - Method in class dev.langchain4j.model.moderation.Moderation
 
hashCode() - Method in class dev.langchain4j.model.output.Response
 
hashCode() - Method in class dev.langchain4j.model.output.TokenUsage
 
hashCode() - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
hashCode() - Method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
hashCode() - Method in class dev.langchain4j.model.qianfan.client.chat.Message
 
hashCode() - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters
 
hashCode() - Method in class dev.langchain4j.model.qianfan.client.chat.Responses
 
hashCode() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest
 
hashCode() - Method in class dev.langchain4j.model.qianfan.client.Usage
 
hashCode() - Method in class dev.langchain4j.rag.content.Content
 
hashCode() - Method in class dev.langchain4j.rag.query.Metadata
 
hashCode() - Method in class dev.langchain4j.rag.query.Query
 
hashCode() - Method in class dev.langchain4j.service.tool.ToolExecution
 
hashCode() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
 
hashCode() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsIn
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.logical.And
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.logical.Not
 
hashCode() - Method in class dev.langchain4j.store.embedding.filter.logical.Or
 
hashCode() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Returns a hash code value for this object.
hashCode() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainMetadata
Returns a hash code value for this object.
hashCode() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatch
 
hashCode() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatchPhrase
 
hashCode() - Method in class dev.langchain4j.web.search.WebSearchInformationResult
 
hashCode() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
 
hashCode() - Method in class dev.langchain4j.web.search.WebSearchRequest
 
hashCode() - Method in class dev.langchain4j.web.search.WebSearchResults
 
hasSingleText() - Method in class dev.langchain4j.data.message.UserMessage
Whether this message contains a single TextContent.
hasToolExecutionRequests() - Method in class dev.langchain4j.data.message.AiMessage
Check if the message has ToolExecutionRequests.
HERMES_2_PRO_MISTRAL_7B - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Hermes 2 Pro on Mistral 7B is the new flagship 7B Hermes! Hermes 2 Pro is an upgraded, retrained version of Nous Hermes 2, consisting of an updated and cleaned version of the OpenHermes 2.5 Dataset, as well as a newly introduced Function Calling and JSON Mode dataset developed in-house.
HierarchicalDocumentSplitter - Class in dev.langchain4j.data.document.splitter
Base class for hierarchical document splitters.
HierarchicalDocumentSplitter(int, int) - Constructor for class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
Creates a new instance of HierarchicalDocumentSplitter.
HierarchicalDocumentSplitter(int, int, HierarchicalDocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
Creates a new instance of HierarchicalDocumentSplitter.
HierarchicalDocumentSplitter(int, int, Tokenizer) - Constructor for class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
Creates a new instance of HierarchicalDocumentSplitter.
HierarchicalDocumentSplitter(int, int, Tokenizer, DocumentSplitter) - Constructor for class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
Creates a new instance of HierarchicalDocumentSplitter.
HIGH - Enum constant in enum class dev.langchain4j.data.message.ImageContent.DetailLevel
High detail.
HNSW - Enum constant in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
 
HNSWParam() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam
 
HNSWParam(MetricType, Integer, Integer) - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam
 
HNSWParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam.HNSWParamBuilder
 
host(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
host(String) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
host(String) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
host(String) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore.Builder
 
HtmlToTextDocumentTransformer - Class in dev.langchain4j.data.document.transformer.jsoup
Extracts plain text from a given HTML document.
HtmlToTextDocumentTransformer() - Constructor for class dev.langchain4j.data.document.transformer.jsoup.HtmlToTextDocumentTransformer
Constructs an instance of HtmlToTextTransformer that extracts all text from a given Document containing HTML.
HtmlToTextDocumentTransformer(String) - Constructor for class dev.langchain4j.data.document.transformer.jsoup.HtmlToTextDocumentTransformer
Constructs an instance of HtmlToTextTransformer that extracts text from HTML elements matching the specified CSS selector.
HtmlToTextDocumentTransformer(String, Map<String, String>, boolean) - Constructor for class dev.langchain4j.data.document.transformer.jsoup.HtmlToTextDocumentTransformer
Constructs an instance of HtmlToTextTransformer that extracts text from HTML elements matching the specified CSS selector.
HuggingFaceChatModel - Class in dev.langchain4j.model.huggingface
 
HuggingFaceChatModel(HuggingFaceChatModel.Builder) - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceChatModel
 
HuggingFaceChatModel(String, String, Duration, Double, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceChatModel
 
HuggingFaceChatModel.Builder - Class in dev.langchain4j.model.huggingface
 
HuggingFaceChatModelBuilderFactory - Interface in dev.langchain4j.model.huggingface.spi
A factory for building HuggingFaceChatModel.Builder instances.
HuggingFaceClient - Interface in dev.langchain4j.model.huggingface.client
 
HuggingFaceClientFactory - Interface in dev.langchain4j.model.huggingface.spi
 
HuggingFaceClientFactory.Input - Interface in dev.langchain4j.model.huggingface.spi
 
HuggingFaceEmbeddingModel - Class in dev.langchain4j.model.huggingface
 
HuggingFaceEmbeddingModel(String, String, Boolean, Duration) - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceEmbeddingModel
 
HuggingFaceEmbeddingModel.HuggingFaceEmbeddingModelBuilder - Class in dev.langchain4j.model.huggingface
 
HuggingFaceEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceEmbeddingModel.HuggingFaceEmbeddingModelBuilder
 
HuggingFaceEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.huggingface.spi
HuggingFaceLanguageModel - Class in dev.langchain4j.model.huggingface
 
HuggingFaceLanguageModel(HuggingFaceLanguageModel.Builder) - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel
 
HuggingFaceLanguageModel(String, String, Duration, Double, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel
 
HuggingFaceLanguageModel.Builder - Class in dev.langchain4j.model.huggingface
 
HuggingFaceLanguageModelBuilderFactory - Interface in dev.langchain4j.model.huggingface.spi
A factory for building HuggingFaceLanguageModel.Builder instances.
HuggingFaceModelName - Class in dev.langchain4j.model.huggingface
 
HUMAN_PROMPT - Static variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
humanPrompt - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
HYBRID - Enum constant in enum class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchQueryType
Uses the hybrid search (vector + full text) to find the most similar TextSegments.
HYBRID_WITH_RERANKING - Enum constant in enum class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchQueryType
Uses the hybrid search (vector + full text) to find the most similar TextSegments, and uses the semantic re-ranker algorithm to rank the results.

I

id - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicContent
 
id - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
id - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
id - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent
 
id() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
Returns the id of the tool.
id() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
Returns the id of the tool.
id() - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory
 
id() - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory
 
id() - Method in interface dev.langchain4j.memory.ChatMemory
The ID of the ChatMemory.
id() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse
 
id() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationResponse
Returns the value of the id record component.
id() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
id() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Returns the value of the id record component.
id(Object) - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory.Builder
 
id(Object) - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory.Builder
 
id(String) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
Sets the id.
id(String) - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
 
id(String) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse.Builder
 
id(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse.ChatCompletionResponseBuilder
 
id(String) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall.ToolCallBuilder
 
id(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument.Builder
 
idColumn() - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable
Returns the name of this table's ID column.
idColumn(String) - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable.Builder
Configures the name of a column which stores an id.
idFieldName(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
idToRetriever - Variable in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
ignoreErrors() - Method in interface dev.langchain4j.model.qianfan.client.AsyncResponseHandling
 
ignoreErrors() - Method in interface dev.langchain4j.model.qianfan.client.StreamingCompletionHandling
 
ignoreErrors() - Method in class dev.langchain4j.service.AiServiceTokenStream
 
ignoreErrors() - Method in interface dev.langchain4j.service.TokenStream
All errors during streaming will be ignored (but will be logged with a WARN log level).
illegalArgument(String, Object...) - Static method in class dev.langchain4j.internal.Exceptions
Constructs an IllegalArgumentException with the given formatted result.
illegalConfiguration(String) - Static method in exception class dev.langchain4j.exception.IllegalConfigurationException
 
illegalConfiguration(String, Object...) - Static method in exception class dev.langchain4j.exception.IllegalConfigurationException
 
IllegalConfigurationException - Exception Class in dev.langchain4j.exception
 
IllegalConfigurationException(String) - Constructor for exception class dev.langchain4j.exception.IllegalConfigurationException
 
image() - Method in class dev.langchain4j.data.message.ImageContent
Get the Image.
Image - Class in dev.langchain4j.data.image
Represents an image as a URL or as a Base64-encoded string.
Image - Class in dev.langchain4j.model.zhipu.chat
 
Image(String) - Constructor for class dev.langchain4j.model.zhipu.chat.Image
 
IMAGE - Enum constant in enum class dev.langchain4j.data.message.ContentType
Image content.
Image.Builder - Class in dev.langchain4j.data.image
Builder for Image.
Image.ImageBuilder - Class in dev.langchain4j.model.zhipu.chat
 
ImageBuilder() - Constructor for class dev.langchain4j.model.zhipu.chat.Image.ImageBuilder
 
ImageContent - Class in dev.langchain4j.data.message
Represents an image with a DetailLevel.
ImageContent - Class in dev.langchain4j.model.zhipu.chat
 
ImageContent(Image) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given image.
ImageContent(Image, ImageContent.DetailLevel) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given image.
ImageContent(String) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url.
ImageContent(String, ImageContent.DetailLevel) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url and detail level.
ImageContent(String, Image) - Constructor for class dev.langchain4j.model.zhipu.chat.ImageContent
 
ImageContent(String, String) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given base64 data and mime type.
ImageContent(String, String, ImageContent.DetailLevel) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given base64 data and mime type.
ImageContent(URI) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url.
ImageContent(URI, ImageContent.DetailLevel) - Constructor for class dev.langchain4j.data.message.ImageContent
Create a new ImageContent from the given url and detail level.
ImageContent.DetailLevel - Enum Class in dev.langchain4j.data.message
The detail level of an Image.
ImageContent.ImageContentBuilder - Class in dev.langchain4j.model.zhipu.chat
 
ImageContentBuilder() - Constructor for class dev.langchain4j.model.zhipu.chat.ImageContent.ImageContentBuilder
 
ImageGenerationResult() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiImageGenerationResponse.ImageGenerationResult
Default constructor.
imageLink() - Method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine.ImageSearchResult
 
ImageModel - Interface in dev.langchain4j.model.image
Text to Image generator model.
ImageModelName - Enum Class in dev.langchain4j.model.zhipu.image
 
ImageRequest - Class in dev.langchain4j.model.zhipu.image
 
ImageRequest(String, String, String) - Constructor for class dev.langchain4j.model.zhipu.image.ImageRequest
 
ImageRequest.ImageRequestBuilder - Class in dev.langchain4j.model.zhipu.image
 
ImageResponse - Class in dev.langchain4j.model.zhipu.image
 
ImageResponse() - Constructor for class dev.langchain4j.model.zhipu.image.ImageResponse
 
imagesGeneration(ImageRequest) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient
 
imageUrl(Image) - Method in class dev.langchain4j.model.zhipu.chat.ImageContent.ImageContentBuilder
 
includeCodeExecutionOutput - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
includeCodeExecutionOutput - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
index - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicStreamingData
 
index - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbedding
 
index - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingResult
 
index - Variable in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam
Whether to create a index or not.
index - Variable in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.SpacePropertyParamBuilder
 
index() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData
 
index(SearchIndex) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
If using a custom index, sets the index to be used.
index(SearchIndex) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
If using a custom index, sets the index to be used.
index(VectorIndexExtractor<DocumentChunk, Vector<?>>) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore.Builder
Set the vector index to add to the underlying NamedMap.
index(Boolean) - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.SpacePropertyParamBuilder
 
index(Integer) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData.Builder
 
index(Integer) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice.ChatCompletionChoiceBuilder
 
index(Integer) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall.ToolCallBuilder
 
index(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
 
indexes() - Method in interface dev.langchain4j.store.embedding.pgvector.MetadataStorageConfig
Metadata Indexes, list of fields to use as index.
indexMapping(IndexMapping) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
set MongoDB search index fields mapping
IndexMapping - Class in dev.langchain4j.store.embedding.mongodb
 
IndexMapping(int, Set<String>) - Constructor for class dev.langchain4j.store.embedding.mongodb.IndexMapping
 
IndexMapping.Builder - Class in dev.langchain4j.store.embedding.mongodb
 
indexName(String) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
If no index is provided, set the name of the default index to be used.
indexName(String) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
indexName(String) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
If no index is provided, set the name of the default index to be used.
indexName(String) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
 
indexName(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
 
indexName(String) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
indexName(String) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
indexSize(Long) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine.Builder
 
indexType() - Method in interface dev.langchain4j.store.embedding.pgvector.MetadataStorageConfig
Index Type: BTREE (default) GIN ...
indexType(IndexType) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
infinispanConfigBuilder(ConfigurationBuilder) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan Configuration Builder
InfinispanEmbeddingStore - Class in dev.langchain4j.store.embedding.infinispan
Infinispan Embedding Store
InfinispanEmbeddingStore(ConfigurationBuilder, InfinispanStoreConfiguration) - Constructor for class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
Creates an instance of InfinispanEmbeddingStore
InfinispanEmbeddingStore(RemoteCacheManager, InfinispanStoreConfiguration) - Constructor for class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
Creates an Infinispan embedding store from a RemoteCacheManager Assumes marshalling configuration is already provided by the RemoteCacheManager instance.
InfinispanEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.infinispan
 
InfinispanStoreConfiguration - Record Class in dev.langchain4j.store.embedding.infinispan
Holds configuration for the store
InfinispanStoreConfiguration(String, Integer, Integer, String, String, String, String, String, String, boolean, boolean) - Constructor for record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Creates the configuration and sets default values
ingest(Document) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor
Ingests a specified document into an EmbeddingStore that was specified during the creation of this EmbeddingStoreIngestor.
ingest(Document...) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor
Ingests specified documents into an EmbeddingStore that was specified during the creation of this EmbeddingStoreIngestor.
ingest(Document, EmbeddingStore<TextSegment>) - Static method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor
Ingests a specified Document into a specified EmbeddingStore.
ingest(List<Document>) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor
Ingests specified documents into an EmbeddingStore that was specified during the creation of this EmbeddingStoreIngestor.
ingest(List<Document>, EmbeddingStore<TextSegment>) - Static method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor
Ingests specified Documents into a specified EmbeddingStore.
IngestionResult - Class in dev.langchain4j.store.embedding
Represents the result of a EmbeddingStoreIngestor ingestion process.
IngestionResult(TokenUsage) - Constructor for class dev.langchain4j.store.embedding.IngestionResult
 
init() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
init() - Method in class dev.langchain4j.store.memory.chat.tablestore.TablestoreChatMemoryStore
 
initialize(String, AzureKeyCredential, TokenCredential, boolean, int, SearchIndex, String, AzureAiSearchFilterMapper) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
initTable(Boolean, Boolean, Boolean, Integer, Integer) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Initialize metadata table following configuration
inject(List<Content>, ChatMessage) - Method in interface dev.langchain4j.rag.content.injector.ContentInjector
Injects given Contents into a given ChatMessage.
inject(List<Content>, ChatMessage) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
 
inject(List<Content>, UserMessage) - Method in interface dev.langchain4j.rag.content.injector.ContentInjector
Deprecated.
inject(List<Content>, UserMessage) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector
InMemoryChatMemoryStore - Class in dev.langchain4j.store.memory.chat
Implementation of ChatMemoryStore that stores state of ChatMemory (chat messages) in-memory.
InMemoryChatMemoryStore() - Constructor for class dev.langchain4j.store.memory.chat.InMemoryChatMemoryStore
Constructs a new InMemoryChatMemoryStore.
InMemoryEmbeddingStore<Embedded> - Class in dev.langchain4j.store.embedding.inmemory
An EmbeddingStore that stores embeddings in memory.
InMemoryEmbeddingStore() - Constructor for class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
InMemoryEmbeddingStoreJsonCodec - Interface in dev.langchain4j.store.embedding.inmemory
 
InMemoryEmbeddingStoreJsonCodecFactory - Interface in dev.langchain4j.spi.store.embedding.inmemory
 
INNER_PRODUCT - Enum constant in enum class dev.langchain4j.store.embedding.vearch.MetricType
Inner Product
innerAdd(String, Embedding, TextSegment) - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
innerDelete(String) - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
input - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicContent
 
input - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent
 
input - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbeddingRequest
 
input() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationRequest
Returns the value of the input record component.
input() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest
 
input(String) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest.EmbeddingRequestBuilder
 
input(String...) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest.Builder
 
input(List<String>) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest.Builder
 
inputs(String) - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest.Builder
 
inputSchema - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicTool
 
inputStream() - Method in interface dev.langchain4j.data.document.DocumentSource
Provides an InputStream to read the content of the document.
inputStream() - Method in class dev.langchain4j.data.document.source.amazon.s3.AmazonS3Source
 
inputStream() - Method in class dev.langchain4j.data.document.source.azure.storage.blob.AzureBlobStorageSource
 
inputStream() - Method in class dev.langchain4j.data.document.source.FileSystemSource
 
inputStream() - Method in class dev.langchain4j.data.document.source.gcs.GcsSource
 
inputStream() - Method in class dev.langchain4j.data.document.source.github.GitHubSource
 
inputStream() - Method in class dev.langchain4j.data.document.source.tencent.cos.TencentCosSource
 
inputStream() - Method in class dev.langchain4j.data.document.source.UrlSource
 
inputTokenCount() - Method in class dev.langchain4j.model.output.TokenUsage
Returns the input token count, or null if unknown.
inputTokens - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicUsage
 
inputType(String) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
Type of the input text.
INTEGER - Enum constant in enum class dev.langchain4j.store.embedding.vearch.SpacePropertyType
 
INTEGER - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonIntegerSchema() instead
IntegerParam() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.IntegerParam
 
IntegerParam(Boolean) - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.IntegerParam
 
IntegerParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.IntegerParam.IntegerParamBuilder
 
intercept(Interceptor.Chain) - Method in class dev.langchain4j.model.qianfan.client.AuthorizationHeaderInjector
 
intercept(Interceptor.Chain) - Method in class dev.langchain4j.model.qianfan.client.RequestLoggingInterceptor
 
intercept(Interceptor.Chain) - Method in class dev.langchain4j.model.qianfan.client.ResponseLoggingInterceptor
 
intercept(Interceptor.Chain) - Method in class dev.langchain4j.model.workersai.client.WorkersAiClient.AuthInterceptor
Intercepts an outgoing HTTP request, adding an authorization header.
InternalOpenAiHelper - Class in dev.langchain4j.model.openai
 
InternalOpenAiHelper() - Constructor for class dev.langchain4j.model.openai.InternalOpenAiHelper
 
InternalQianfanHelper - Class in dev.langchain4j.model.qianfan
 
InternalQianfanHelper() - Constructor for class dev.langchain4j.model.qianfan.InternalQianfanHelper
 
invoke(String) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockEmbeddingModel
Invoke model
invoke(InvokeModelRequest, ChatModelRequestContext) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockChatModel
Invoke call to the API
isBetween(double, double) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isBetween(float, float) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isBetween(int, int) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isBetween(long, long) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isBetween(String, String) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isBlank(CharSequence) - Static method in class dev.langchain4j.model.dashscope.QwenTokenizer
 
isCollectionEmpty(Collection<?>) - Static method in class dev.langchain4j.internal.Utils
Deprecated, for removal: This API element is subject to removal in a future version.
isEnd(Boolean) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
isEqualTo(double) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isEqualTo(float) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isEqualTo(int) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isEqualTo(long) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isEqualTo(String) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isEqualTo(UUID) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsEqualTo - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsEqualTo(String, Object) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
isError - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolResultContent
 
isGreaterThan(double) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThan(float) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThan(int) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThan(long) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThan(String) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsGreaterThan - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsGreaterThan(String, Comparable<?>) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
isGreaterThanOrEqualTo(double) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThanOrEqualTo(float) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThanOrEqualTo(int) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThanOrEqualTo(long) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isGreaterThanOrEqualTo(String) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsGreaterThanOrEqualTo - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsGreaterThanOrEqualTo(String, Comparable<?>) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
isIn(double...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isIn(float...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isIn(int...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isIn(long...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isIn(String...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isIn(Collection<?>) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isIn(UUID...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsIn - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsIn(String, Collection<?>) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsIn
 
isJsonArray(Class<?>) - Static method in class dev.langchain4j.internal.TypeUtils
 
isJsonBoolean(Class<?>) - Static method in class dev.langchain4j.internal.TypeUtils
 
isJsonInteger(Class<?>) - Static method in class dev.langchain4j.internal.TypeUtils
 
isJsonNumber(Class<?>) - Static method in class dev.langchain4j.internal.TypeUtils
 
isJsonString(Class<?>) - Static method in class dev.langchain4j.internal.TypeUtils
 
isLessThan(double) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThan(float) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThan(int) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThan(long) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThan(String) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsLessThan - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsLessThan(String, Comparable<?>) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
isLessThanOrEqualTo(double) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThanOrEqualTo(float) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThanOrEqualTo(int) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThanOrEqualTo(long) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isLessThanOrEqualTo(String) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsLessThanOrEqualTo - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsLessThanOrEqualTo(String, Comparable<?>) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
isNotEqualTo(double) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotEqualTo(float) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotEqualTo(int) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotEqualTo(long) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotEqualTo(String) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotEqualTo(UUID) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsNotEqualTo - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsNotEqualTo(String, Object) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
isNotIn(double...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotIn(float...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotIn(int...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotIn(long...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotIn(String...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotIn(Collection<?>) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
isNotIn(UUID...) - Method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
IsNotIn - Class in dev.langchain4j.store.embedding.filter.comparison
 
IsNotIn(String, Collection<?>) - Constructor for class dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
isNotNullOrBlank(String) - Static method in class dev.langchain4j.internal.Utils
Is the given string not null and not blank?
isNotNullOrEmpty(String) - Static method in class dev.langchain4j.internal.Utils
Is the given string not null and not empty ("")?
isNullOrBlank(String) - Static method in class dev.langchain4j.internal.Utils
Is the given string null or blank?
isNullOrEmpty(Iterable<?>) - Static method in class dev.langchain4j.internal.Utils
Is the iterable object null or empty?
isNullOrEmpty(String) - Static method in class dev.langchain4j.internal.Utils
Is the given string null or empty ("")?
isNullOrEmpty(Collection<?>) - Static method in class dev.langchain4j.internal.Utils
Is the collection null or empty?
isNullOrEmpty(Map<?, ?>) - Static method in class dev.langchain4j.internal.Utils
Is the map object null or empty?
Isometric - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
isSelect(String) - Method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
IsTextMatch - Class in dev.langchain4j.store.embedding.tablestore
 
IsTextMatch(String, String) - Constructor for class dev.langchain4j.store.embedding.tablestore.IsTextMatch
 
IsTextMatchPhrase - Class in dev.langchain4j.store.embedding.tablestore
 
IsTextMatchPhrase(String, String) - Constructor for class dev.langchain4j.store.embedding.tablestore.IsTextMatchPhrase
 
isTruncated(Boolean) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
items() - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema
 
items(JsonSchemaProperty) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonArraySchema instead
items(JsonSchemaElement) - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema.Builder
 
IVFFLAT - Enum constant in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
 
IVFFLATParam() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam
 
IVFFLATParam(MetricType, Integer) - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam
 
IVFFLATParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam.IVFFLATParamBuilder
 
IVFPQ - Enum constant in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
 
IVFPQParam() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam
 
IVFPQParam(MetricType, Integer, Integer) - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam
 
IVFPQParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam.IVFPQParamBuilder
 

J

J2MidV2 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel.Types
 
J2UltraV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel.Types
 
JacocoIgnoreCoverageGenerated - Annotation Interface in dev.langchain4j.internal
Annotation to mark methods where JaCoCo coverage should be ignored.
JinaApi - Interface in dev.langchain4j.model.jina.internal.api
 
JinaClient - Class in dev.langchain4j.model.jina.internal.client
 
JinaDocument - Class in dev.langchain4j.model.jina.internal.api
 
JinaDocument() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaDocument
 
JinaEmbedding - Class in dev.langchain4j.model.jina.internal.api
 
JinaEmbedding() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaEmbedding
 
JinaEmbeddingModel - Class in dev.langchain4j.model.jina
An implementation of an EmbeddingModel that uses Jina Embeddings API.
JinaEmbeddingModel(String, String, String, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.jina.JinaEmbeddingModel
 
JinaEmbeddingRequest - Class in dev.langchain4j.model.jina.internal.api
 
JinaEmbeddingRequest() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaEmbeddingRequest
 
JinaEmbeddingResponse - Class in dev.langchain4j.model.jina.internal.api
 
JinaEmbeddingResponse() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaEmbeddingResponse
 
JinaRerankingRequest - Class in dev.langchain4j.model.jina.internal.api
 
JinaRerankingRequest() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaRerankingRequest
 
JinaRerankingResponse - Class in dev.langchain4j.model.jina.internal.api
 
JinaRerankingResponse() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaRerankingResponse
 
JinaRerankingResult - Class in dev.langchain4j.model.jina.internal.api
 
JinaRerankingResult() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaRerankingResult
 
JinaScoringModel - Class in dev.langchain4j.model.jina
An implementation of a ScoringModel that uses Jina Reranker API.
JinaScoringModel(String, String, String, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.jina.JinaScoringModel
 
JinaUsage - Class in dev.langchain4j.model.jina.internal.api
 
JinaUsage() - Constructor for class dev.langchain4j.model.jina.internal.api.JinaUsage
 
jitterDelayMillis(int) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy
This method returns the jitter delay in milliseconds for a given attempt.
jitterScale(double) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy.Builder
Sets the jitter scale.
JlamaChatModel - Class in dev.langchain4j.model.jlama
 
JlamaChatModel(Path, String, String, Integer, Boolean, Path, DType, Float, Integer) - Constructor for class dev.langchain4j.model.jlama.JlamaChatModel
 
JlamaChatModel.JlamaChatModelBuilder - Class in dev.langchain4j.model.jlama
 
JlamaChatModelBuilder() - Constructor for class dev.langchain4j.model.jlama.JlamaChatModel.JlamaChatModelBuilder
 
JlamaChatModelBuilderFactory - Interface in dev.langchain4j.model.jlama.spi
A factory for building JlamaChatModel.JlamaChatModelBuilder instances.
JlamaEmbeddingModel - Class in dev.langchain4j.model.jlama
 
JlamaEmbeddingModel(Path, String, String, Integer, Boolean, Generator.PoolingType, Path) - Constructor for class dev.langchain4j.model.jlama.JlamaEmbeddingModel
 
JlamaEmbeddingModel.JlamaEmbeddingModelBuilder - Class in dev.langchain4j.model.jlama
 
JlamaEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.jlama.JlamaEmbeddingModel.JlamaEmbeddingModelBuilder
 
JlamaEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.jlama.spi
A factory for building JlamaEmbeddingModel.JlamaEmbeddingModelBuilder instances.
JlamaLanguageModel - Class in dev.langchain4j.model.jlama
 
JlamaLanguageModel(Path, String, String, Integer, Boolean, Path, DType, Float, Integer) - Constructor for class dev.langchain4j.model.jlama.JlamaLanguageModel
 
JlamaLanguageModel.JlamaLanguageModelBuilder - Class in dev.langchain4j.model.jlama
 
JlamaLanguageModelBuilder() - Constructor for class dev.langchain4j.model.jlama.JlamaLanguageModel.JlamaLanguageModelBuilder
 
JlamaLanguageModelBuilderFactory - Interface in dev.langchain4j.model.jlama.spi
A factory for building JlamaLanguageModel.JlamaLanguageModelBuilder instances.
JlamaStreamingChatModel - Class in dev.langchain4j.model.jlama
 
JlamaStreamingChatModel(Path, String, String, Integer, Boolean, Path, DType, Float, Integer) - Constructor for class dev.langchain4j.model.jlama.JlamaStreamingChatModel
 
JlamaStreamingChatModel.JlamaStreamingChatModelBuilder - Class in dev.langchain4j.model.jlama
 
JlamaStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.jlama.JlamaStreamingChatModel.JlamaStreamingChatModelBuilder
 
JlamaStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.jlama.spi
JlamaStreamingLanguageModel - Class in dev.langchain4j.model.jlama
 
JlamaStreamingLanguageModel(Path, String, String, Integer, Boolean, Path, DType, Float, Integer) - Constructor for class dev.langchain4j.model.jlama.JlamaStreamingLanguageModel
 
JlamaStreamingLanguageModel.JlamaStreamingLanguageModelBuilder - Class in dev.langchain4j.model.jlama
 
JlamaStreamingLanguageModelBuilder() - Constructor for class dev.langchain4j.model.jlama.JlamaStreamingLanguageModel.JlamaStreamingLanguageModelBuilder
 
JlamaStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.jlama.spi
join(StructuredPrompt) - Static method in class dev.langchain4j.model.input.structured.StructuredPrompt.Util
Joins the lines of the prompt template.
joinDelimiter() - Method in class dev.langchain4j.data.document.splitter.DocumentByCharacterSplitter
 
joinDelimiter() - Method in class dev.langchain4j.data.document.splitter.DocumentByLineSplitter
 
joinDelimiter() - Method in class dev.langchain4j.data.document.splitter.DocumentByParagraphSplitter
 
joinDelimiter() - Method in class dev.langchain4j.data.document.splitter.DocumentByRegexSplitter
 
joinDelimiter() - Method in class dev.langchain4j.data.document.splitter.DocumentBySentenceSplitter
 
joinDelimiter() - Method in class dev.langchain4j.data.document.splitter.DocumentByWordSplitter
 
joinDelimiter() - Method in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
Delimiter string to use to re-join the parts.
JPEG - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.MimeType
 
Json - Class in dev.langchain4j.internal
Deprecated.
Do not use Json from third-party modules. If you need to serialize/deserialize JSON in third-party modules, use Jackson's ObjectMapper. Json can be used only by langchain4j-core and langchain4j modules.
Json - Class in dev.langchain4j.model.bedrock.internal
 
Json - Class in dev.langchain4j.model.qianfan.client
 
Json() - Constructor for class dev.langchain4j.model.bedrock.internal.Json
 
JSON - Enum constant in enum class dev.langchain4j.model.chat.request.ResponseFormatType
 
JSON - Static variable in class dev.langchain4j.model.chat.request.ResponseFormat
 
JSON_OBJECT - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiResponseFormatType
 
Json.JsonCodec - Interface in dev.langchain4j.internal
Deprecated.
The abstract JSON codec interface.
JsonArraySchema - Class in dev.langchain4j.model.chat.request.json
 
JsonArraySchema(JsonArraySchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonArraySchema
 
JsonArraySchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
JsonBooleanSchema - Class in dev.langchain4j.model.chat.request.json
 
JsonBooleanSchema() - Constructor for class dev.langchain4j.model.chat.request.json.JsonBooleanSchema
 
JsonBooleanSchema(JsonBooleanSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonBooleanSchema
 
JsonBooleanSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
JsonCodecFactory - Interface in dev.langchain4j.spi.json
A factory for creating Json.JsonCodec instances through SPI.
JsonEnumSchema - Class in dev.langchain4j.model.chat.request.json
 
JsonEnumSchema(JsonEnumSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonEnumSchema
 
JsonEnumSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
JsonIntegerSchema - Class in dev.langchain4j.model.chat.request.json
 
JsonIntegerSchema() - Constructor for class dev.langchain4j.model.chat.request.json.JsonIntegerSchema
 
JsonIntegerSchema(JsonIntegerSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonIntegerSchema
 
JsonIntegerSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
JsonNumberSchema - Class in dev.langchain4j.model.chat.request.json
 
JsonNumberSchema() - Constructor for class dev.langchain4j.model.chat.request.json.JsonNumberSchema
 
JsonNumberSchema(JsonNumberSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonNumberSchema
 
JsonNumberSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
jsonObjectOrReferenceSchemaFrom(Class<?>, String, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata>, boolean) - Static method in class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
 
JsonObjectSchema - Class in dev.langchain4j.model.chat.request.json
 
JsonObjectSchema(JsonObjectSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
JsonObjectSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
JsonReferenceSchema - Class in dev.langchain4j.model.chat.request.json
Can reference JsonObjectSchema when recursion is required.
JsonReferenceSchema(JsonReferenceSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonReferenceSchema
 
JsonReferenceSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
jsonSchema() - Method in class dev.langchain4j.model.chat.request.ResponseFormat
 
jsonSchema(JsonSchema) - Method in class dev.langchain4j.model.chat.request.ResponseFormat.Builder
 
JsonSchema - Class in dev.langchain4j.model.chat.request.json
 
JsonSchema(JsonSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonSchema
 
JsonSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
jsonSchemaElement - Variable in class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper.VisitedClassMetadata
 
JsonSchemaElement - Interface in dev.langchain4j.model.chat.request.json
A base interface for a JSON schema element.
jsonSchemaElementFrom(Class<?>, Type, String, Map<Class<?>, JsonSchemaElementHelper.VisitedClassMetadata>) - Static method in class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
 
JsonSchemaElementHelper - Class in dev.langchain4j.model.chat.request.json
 
JsonSchemaElementHelper() - Constructor for class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
 
JsonSchemaElementHelper.VisitedClassMetadata - Class in dev.langchain4j.model.chat.request.json
 
jsonSchemaFrom(Type) - Static method in class dev.langchain4j.service.output.JsonSchemas
 
JsonSchemaProperty - Class in dev.langchain4j.agent.tool
Deprecated, for removal: This API element is subject to removal in a future version.
please use the new JsonSchemaElement API instead to define the schema for tool parameters
JsonSchemaProperty - Class in dev.langchain4j.model.qianfan.client.chat
 
JsonSchemaProperty(String, Object) - Constructor for class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use the new JsonSchemaElement API instead to define the schema for tool parameters
JsonSchemaProperty(String, Object) - Constructor for class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
JsonSchemas - Class in dev.langchain4j.service.output
 
JsonSchemas() - Constructor for class dev.langchain4j.service.output.JsonSchemas
 
JsonStringSchema - Class in dev.langchain4j.model.chat.request.json
 
JsonStringSchema() - Constructor for class dev.langchain4j.model.chat.request.json.JsonStringSchema
 
JsonStringSchema(JsonStringSchema.Builder) - Constructor for class dev.langchain4j.model.chat.request.json.JsonStringSchema
 
JsonStringSchema.Builder - Class in dev.langchain4j.model.chat.request.json
 
Judge0JavaScriptExecutionTool - Class in dev.langchain4j.code.judge0
A tool that executes JS code using the Judge0 service, hosted by Rapid API.
Judge0JavaScriptExecutionTool(String) - Constructor for class dev.langchain4j.code.judge0.Judge0JavaScriptExecutionTool
Constructs a new instance with the provided Rapid API key.
Judge0JavaScriptExecutionTool(String, boolean, Duration) - Constructor for class dev.langchain4j.code.judge0.Judge0JavaScriptExecutionTool
Constructs a new instance with the provided Rapid API key, a flag to control whether to fix the code, and a timeout.

K

key() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated.
Get the key.
key() - Method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsIn
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
key() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
key() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatch
 
key() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatchPhrase
 
KEY_ATTRIBUTES_BLOB - Static variable in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Saving the text chunk as an attribut.
KEY_SIMILARITY - Static variable in class dev.langchain4j.store.embedding.astradb.AstraDbEmbeddingStore
Metadata used for similarity.
keyspace - Variable in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
keyspace - Variable in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
keyspace(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
keyspace(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
keyspace(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
keyspace(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
kind(String) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
knowledgeId(String) - Method in class dev.langchain4j.model.zhipu.chat.Retrieval.RetrievalBuilder
 
knownDimension() - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
knownDimension() - Method in class dev.langchain4j.model.embedding.DimensionAwareEmbeddingModel
When known (e.g., can be derived from the model name), returns the dimension of the Embedding produced by this embedding model.
knownDimension() - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel
 
knownDimension() - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
 
knownDimension() - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel
 
knownDimension() - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel
 
knownDimension(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
knownDimension(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
 
knownDimension(String) - Static method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
knownDimension(String) - Static method in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 

L

label() - Method in record class dev.langchain4j.classification.ScoredLabel
Returns the value of the label record component.
LambdaStreamingResponseHandler<T> - Class in dev.langchain4j.model
Utility class with lambda-based streaming response handlers.
LambdaStreamingResponseHandler() - Constructor for class dev.langchain4j.model.LambdaStreamingResponseHandler
 
LANDSCAPE - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
 
LANDSCAPE - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 
LangChainInfinispanItem - Record Class in dev.langchain4j.store.embedding.infinispan
Langchain item that is serialized for the langchain integration use case
LangChainInfinispanItem(String, float[], String, Set<LangChainMetadata>) - Constructor for record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Creates an instance of a LangChainInfinispanItem record class.
langchainItemFullType() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Get the full name of the langchainItem protobuf type
LangChainItemMarshaller - Class in dev.langchain4j.store.embedding.infinispan
Marshaller to read and write embeddings to Infinispan
LangChainItemMarshaller(String) - Constructor for class dev.langchain4j.store.embedding.infinispan.LangChainItemMarshaller
Constructor for the LangChainItemMarshaller Marshaller
langchainItemName() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the langchainItemName record component.
langchainItemName(String) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan schema langchainItemName
LangChainMetadata - Record Class in dev.langchain4j.store.embedding.infinispan
Langchain Metadata item that is serialized for the langchain integration use case
LangChainMetadata(String, String) - Constructor for record class dev.langchain4j.store.embedding.infinispan.LangChainMetadata
Creates an instance of a LangChainMetadata record class.
LangChainMetadataMarshaller - Class in dev.langchain4j.store.embedding.infinispan
Marshaller to read and write metadata to Infinispan
LangChainMetadataMarshaller(String) - Constructor for class dev.langchain4j.store.embedding.infinispan.LangChainMetadataMarshaller
Constructor for the LangChainMetadata Marshaller
LangchainSchemaCreator - Class in dev.langchain4j.store.embedding.infinispan
LangchainSchemaCreator for Infinispan
LangchainSchemaCreator() - Constructor for class dev.langchain4j.store.embedding.infinispan.LangchainSchemaCreator
 
language() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the desired language for search results.
language(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
language(String) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the desired language for search results.
LanguageModel - Interface in dev.langchain4j.model.language
Represents a language model that has a simple text interface (as opposed to a chat interface).
LanguageModelQueryRouter - Class in dev.langchain4j.rag.query.router
A QueryRouter that utilizes a ChatLanguageModel to make a routing decision.
LanguageModelQueryRouter(ChatLanguageModel, Map<ContentRetriever, String>) - Constructor for class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
LanguageModelQueryRouter(ChatLanguageModel, Map<ContentRetriever, String>, PromptTemplate, LanguageModelQueryRouter.FallbackStrategy) - Constructor for class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
LanguageModelQueryRouter.FallbackStrategy - Enum Class in dev.langchain4j.rag.query.router
Strategy applied if the call to the LLM fails of if LLM does not return a valid response.
LanguageModelQueryRouter.LanguageModelQueryRouterBuilder - Class in dev.langchain4j.rag.query.router
 
LanguageModelSqlFilterBuilder - Class in dev.langchain4j.store.embedding.filter.builder.sql
Given a natural language Query, this class creates a suitable Filter using a language model.
LanguageModelSqlFilterBuilder(ChatLanguageModel, TableDefinition) - Constructor for class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
left() - Method in class dev.langchain4j.store.embedding.filter.logical.And
 
left() - Method in class dev.langchain4j.store.embedding.filter.logical.Or
 
LENGTH - Enum constant in enum class dev.langchain4j.model.output.FinishReason
The call finished because the token length was reached.
license(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
LineArt - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
listenerErrorResponse(Throwable, ChatModelRequest, Map<Object, Object>) - Method in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
listeners - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
listeners - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
listeners - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
listModels() - Method in class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient
 
listModels() - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient
 
ListSpaceResponse - Class in dev.langchain4j.store.embedding.vearch
 
LLAMA_2_13B_CHAT - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
LLAMA_2_13B_CHAT_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Llama 2 13B Chat AWQ is an efficient, accurate and blazing-fast low-bit weight quantized Llama 2 variant.
LLAMA_2_13B_CHAT_AWQ_DUPLICATE - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Quantized (int4) generative text model with 8 billion parameters from Meta.
LLAMA_2_70B_CHAT - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
LLAMA_2_7B_CHAT - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
LLAMA_2_7B_CHAT_HF_LORA - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
This is a Llama2 base model that Cloudflare dedicated for inference with LoRA adapters.
LLAMA_3_8B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Generation over generation, Meta Llama 3 demonstrates state-of-the-art performance on a wide range of industry benchmarks and offers new capabilities, including improved reasoning.
LLAMA2_7B_FULL - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Full precision (fp16) generative text model with 7 billion parameters from Met.
LLAMA2_7B_QUANTIZED - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Quantized (int8) generative text model with 7 billion parameters from Meta.
LLAMAGUARD_7B_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Llama Guard is a model for classifying the safety of LLM prompts and responses, using a taxonomy of safety risks.
load(DocumentSource, DocumentParser) - Static method in class dev.langchain4j.data.document.DocumentLoader
Loads a document from the given source using the given parser.
load(String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader
Loads a document from the specified URL.
load(String, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.UrlDocumentLoader
Loads a document from the specified URL.
load(URL, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.UrlDocumentLoader
Loads a document from the specified URL.
loadDocument(String) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads a Document from the specified file path.
loadDocument(String, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads a Document from the specified file path.
loadDocument(String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader
Loads a single document from the specified S3 bucket based on the specified object key.
loadDocument(String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.azure.storage.blob.AzureBlobStorageDocumentLoader
 
loadDocument(String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.gcs.GoogleCloudStorageDocumentLoader
Loads a single document from the specified Google Cloud Storage bucket based on the specified object key.
loadDocument(String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader
Loads a single document from the specified COS bucket based on the specified object key.
loadDocument(String, String, String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
loadDocument(Path) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads a Document from the specified file Path.
loadDocument(Path, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads a Document from the specified file Path.
loadDocuments(String) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads Documents from the specified directory.
loadDocuments(String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader
Loads all documents from an S3 bucket.
loadDocuments(String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.azure.storage.blob.AzureBlobStorageDocumentLoader
 
loadDocuments(String, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads Documents from the specified directory.
loadDocuments(String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.gcs.GoogleCloudStorageDocumentLoader
Loads all documents from an GCS bucket.
loadDocuments(String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader
Loads all documents from an COS bucket.
loadDocuments(String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader
Loads all documents from an S3 bucket.
loadDocuments(String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.gcs.GoogleCloudStorageDocumentLoader
Load a list of documents from the specified bucket, filtered with a glob pattern.
loadDocuments(String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader
Loads all documents from an COS bucket.
loadDocuments(String, String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
loadDocuments(String, String, String, String, DocumentParser) - Method in class dev.langchain4j.data.document.loader.github.GitHubDocumentLoader
 
loadDocuments(String, PathMatcher) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads matching Documents from the specified directory.
loadDocuments(String, PathMatcher, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads matching Documents from the specified directory.
loadDocuments(Path) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads Documents from the specified directory.
loadDocuments(Path, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads Documents from the specified directory.
loadDocuments(Path, PathMatcher) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads matching Documents from the specified directory.
loadDocuments(Path, PathMatcher, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Loads matching Documents from the specified directory.
loadDocumentsRecursively(String) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads Documents from the specified directory and its subdirectories.
loadDocumentsRecursively(String, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads Documents from the specified directory and its subdirectories.
loadDocumentsRecursively(String, PathMatcher) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads matching Documents from the specified directory and its subdirectories.
loadDocumentsRecursively(String, PathMatcher, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads matching Documents from the specified directory and its subdirectories.
loadDocumentsRecursively(Path) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads Documents from the specified directory and its subdirectories.
loadDocumentsRecursively(Path, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads Documents from the specified directory and its subdirectories.
loadDocumentsRecursively(Path, PathMatcher) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads matching Documents from the specified directory and its subdirectories.
loadDocumentsRecursively(Path, PathMatcher, DocumentParser) - Static method in class dev.langchain4j.data.document.loader.FileSystemDocumentLoader
Recursively loads matching Documents from the specified directory and its subdirectories.
loadFactories(Class<T>) - Static method in class dev.langchain4j.spi.ServiceHelper
Load all the services of a given type.
loadFactories(Class<T>, ClassLoader) - Static method in class dev.langchain4j.spi.ServiceHelper
Load all the services of a given type.
LocalAiChatModel - Class in dev.langchain4j.model.localai
See LocalAI documentation for more details.
LocalAiChatModel(String, String, Double, Double, Integer, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.localai.LocalAiChatModel
 
LocalAiChatModel.LocalAiChatModelBuilder - Class in dev.langchain4j.model.localai
 
LocalAiChatModelBuilder() - Constructor for class dev.langchain4j.model.localai.LocalAiChatModel.LocalAiChatModelBuilder
 
LocalAiChatModelBuilderFactory - Interface in dev.langchain4j.model.localai.spi
A factory for building LocalAiChatModel.LocalAiChatModelBuilder instances.
LocalAiEmbeddingModel - Class in dev.langchain4j.model.localai
See LocalAI documentation for more details.
LocalAiEmbeddingModel(String, String, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.localai.LocalAiEmbeddingModel
 
LocalAiEmbeddingModel.LocalAiEmbeddingModelBuilder - Class in dev.langchain4j.model.localai
 
LocalAiEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.localai.LocalAiEmbeddingModel.LocalAiEmbeddingModelBuilder
 
LocalAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.localai.spi
A factory for building LocalAiEmbeddingModel.LocalAiEmbeddingModelBuilder instances.
LocalAiLanguageModel - Class in dev.langchain4j.model.localai
See LocalAI documentation for more details.
LocalAiLanguageModel(String, String, Double, Double, Integer, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.localai.LocalAiLanguageModel
 
LocalAiLanguageModel.LocalAiLanguageModelBuilder - Class in dev.langchain4j.model.localai
 
LocalAiLanguageModelBuilder() - Constructor for class dev.langchain4j.model.localai.LocalAiLanguageModel.LocalAiLanguageModelBuilder
 
LocalAiLanguageModelBuilderFactory - Interface in dev.langchain4j.model.localai.spi
A factory for building LocalAiLanguageModel.LocalAiLanguageModelBuilder instances.
LocalAiStreamingChatModel - Class in dev.langchain4j.model.localai
See LocalAI documentation for more details.
LocalAiStreamingChatModel(String, String, Double, Double, Integer, Duration, Boolean, Boolean) - Constructor for class dev.langchain4j.model.localai.LocalAiStreamingChatModel
 
LocalAiStreamingChatModel.LocalAiStreamingChatModelBuilder - Class in dev.langchain4j.model.localai
 
LocalAiStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.localai.LocalAiStreamingChatModel.LocalAiStreamingChatModelBuilder
 
LocalAiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.localai.spi
LocalAiStreamingLanguageModel - Class in dev.langchain4j.model.localai
See LocalAI documentation for more details.
LocalAiStreamingLanguageModel(String, String, Double, Double, Integer, Duration, Boolean, Boolean) - Constructor for class dev.langchain4j.model.localai.LocalAiStreamingLanguageModel
 
LocalAiStreamingLanguageModel.LocalAiStreamingLanguageModelBuilder - Class in dev.langchain4j.model.localai
 
LocalAiStreamingLanguageModelBuilder() - Constructor for class dev.langchain4j.model.localai.LocalAiStreamingLanguageModel.LocalAiStreamingLanguageModelBuilder
 
LocalAiStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.localai.spi
localDataCenter(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
localDataCenter(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
location(String) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
location(String) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
location(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
location(String) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
location(String) - Method in class dev.langchain4j.model.vertexai.VertexAiScoringModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
logprobs(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
logprobs(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
logRequests - Variable in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
logRequests - Variable in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
logRequests - Variable in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
logRequests() - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
logRequests() - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
logRequests() - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
logRequests() - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
logRequests() - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
logRequests(boolean) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
logRequests(boolean) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
logRequests(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
logRequestsAndResponses(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
logRequestsAndResponses(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
logRequestsAndResponses(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
logRequestsAndResponses(Boolean) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
logResponses - Variable in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
logResponses - Variable in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
logResponses - Variable in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
logResponses() - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
logResponses() - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
logResponses() - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
logResponses() - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
logResponses() - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
logResponses(boolean) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
logResponses(boolean) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
logResponses(Boolean) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
logStreamingResponses() - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
logStreamingResponses(Boolean) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
LOW - Enum constant in enum class dev.langchain4j.data.message.ImageContent.DetailLevel
Low detail.
LowPoly - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 

M

m(Integer) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
M_MAP - Enum constant in enum class dev.langchain4j.store.embedding.vearch.SpaceStoreType
 
map(Filter) - Method in interface dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchFilterMapper
 
map(Filter) - Method in class dev.langchain4j.rag.content.retriever.azure.search.DefaultAzureAiSearchFilterMapper
 
mapFilterToQuery(Filter) - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
matches() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchResult
 
maxAttempts(int) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy.Builder
Sets the default maximum number of attempts.
maxLength(Integer) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
maxMessages(Integer) - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory.Builder
 
maxNewTokens(Integer) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
maxNewTokens(Integer) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
maxNewTokens(Integer) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
maxOutputTokens - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
maxOutputTokens - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
maxOutputTokens(Integer) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
maxOutputTokens(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
maxOutputTokens(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
maxOverlapSize - Variable in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
 
maxResultRatio(Long) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore.Builder
 
maxResults() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest
 
maxResults() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the maximum number of results.
maxResults(int) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the maximum number of Contents to retrieve.
maxResults(Integer) - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
 
maxResults(Integer) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
maxResults(Integer) - Method in class dev.langchain4j.rag.content.retriever.WebSearchContentRetriever.WebSearchContentRetrieverBuilder
 
maxResults(Integer) - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest.EmbeddingSearchRequestBuilder
 
maxResults(Integer) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the maximum number of results.
maxRetries - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
maxRetries - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
maxRetries - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
maxRetries(int) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
maxSegmentSize - Variable in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
 
maxSegmentsPerBatch(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
maxSegmentsPerBatch(Integer) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
 
maxTime(Double) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
maxToken(Integer) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
maxToken(Integer) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
maxTokens - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
maxTokens - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
maxTokens() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
maxTokens(Integer, Tokenizer) - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory.Builder
 
maxTokensPerBatch(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
mediaType - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicImageContentSource
 
MEMORY_ONLY - Enum constant in enum class dev.langchain4j.store.embedding.vearch.SpaceStoreType
 
MemoryId - Annotation Interface in dev.langchain4j.service
The value of a method parameter annotated with @MemoryId will be used to find the memory belonging to that user/conversation.
merge(InMemoryEmbeddingStore<Embedded>, InMemoryEmbeddingStore<Embedded>) - Static method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
Merges given InMemoryEmbeddingStores into a single InMemoryEmbeddingStore, copying all entries from each store.
merge(Collection<InMemoryEmbeddingStore<Embedded>>) - Static method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
Merges given InMemoryEmbeddingStores into a single InMemoryEmbeddingStore, copying all entries from each store.
message - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicStreamingData
 
message(AssistantMessage) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice.ChatCompletionChoiceBuilder
 
Message - Class in dev.langchain4j.model.qianfan.client.chat
 
Message - Interface in dev.langchain4j.model.zhipu.chat
 
Message() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest.Message
Default constructor.
MESSAGE_TYPE_ADAPTER_FACTORY - Static variable in class dev.langchain4j.model.qianfan.client.MessageTypeAdapter
 
Message.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
messageClass() - Method in enum class dev.langchain4j.data.message.ChatMessageType
Returns the class of the message type.
messageFromJson(String) - Static method in class dev.langchain4j.data.message.ChatMessageDeserializer
Deserializes a JSON string into a ChatMessage.
messageFromJson(String) - Method in interface dev.langchain4j.data.message.ChatMessageJsonCodec
Deserializes a JSON string to a ChatMessage object.
messageFromJson(String) - Method in class dev.langchain4j.data.message.GsonChatMessageJsonCodec
 
messages - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
messages() - Method in class dev.langchain4j.memory.chat.MessageWindowChatMemory
 
messages() - Method in class dev.langchain4j.memory.chat.TokenWindowChatMemory
 
messages() - Method in interface dev.langchain4j.memory.ChatMemory
Retrieves messages from the chat memory.
messages() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest
 
messages() - Method in class dev.langchain4j.model.chat.request.ChatRequest
 
messages() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
messages(ChatMessage...) - Method in class dev.langchain4j.model.chat.request.ChatRequest.Builder
 
messages(Message...) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
messages(Message...) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
messages(List<ChatMessage>) - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
 
messages(List<ChatMessage>) - Method in class dev.langchain4j.model.chat.request.ChatRequest.Builder
 
messages(List<Message>) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
messages(List<Message>) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
MessageSanitizer - Class in dev.langchain4j.model.anthropic.internal.sanitizer
Sanitizes the messages to conform to the format expected by the Anthropic API.
MessageSanitizer() - Constructor for class dev.langchain4j.model.anthropic.internal.sanitizer.MessageSanitizer
 
messagesFromJson(String) - Static method in class dev.langchain4j.data.message.ChatMessageDeserializer
Deserializes a JSON string into a list of ChatMessage.
messagesFromJson(String) - Method in interface dev.langchain4j.data.message.ChatMessageJsonCodec
Deserializes a JSON string to a list of ChatMessage objects.
messagesFromJson(String) - Method in class dev.langchain4j.data.message.GsonChatMessageJsonCodec
 
messagesToJson(List<ChatMessage>) - Method in interface dev.langchain4j.data.message.ChatMessageJsonCodec
Serializes a list of ChatMessage objects to a JSON string.
messagesToJson(List<ChatMessage>) - Static method in class dev.langchain4j.data.message.ChatMessageSerializer
Serializes a list of chat messages into a JSON string.
messagesToJson(List<ChatMessage>) - Method in class dev.langchain4j.data.message.GsonChatMessageJsonCodec
 
messageToJson(ChatMessage) - Method in interface dev.langchain4j.data.message.ChatMessageJsonCodec
Serializes a ChatMessage object to a JSON string.
messageToJson(ChatMessage) - Static method in class dev.langchain4j.data.message.ChatMessageSerializer
Serializes a chat message into a JSON string.
messageToJson(ChatMessage) - Method in class dev.langchain4j.data.message.GsonChatMessageJsonCodec
 
MessageTypeAdapter - Class in dev.langchain4j.model.qianfan.client
 
MessageWindowChatMemory - Class in dev.langchain4j.memory.chat
This chat memory operates as a sliding window of MessageWindowChatMemory.maxMessages messages.
MessageWindowChatMemory.Builder - Class in dev.langchain4j.memory.chat
 
META_LLAMA_3_1_405B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
META_LLAMA_3_1_70B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
META_LLAMA_3_1_8B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
META_LLAMA_3_70B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
META_LLAMA_3_8B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
META_LLAMA_3_8B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Quantized (int4) generative text model with 8 billion parameters from Meta.
META_LLAMA3_1_70B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
META_LLAMA3_1_8B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
META_LLAMA3_2_11B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
META_LLAMA3_2_1B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
META_LLAMA3_2_3B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
META_LLAMA3_2_90B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
META_LLAMA3_70B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
META_LLAMA3_8B_INSTRUCT_V1_0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
 
metadata() - Method in class dev.langchain4j.data.document.Document
Returns the metadata associated with this document.
metadata() - Method in interface dev.langchain4j.data.document.DocumentSource
Returns the metadata associated with the source of the document.
metadata() - Method in class dev.langchain4j.data.document.source.amazon.s3.AmazonS3Source
 
metadata() - Method in class dev.langchain4j.data.document.source.azure.storage.blob.AzureBlobStorageSource
 
metadata() - Method in class dev.langchain4j.data.document.source.FileSystemSource
 
metadata() - Method in class dev.langchain4j.data.document.source.gcs.GcsSource
 
metadata() - Method in class dev.langchain4j.data.document.source.github.GitHubSource
 
metadata() - Method in class dev.langchain4j.data.document.source.tencent.cos.TencentCosSource
 
metadata() - Method in class dev.langchain4j.data.document.source.UrlSource
 
metadata() - Method in class dev.langchain4j.data.segment.TextSegment
Returns the metadata.
metadata() - Method in class dev.langchain4j.model.output.Response
Get the response metadata.
metadata() - Method in class dev.langchain4j.rag.AugmentationRequest
 
metadata() - Method in class dev.langchain4j.rag.query.Query
 
metadata() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Returns the value of the metadata record component.
metadata() - Method in class dev.langchain4j.web.search.WebSearchInformationResult
Gets the metadata.
metadata() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
Returns the result metadata associated with the search result.
metadata(String) - Method in class dev.langchain4j.data.document.Document
Deprecated, for removal: This API element is subject to removal in a future version.
metadata(String) - Method in class dev.langchain4j.data.segment.TextSegment
Deprecated, for removal: This API element is subject to removal in a future version.
metadata(String, Object) - Static method in class dev.langchain4j.data.document.Metadata
Deprecated, for removal: This API element is subject to removal in a future version.
metadata(String, String) - Static method in class dev.langchain4j.data.document.Metadata
Constructs a Metadata object from a single key-value pair.
metadata(Map<String, String>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument.Builder
 
Metadata - Class in dev.langchain4j.data.document
Represents metadata of a Document or a TextSegment.
Metadata - Class in dev.langchain4j.rag.query
Represents metadata that may be useful or necessary for retrieval or augmentation purposes.
Metadata() - Constructor for class dev.langchain4j.data.document.Metadata
Construct a Metadata object with an empty map of key-value pairs.
Metadata() - Constructor for class dev.langchain4j.store.embedding.azure.search.Document.Metadata
 
Metadata(UserMessage, Object, List<ChatMessage>) - Constructor for class dev.langchain4j.rag.query.Metadata
 
Metadata(Map<String, ?>) - Constructor for class dev.langchain4j.data.document.Metadata
Constructs a Metadata object from a map of key-value pairs.
MetadataColumDefinition - Class in dev.langchain4j.store.embedding.pgvector
MetadataColumDefinition used to define column definition from sql String
metadataColumn() - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable
Returns the name of this table's metadata column.
metadataColumn(String) - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable.Builder
Configures the name of a column which stores metadata.
metadataFieldName(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
metadataFieldNames(List<String>) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
metadataFieldNames(Set<String>) - Method in class dev.langchain4j.store.embedding.mongodb.IndexMapping.Builder
 
metadataFieldsName(Collection<String>) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
MetadataFilterBuilder - Class in dev.langchain4j.store.embedding.filter
A helper class for building a Filter for Metadata key.
MetadataFilterBuilder(String) - Constructor for class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
metadataFullType() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Get the full name of the metadata protobuf type
metadataItemName() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the metadataItemName record component.
metadataItemName(String) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan schema metadataItemName
metadataKey(String) - Static method in class dev.langchain4j.store.embedding.filter.MetadataFilterBuilder
 
metadataKeys(Collection<String>) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
metadataKeysToInclude(List<String>) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector.DefaultContentInjectorBuilder
 
MetadataStorageConfig - Interface in dev.langchain4j.store.embedding.pgvector
Metadata configuration.
MetadataStorageMode - Enum Class in dev.langchain4j.store.embedding.pgvector
Metadata storage mode COLUMN_PER_KEY: for static metadata, when you know in advance the list of metadata COMBINED_JSON: For dynamic metadata, when you don't know the list of metadata that will be used.
metadataTextKey(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
 
metric - Variable in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
metric(CassandraSimilarityMetric) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
metric(CassandraSimilarityMetric) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
metricType - Variable in class dev.langchain4j.store.embedding.vearch.RetrievalParam
 
metricType - Variable in class dev.langchain4j.store.embedding.vearch.RetrievalParam.RetrievalParamBuilder
 
metricType(MetricType) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.RetrievalParamBuilder
 
metricType(MetricType) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
MetricType - Enum Class in dev.langchain4j.store.embedding.vearch
if metric type is not set when searching, it will use the parameter specified when building the space
milvusClient(MilvusServiceClient) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
MilvusEmbeddingStore - Class in dev.langchain4j.store.embedding.milvus
Represents an Milvus index as an embedding store.
MilvusEmbeddingStore(MilvusServiceClient, String, Integer, IndexType, MetricType, ConsistencyLevelEnum, Boolean, Boolean, String, String, String, String) - Constructor for class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
MilvusEmbeddingStore(String, Integer, String, Integer, IndexType, MetricType, String, String, String, String, ConsistencyLevelEnum, Boolean, Boolean, String, String, String, String, String) - Constructor for class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
MilvusEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.milvus
 
mimeType() - Method in class dev.langchain4j.data.audio.Audio
Get the mime type of the audio.
mimeType() - Method in class dev.langchain4j.data.image.Image
Get the mime type of the image.
mimeType() - Method in class dev.langchain4j.data.text.TextFile
Get the mime type of the text file.
mimeType() - Method in class dev.langchain4j.data.video.Video
Get the mime type of the video.
mimeType(VertexAiImageModel.MimeType) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
mimeType(String) - Method in class dev.langchain4j.data.audio.Audio.Builder
Set the mime type of the audio.
mimeType(String) - Method in class dev.langchain4j.data.image.Image.Builder
Set the mime type of the image.
mimeType(String) - Method in class dev.langchain4j.data.text.TextFile.Builder
Set the mime type of the text document.
mimeType(String) - Method in class dev.langchain4j.data.video.Video.Builder
Set the mime type of the video.
minScore() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest
 
minScore(double) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the minimum relevance score for the returned Contents.
minScore(Double) - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
 
minScore(Double) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
minScore(Double) - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest.EmbeddingSearchRequestBuilder
 
MISTRAL_7B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
DeepSeekMath-Instruct 7B is a mathematically instructed tuning model derived from DeepSeekMath-Base 7B.
MISTRAL_7B_INSTRUCT_V0_1_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Mistral 7B Instruct v0.1 AWQ is an efficient, accurate and blazing-fast low-bit weight quantized Mistral variant.
MISTRAL_7B_INSTRUCT_V0_2 - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2.
MISTRAL_7B_INSTRUCT_V0_2_LORA - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2.
MISTRAL_EMBED - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiEmbeddingModelName
The MISTRAL_EMBED model.
MISTRAL_LARGE - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
MISTRAL_LARGE_2407 - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
MISTRAL_LARGE_LATEST - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
MISTRAL_MEDIUM - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
Deprecated, for removal: This API element is subject to removal in a future version.
As of release 0.29.0, replaced by MistralAiChatModelName.MISTRAL_MEDIUM_LATEST
MISTRAL_MEDIUM_LATEST - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
MISTRAL_MODERATION_LATEST - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
MISTRAL_NEMO - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
MISTRAL_SMALL - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
MISTRAL_SMALL - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
Deprecated, for removal: This API element is subject to removal in a future version.
As of release 0.29.0, replaced by MistralAiChatModelName.MISTRAL_SMALL_LATEST
MISTRAL_SMALL_LATEST - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
MISTRAL_TINY - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
Deprecated, for removal: This API element is subject to removal in a future version.
As of release 0.29.0, replaced by MistralAiChatModelName.OPEN_MISTRAL_7B
Mistral7bInstructV0_2 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel.Types
 
MistralAiApi - Interface in dev.langchain4j.model.mistralai.internal.api
 
MistralAiChatCompletionChoice - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiChatCompletionChoice() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiChatCompletionChoice
 
MistralAiChatCompletionRequest - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiChatCompletionRequest() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiChatCompletionRequest
 
MistralAiChatCompletionResponse - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiChatCompletionResponse() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiChatCompletionResponse
 
MistralAiChatMessage - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiChatMessage() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiChatMessage
 
MistralAiChatModel - Class in dev.langchain4j.model.mistralai
Represents a Mistral AI Chat Model with a chat completion interface, such as open-mistral-7b and open-mixtral-8x7b This model allows generating chat completion of a sync way based on a list of chat messages.
MistralAiChatModel(String, String, String, Double, Double, Integer, Boolean, Integer, String, Duration, Boolean, Boolean, Integer) - Constructor for class dev.langchain4j.model.mistralai.MistralAiChatModel
Constructs a MistralAiChatModel with the specified parameters.
MistralAiChatModel.MistralAiChatModelBuilder - Class in dev.langchain4j.model.mistralai
 
MistralAiChatModelBuilder() - Constructor for class dev.langchain4j.model.mistralai.MistralAiChatModel.MistralAiChatModelBuilder
 
MistralAiChatModelBuilderFactory - Interface in dev.langchain4j.model.mistralai.spi
A factory for building MistralAiChatModel.MistralAiChatModelBuilder instances.
MistralAiChatModelName - Enum Class in dev.langchain4j.model.mistralai
Represents the available chat completion models for Mistral AI.
MistralAiClient - Class in dev.langchain4j.model.mistralai.internal.client
 
MistralAiClient() - Constructor for class dev.langchain4j.model.mistralai.internal.client.MistralAiClient
 
MistralAiClient.Builder<T,B> - Class in dev.langchain4j.model.mistralai.internal.client
 
MistralAiClientBuilderFactory - Interface in dev.langchain4j.model.mistralai.internal.client
 
MistralAiDeltaMessage - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiDeltaMessage() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiDeltaMessage
 
MistralAiEmbedding - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiEmbedding() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiEmbedding
 
MistralAiEmbeddingModel - Class in dev.langchain4j.model.mistralai
Represents a Mistral AI embedding model, such as mistral-embed.
MistralAiEmbeddingModel(String, String, String, Duration, Boolean, Boolean, Integer) - Constructor for class dev.langchain4j.model.mistralai.MistralAiEmbeddingModel
Constructs a new MistralAiEmbeddingModel instance.
MistralAiEmbeddingModel.MistralAiEmbeddingModelBuilder - Class in dev.langchain4j.model.mistralai
 
MistralAiEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.mistralai.MistralAiEmbeddingModel.MistralAiEmbeddingModelBuilder
 
MistralAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.mistralai.spi
MistralAiEmbeddingModelName - Enum Class in dev.langchain4j.model.mistralai
The MistralAiEmbeddingModelName enum represents the available embedding models in the Mistral AI module.
MistralAiEmbeddingRequest - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiEmbeddingRequest() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiEmbeddingRequest
 
MistralAiEmbeddingResponse - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiEmbeddingResponse() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiEmbeddingResponse
 
MistralAiFunction - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiFunction() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiFunction
 
MistralAiFunctionCall - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiFunctionCall() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiFunctionCall
 
MistralAiMapper - Class in dev.langchain4j.model.mistralai.internal.mapper
 
MistralAiMapper() - Constructor for class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
MistralAiModelCard - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiModelCard() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiModelCard
 
MistralAiModelPermission - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiModelPermission() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiModelPermission
 
MistralAiModelResponse - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiModelResponse() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiModelResponse
 
MistralAiModels - Class in dev.langchain4j.model.mistralai
Represents a collection of Mistral AI models.
MistralAiModels(String, String, Duration, Boolean, Boolean, Integer) - Constructor for class dev.langchain4j.model.mistralai.MistralAiModels
Constructs a new instance of MistralAiModels.
MistralAiModels.MistralAiModelsBuilder - Class in dev.langchain4j.model.mistralai
 
MistralAiModelsBuilder() - Constructor for class dev.langchain4j.model.mistralai.MistralAiModels.MistralAiModelsBuilder
 
MistralAiModelsBuilderFactory - Interface in dev.langchain4j.model.mistralai.spi
A factory for building MistralAiModels.MistralAiModelsBuilder instances.
MistralAiModerationModel - Class in dev.langchain4j.model.mistralai
 
MistralAiModerationModel(String, String, Duration, Integer, String, Boolean, Boolean) - Constructor for class dev.langchain4j.model.mistralai.MistralAiModerationModel
 
MistralAiModerationModel.Builder - Class in dev.langchain4j.model.mistralai
 
MistralAiModerationRequest - Record Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiModerationRequest(String, List<String>) - Constructor for record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationRequest
Creates an instance of a MistralAiModerationRequest record class.
MistralAiModerationResponse - Record Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiModerationResponse(String, String, List<MistralModerationResult>) - Constructor for record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationResponse
Creates an instance of a MistralAiModerationResponse record class.
MistralAiParameters - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiParameters() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiParameters
 
MistralAiResponseFormat - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiResponseFormat() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiResponseFormat
 
MistralAiResponseFormatType - Enum Class in dev.langchain4j.model.mistralai.internal.api
Represents the value of the 'type' field in the response_format parameter of the MistralAi Chat completions request.
MistralAiRole - Enum Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiStreamingChatModel - Class in dev.langchain4j.model.mistralai
Represents a Mistral AI Chat Model with a chat completion interface, such as mistral-tiny and mistral-small.
MistralAiStreamingChatModel(String, String, String, Double, Double, Integer, Boolean, Integer, String, Boolean, Boolean, Duration) - Constructor for class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel
Constructs a MistralAiStreamingChatModel with the specified parameters.
MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder - Class in dev.langchain4j.model.mistralai
 
MistralAiStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder
 
MistralAiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.mistralai.spi
MistralAiTool - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiTool() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiTool
 
MistralAiToolCall - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiToolCall() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiToolCall
 
MistralAiToolChoiceName - Enum Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiToolType - Enum Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiUsage - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralAiUsage() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralAiUsage
 
MistralCategories - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralCategories() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
MistralCategoryScores - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralCategoryScores() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
MistralMixtral8x7bInstructV0_1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel.Types
 
MistralModerationResult - Class in dev.langchain4j.model.mistralai.internal.api
 
MistralModerationResult() - Constructor for class dev.langchain4j.model.mistralai.internal.api.MistralModerationResult
 
MIXTRAL_8X7B_INSTRUCT - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
model - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
model - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
model - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
model - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbeddingRequest
 
model - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbeddingResponse
 
model - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingRequest
 
model - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingResponse
 
model() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest
 
model() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse
 
model() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationRequest
Returns the value of the model record component.
model() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationResponse
Returns the value of the model record component.
model() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest
 
model() - Method in class dev.langchain4j.model.scoring.onnx.OnnxScoringModel
 
model(ChatCompletionModel) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
model(ChatCompletionModel) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
model(ChatCompletionModel) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
model(String) - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
 
model(String) - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
 
model(String) - Method in class dev.langchain4j.model.ollama.OllamaModel.Builder
 
model(String) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest.Builder
 
model(String) - Method in class dev.langchain4j.model.vertexai.VertexAiScoringModel.Builder
 
model(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
model(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse.ChatCompletionResponseBuilder
 
model(String) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest.EmbeddingRequestBuilder
 
model(String) - Method in class dev.langchain4j.model.zhipu.image.ImageRequest.ImageRequestBuilder
 
model(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
model(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
model(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
model(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
modelCard(OllamaModel) - Method in class dev.langchain4j.model.ollama.OllamaModels
 
modelCard(String) - Method in class dev.langchain4j.model.ollama.OllamaModels
 
ModelDisabledException - Exception Class in dev.langchain4j.model
An exception thrown by a model that could be disabled by a user.
ModelDisabledException(String) - Constructor for exception class dev.langchain4j.model.ModelDisabledException
 
modelfile(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
modelId() - Method in interface dev.langchain4j.model.huggingface.spi.HuggingFaceClientFactory.Input
 
modelId(String) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
modelId(String) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
modelId(String) - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
modelInfo(Map<String, Object>) - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
ModelingCompound - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
modelName - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
modelName - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
modelName - Variable in class dev.langchain4j.model.workersai.client.AbstractWorkersAIModel
ModelName, preferred as enum for extensibility.
modelName - Variable in class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
ModelName, preferred as enum for extensibility.
modelName - Variable in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
ModelName, preferred as enum for extensibility.
modelName - Variable in class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
ModelName, preferred as enum for extensibility.
modelName - Variable in class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
ModelName, preferred as enum for extensibility.
modelName() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
modelName() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
modelName() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
modelName() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
modelName() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
 
modelName() - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
 
modelName() - Method in class dev.langchain4j.model.openai.OpenAiImageModel
 
modelName() - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel
 
modelName() - Method in class dev.langchain4j.model.openai.OpenAiModerationModel
 
modelName() - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
 
modelName() - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
 
modelName(AnthropicChatModelName) - Method in class dev.langchain4j.model.anthropic.AnthropicChatModel.AnthropicChatModelBuilder
 
modelName(AnthropicChatModelName) - Method in class dev.langchain4j.model.anthropic.AnthropicStreamingChatModel.AnthropicStreamingChatModelBuilder
 
modelName(GitHubModelsChatModelName) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
modelName(GitHubModelsChatModelName) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
modelName(GitHubModelsEmbeddingModelName) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
modelName(MistralAiChatModelName) - Method in class dev.langchain4j.model.mistralai.MistralAiChatModel.MistralAiChatModelBuilder
 
modelName(MistralAiChatModelName) - Method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder
 
modelName(MistralAiEmbeddingModelName) - Method in class dev.langchain4j.model.mistralai.MistralAiEmbeddingModel.MistralAiEmbeddingModelBuilder
 
modelName(OpenAiChatModelName) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
 
modelName(OpenAiChatModelName) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
 
modelName(OpenAiEmbeddingModelName) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
 
modelName(OpenAiImageModelName) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
 
modelName(OpenAiLanguageModelName) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
 
modelName(OpenAiLanguageModelName) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
 
modelName(OpenAiModerationModelName) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
 
modelName(VoyageAiEmbeddingModelName) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
Name of the model.
modelName(VoyageAiScoringModelName) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
Name of the model.
modelName(String) - Method in class dev.langchain4j.model.anthropic.AnthropicChatModel.AnthropicChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.anthropic.AnthropicStreamingChatModel.AnthropicStreamingChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
Sets the model name in Azure AI Inference API.
modelName(String) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
Sets the model name in Azure AI Inference API.
modelName(String) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
Sets the model name in Azure OpenAI.
modelName(String) - Method in class dev.langchain4j.model.mistralai.MistralAiChatModel.MistralAiChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.mistralai.MistralAiEmbeddingModel.MistralAiEmbeddingModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel.Builder
 
modelName(String) - Method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
 
modelName(String) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
modelName(String) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
modelName(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
modelName(String) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
modelName(String) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
Name of the model.
modelName(String) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
Name of the model.
modelName(String) - Method in class dev.langchain4j.model.workersai.WorkersAiChatModel.Builder
Sets the model name for the Worker AI model builder.
modelName(String) - Method in class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel.Builder
Sets the model name for the Worker AI model builder.
modelName(String) - Method in class dev.langchain4j.model.workersai.WorkersAiImageModel.Builder
Sets the model name for the Worker AI model builder.
modelName(String) - Method in class dev.langchain4j.model.workersai.WorkersAiLanguageModel.Builder
Sets the model name for the Worker AI model builder.
ModelParam - Class in dev.langchain4j.store.embedding.vearch
 
modelParams(List<ModelParam>) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
models() - Method in interface dev.langchain4j.model.mistralai.internal.api.MistralAiApi
 
modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
moderate(ChatMessage) - Method in class dev.langchain4j.model.moderation.DisabledModerationModel
 
moderate(ChatMessage) - Method in interface dev.langchain4j.model.moderation.ModerationModel
Moderates the given chat message.
moderate(TextSegment) - Method in class dev.langchain4j.model.moderation.DisabledModerationModel
 
moderate(TextSegment) - Method in interface dev.langchain4j.model.moderation.ModerationModel
Moderates the given text segment.
moderate(Prompt) - Method in class dev.langchain4j.model.moderation.DisabledModerationModel
 
moderate(Prompt) - Method in interface dev.langchain4j.model.moderation.ModerationModel
Moderates the given prompt.
moderate(String) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel
 
moderate(String) - Method in class dev.langchain4j.model.moderation.DisabledModerationModel
 
moderate(String) - Method in interface dev.langchain4j.model.moderation.ModerationModel
Moderates the given text.
moderate(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel
 
moderate(List<ChatMessage>) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel
 
moderate(List<ChatMessage>) - Method in class dev.langchain4j.model.moderation.DisabledModerationModel
 
moderate(List<ChatMessage>) - Method in interface dev.langchain4j.model.moderation.ModerationModel
Moderates the given list of chat messages.
moderate(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel
 
Moderate - Annotation Interface in dev.langchain4j.service
When a method in the AI Service is annotated with @Moderate, each invocation of this method will call not only the LLM, but also the moderation model (which must be provided during the construction of the AI Service) in parallel.
moderation(MistralAiModerationRequest) - Method in class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient
 
moderation(MistralAiModerationRequest) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient
 
Moderation - Class in dev.langchain4j.model.moderation
Represents moderation status.
Moderation() - Constructor for class dev.langchain4j.model.moderation.Moderation
Construct a Moderation object that is not flagged.
Moderation(String) - Constructor for class dev.langchain4j.model.moderation.Moderation
Construct a Moderation object that is flagged.
ModerationException - Exception Class in dev.langchain4j.service
Thrown when content moderation fails, i.e., when content is flagged by the moderation model.
ModerationException(String) - Constructor for exception class dev.langchain4j.service.ModerationException
 
moderationModel - Variable in class dev.langchain4j.service.AiServiceContext
 
moderationModel(ModerationModel) - Method in class dev.langchain4j.service.AiServices
Configures a moderation model to be used for automatic content moderation.
ModerationModel - Interface in dev.langchain4j.model.moderation
Represents a model that can moderate text.
moderations(MistralAiModerationRequest) - Method in interface dev.langchain4j.model.mistralai.internal.api.MistralAiApi
 
modifiedAt(OffsetDateTime) - Method in class dev.langchain4j.model.ollama.OllamaModel.Builder
 
modifiedAt(OffsetDateTime) - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
mongoClient(MongoClient) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
Build Mongo Client, Please close the client to release resources after usage.
MongoDbDocument - Class in dev.langchain4j.store.embedding.mongodb
 
MongoDbDocument() - Constructor for class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
MongoDbDocument(String, List<Float>, String, Map<String, String>) - Constructor for class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
MongoDbDocument.Builder - Class in dev.langchain4j.store.embedding.mongodb
 
MongoDbEmbeddingStore - Class in dev.langchain4j.store.embedding.mongodb
Represents a MongoDB index as an embedding store.
MongoDbEmbeddingStore(MongoClient, String, String, String, Long, CreateCollectionOptions, Bson, IndexMapping, Boolean) - Constructor for class dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
 
MongoDbEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.mongodb
 
MongoDbMatchedDocument - Class in dev.langchain4j.store.embedding.mongodb
 
MongoDbMatchedDocument() - Constructor for class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
MongoDbMatchedDocument(String, List<Float>, String, Map<String, String>, Double) - Constructor for class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
MULTIMODALEMBEDDING - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 

N

n - Variable in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
n(Integer) - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer.ExpandingQueryTransformerBuilder
 
name - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicContent
 
name - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicTool
 
name - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent
 
name() - Element in annotation interface dev.langchain4j.agent.tool.Tool
Name of the tool.
name() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
Returns the name of the tool.
name() - Method in class dev.langchain4j.agent.tool.ToolSpecification
Returns the name of the tool.
name() - Method in class dev.langchain4j.data.message.UserMessage
The name of the user.
name() - Method in class dev.langchain4j.model.chat.request.json.JsonSchema
 
name() - Method in class dev.langchain4j.model.qianfan.client.chat.Function
 
name() - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
name() - Method in class dev.langchain4j.model.qianfan.client.chat.Message
 
name() - Method in class dev.langchain4j.model.zhipu.chat.Function
 
name() - Method in class dev.langchain4j.store.embedding.filter.builder.sql.ColumnDefinition
 
name() - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition
 
name() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainMetadata
Returns the value of the name record component.
name() - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable
Returns the name of this table.
name(String) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
Sets the name.
name(String) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Sets the name.
name(String) - Method in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolChoice.Builder
 
name(String) - Method in class dev.langchain4j.model.chat.request.json.JsonSchema.Builder
 
name(String) - Method in class dev.langchain4j.model.ollama.OllamaModel.Builder
 
name(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Examples.Builder
 
name(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
name(String) - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall.Builder
 
name(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Message.Builder
 
name(String) - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage.Builder
 
name(String) - Method in class dev.langchain4j.model.zhipu.chat.Function.Builder
 
name(String) - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall.FunctionCallBuilder
 
name(String) - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage.SystemMessageBuilder
 
name(String) - Method in class dev.langchain4j.model.zhipu.chat.UserMessage.UserMessageBuilder
 
name(String) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore.Builder
Set the name of the NamedMap that will hold the document chunks.
name(String) - Method in class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition.Builder
 
name(String) - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable.Builder
Configures the name of a table where embeddings are stored and retrieved from.
name(String) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine.Builder
 
name(String) - Method in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore.Builder
Set the name of the NamedMap that will hold the document chunks.
nameSpace(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
 
ncentroids(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.BINARYIVFParam.BINARYIVFParamBuilder
 
ncentroids(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam.GPUParamBuilder
 
ncentroids(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam.IVFFLATParamBuilder
 
ncentroids(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam.IVFPQParamBuilder
 
needClearHistory(Boolean) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
negativePrompt(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
Neo4jContentRetriever - Class in dev.langchain4j.rag.content.retriever.neo4j
A ContentRetriever that retrieves from an Neo4jGraph.
Neo4jContentRetriever(Neo4jGraph, ChatLanguageModel, PromptTemplate) - Constructor for class dev.langchain4j.rag.content.retriever.neo4j.Neo4jContentRetriever
 
Neo4jEmbeddingStore - Class in dev.langchain4j.store.embedding.neo4j
Represents a Vector index as an embedding store.
Neo4jEmbeddingStore(SessionConfig, Driver, int, String, String, String, String, String, String, String, String, long) - Constructor for class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
Creates an instance of Neo4jEmbeddingStore
Neo4jEmbeddingStore.Neo4jEmbeddingStoreBuilder - Class in dev.langchain4j.store.embedding.neo4j
Creates an instance of Neo4jEmbeddingStore defining a Driver starting from uri, user and password
Neo4jEmbeddingStoreBuilder() - Constructor for class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore.Neo4jEmbeddingStoreBuilder
 
Neo4jException - Exception Class in dev.langchain4j.store.graph.neo4j
 
Neo4jException(String, Throwable) - Constructor for exception class dev.langchain4j.store.graph.neo4j.Neo4jException
 
Neo4jGraph - Class in dev.langchain4j.store.graph.neo4j
 
Neo4jGraph(Driver) - Constructor for class dev.langchain4j.store.graph.neo4j.Neo4jGraph
 
NeonPunk - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
NEURAL_CHAT_7B_V3_1_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
This model is a fine-tuned 7B parameter LLM on the Intel Gaudi 2 processor from the mistralai/Mistral-7B-v0.1 on the open source dataset Open-Orca/SlimOrca.
nlinks(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam.HNSWParamBuilder
 
NO_CACHE - Enum constant in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicCacheType
 
NomicEmbeddingModel - Class in dev.langchain4j.model.nomic
An integration with Nomic Atlas's Text Embeddings API.
NomicEmbeddingModel(String, String, String, String, Integer, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.nomic.NomicEmbeddingModel
 
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
NONE - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.ReturnLikelihood
 
NONE - Enum constant in enum class dev.langchain4j.model.googleai.GeminiMode
 
NONE - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolChoiceName
 
NONE - Enum constant in enum class dev.langchain4j.model.vertexai.ToolCallingMode
Gemini shouldn't request to make any function call
NONE - Enum constant in enum class dev.langchain4j.model.zhipu.chat.ToolChoiceMode
 
normalize() - Method in class dev.langchain4j.data.embedding.Embedding
Normalize vector
normalizeEmbeddings - Variable in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
 
normalizeEmbeddings(boolean) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore.Builder
Set whether to force normalization of vectors on adding and searching.
normalizeEmbeddings(Boolean) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore.Builder
Set whether to normalize embedding when add to embedding store
not(Filter) - Static method in interface dev.langchain4j.store.embedding.filter.Filter
 
Not - Class in dev.langchain4j.store.embedding.filter.logical
 
Not(Filter) - Constructor for class dev.langchain4j.store.embedding.filter.logical.Not
 
notFlagged() - Static method in class dev.langchain4j.model.moderation.Moderation
Constructs a Moderation object that is not flagged.
notifyListenersOnError(Exception, ChatModelRequest, ConcurrentHashMap<Object, Object>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
notifyListenersOnError(Exception, ChatModelRequest, ConcurrentHashMap<Object, Object>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
notifyListenersOnRequest(ChatModelRequestContext) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
notifyListenersOnRequest(ChatModelRequestContext) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
notifyListenersOnResponse(Response<AiMessage>, ChatModelRequest, ConcurrentHashMap<Object, Object>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
notifyListenersOnResponse(Response<AiMessage>, ChatModelRequest, ConcurrentHashMap<Object, Object>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
nsubvector(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam.GPUParamBuilder
 
nsubvector(Integer) - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam.IVFPQParamBuilder
 
NULL - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
NULL - Static variable in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
NUMBER - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonNumberSchema() instead
NUMBER - Static variable in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
numCandidates(Integer) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchConfigurationKnn.Builder
The number of nearest neighbor candidates to consider per shard while doing knn search.
numCtx(Integer) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
numCtx(Integer) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
numCtx(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
numCtx(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
numLists(Integer) - Method in class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.Builder
 
numPredict(Integer) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
numPredict(Integer) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
numPredict(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
numPredict(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
numReturnSequences(Integer) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 

O

object - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbedding
 
object() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData
 
object() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
object(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
object(String) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData.Builder
 
object(String) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse.Builder
 
OBJECT - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonObjectSchema.builder() instead
OBJECT - Static variable in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
objectItems(JsonSchemaProperty) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonObjectSchema instead
of(String, Object) - Static method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockChatModel
Create map with single entry
of(String, Object) - Static method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockEmbeddingModel
Create map with single entry
OIL_PAINTING - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
OllamaChatModel - Class in dev.langchain4j.model.ollama
OllamaChatModel(String, String, Double, Integer, Double, Double, Integer, Integer, Integer, List<String>, String, Duration, Integer, Map<String, String>, Boolean, Boolean, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.ollama.OllamaChatModel
 
OllamaChatModel.OllamaChatModelBuilder - Class in dev.langchain4j.model.ollama
 
OllamaChatModelBuilder() - Constructor for class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
OllamaChatModelBuilderFactory - Interface in dev.langchain4j.model.ollama.spi
A factory for building OllamaChatModel.OllamaChatModelBuilder instances.
OllamaEmbeddingModel - Class in dev.langchain4j.model.ollama
OllamaEmbeddingModel(String, String, Duration, Integer, Boolean, Boolean, Map<String, String>) - Constructor for class dev.langchain4j.model.ollama.OllamaEmbeddingModel
 
OllamaEmbeddingModel.OllamaEmbeddingModelBuilder - Class in dev.langchain4j.model.ollama
 
OllamaEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
OllamaEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.ollama.spi
A factory for building OllamaEmbeddingModel.OllamaEmbeddingModelBuilder instances.
OllamaLanguageModel - Class in dev.langchain4j.model.ollama
OllamaLanguageModel(String, String, Double, Integer, Double, Double, Integer, Integer, Integer, List<String>, String, Duration, Integer, Boolean, Boolean, Map<String, String>) - Constructor for class dev.langchain4j.model.ollama.OllamaLanguageModel
 
OllamaLanguageModel.OllamaLanguageModelBuilder - Class in dev.langchain4j.model.ollama
 
OllamaLanguageModelBuilder() - Constructor for class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
OllamaLanguageModelBuilderFactory - Interface in dev.langchain4j.model.ollama.spi
A factory for building OllamaLanguageModel.OllamaLanguageModelBuilder instances.
OllamaModel - Class in dev.langchain4j.model.ollama
 
OllamaModel(String, long, String, OllamaModelDetails, OffsetDateTime, String) - Constructor for class dev.langchain4j.model.ollama.OllamaModel
 
OllamaModel.Builder - Class in dev.langchain4j.model.ollama
 
OllamaModelCard - Class in dev.langchain4j.model.ollama
 
OllamaModelCard(String, String, String, OllamaModelDetails) - Constructor for class dev.langchain4j.model.ollama.OllamaModelCard
 
OllamaModelCard.Builder - Class in dev.langchain4j.model.ollama
 
OllamaModelDetails - Class in dev.langchain4j.model.ollama
 
OllamaModelDetails(String, String, List<String>, String, String) - Constructor for class dev.langchain4j.model.ollama.OllamaModelDetails
 
OllamaModelDetails.Builder - Class in dev.langchain4j.model.ollama
 
OllamaModels - Class in dev.langchain4j.model.ollama
 
OllamaModels(String, Duration, Integer, Boolean, Boolean) - Constructor for class dev.langchain4j.model.ollama.OllamaModels
 
OllamaModels.OllamaModelsBuilder - Class in dev.langchain4j.model.ollama
 
OllamaModelsBuilder() - Constructor for class dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
 
OllamaStreamingChatModel - Class in dev.langchain4j.model.ollama
OllamaStreamingChatModel(String, String, Double, Integer, Double, Double, Integer, Integer, Integer, List<String>, String, Duration, Boolean, Boolean, Map<String, String>, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.ollama.OllamaStreamingChatModel
 
OllamaStreamingChatModel.OllamaStreamingChatModelBuilder - Class in dev.langchain4j.model.ollama
 
OllamaStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
OllamaStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.ollama.spi
OllamaStreamingLanguageModel - Class in dev.langchain4j.model.ollama
OllamaStreamingLanguageModel(String, String, Double, Integer, Double, Double, Integer, Integer, Integer, List<String>, String, Duration, Boolean, Boolean, Map<String, String>) - Constructor for class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel
 
OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder - Class in dev.langchain4j.model.ollama
 
OllamaStreamingLanguageModelBuilder() - Constructor for class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
OllamaStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.ollama.spi
onComplete(Response<T>) - Method in interface dev.langchain4j.model.StreamingResponseHandler
Invoked when the language model has finished streaming a response.
onComplete(Runnable) - Method in interface dev.langchain4j.model.qianfan.client.StreamingResponseHandling
 
onComplete(Consumer<Response<AiMessage>>) - Method in class dev.langchain4j.service.AiServiceTokenStream
 
onComplete(Consumer<Response<AiMessage>>) - Method in interface dev.langchain4j.service.TokenStream
The provided consumer will be invoked when a language model finishes streaming a response.
onError(ChatModelErrorContext) - Method in interface dev.langchain4j.model.chat.listener.ChatModelListener
This method is called when an error occurs during interaction with the model.
onError(Throwable) - Method in interface dev.langchain4j.model.StreamingResponseHandler
This method is invoked when an error occurs during streaming.
onError(Consumer<Throwable>) - Method in interface dev.langchain4j.model.qianfan.client.AsyncResponseHandling
 
onError(Consumer<Throwable>) - Method in interface dev.langchain4j.model.qianfan.client.StreamingCompletionHandling
 
onError(Consumer<Throwable>) - Method in class dev.langchain4j.service.AiServiceTokenStream
 
onError(Consumer<Throwable>) - Method in interface dev.langchain4j.service.TokenStream
The provided consumer will be invoked when an error occurs during streaming.
onNext(String) - Method in interface dev.langchain4j.model.StreamingResponseHandler
Invoked each time the language model generates a new token in a textual response.
onNext(Consumer<String>) - Static method in class dev.langchain4j.model.LambdaStreamingResponseHandler
 
onNext(Consumer<String>) - Method in class dev.langchain4j.service.AiServiceTokenStream
 
onNext(Consumer<String>) - Method in interface dev.langchain4j.service.TokenStream
The provided consumer will be invoked every time a new token from a language model is available.
onNextAndError(Consumer<String>, Consumer<Throwable>) - Static method in class dev.langchain4j.model.LambdaStreamingResponseHandler
 
OnnxScoringModel - Class in dev.langchain4j.model.scoring.onnx
 
OnnxScoringModel(String, OrtSession.SessionOptions, String) - Constructor for class dev.langchain4j.model.scoring.onnx.OnnxScoringModel
 
OnnxScoringModel(String, OrtSession.SessionOptions, String, int, boolean) - Constructor for class dev.langchain4j.model.scoring.onnx.OnnxScoringModel
 
OnnxScoringModel(String, String) - Constructor for class dev.langchain4j.model.scoring.onnx.OnnxScoringModel
 
OnnxScoringModel(String, String, int) - Constructor for class dev.langchain4j.model.scoring.onnx.OnnxScoringModel
 
onPartialResponse(Consumer<ResponseContent>) - Method in class dev.langchain4j.model.qianfan.client.RequestExecutor
 
onPartialResponse(Consumer<ResponseContent>) - Method in interface dev.langchain4j.model.qianfan.client.SyncOrAsyncOrStreaming
 
onRequest(ChatModelRequestContext) - Method in interface dev.langchain4j.model.chat.listener.ChatModelListener
This method is called before the request is sent to the model.
onResponse(ChatModelResponseContext) - Method in interface dev.langchain4j.model.chat.listener.ChatModelListener
This method is called after the response is received from the model.
onResponse(Consumer<ResponseContent>) - Method in class dev.langchain4j.model.qianfan.client.RequestExecutor
 
onResponse(Consumer<ResponseContent>) - Method in interface dev.langchain4j.model.qianfan.client.SyncOrAsync
 
onRetrieved(Consumer<List<Content>>) - Method in class dev.langchain4j.service.AiServiceTokenStream
 
onRetrieved(Consumer<List<Content>>) - Method in interface dev.langchain4j.service.TokenStream
The provided consumer will be invoked if any Contents are retrieved using RetrievalAugmentor.
onToolExecuted(Consumer<ToolExecution>) - Method in class dev.langchain4j.service.AiServiceTokenStream
 
onToolExecuted(Consumer<ToolExecution>) - Method in interface dev.langchain4j.service.TokenStream
The provided consumer will be invoked if any tool is executed.
OPEN_MISTRAL_7B - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
OPEN_MIXTRAL_8X22B - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
OPEN_MIXTRAL_8x7B - Enum constant in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
openAIAsyncClient(OpenAIAsyncClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI client.
OpenAiChatModel - Class in dev.langchain4j.model.openai
Represents an OpenAI language model with a chat completion interface, such as gpt-3.5-turbo and gpt-4.
OpenAiChatModel(String, String, String, String, Double, Double, List<String>, Integer, Integer, Double, Double, Map<String, Integer>, String, Boolean, Integer, String, Boolean, Boolean, Duration, Integer, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.openai.OpenAiChatModel
 
OpenAiChatModel.OpenAiChatModelBuilder - Class in dev.langchain4j.model.openai
 
OpenAiChatModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
 
OpenAiChatModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
A factory for building OpenAiChatModel.OpenAiChatModelBuilder instances.
OpenAiChatModelName - Enum Class in dev.langchain4j.model.openai
 
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI client.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI client.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI client.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
Please use AzureOpenAiStreamingChatModel.Builder.openAIAsyncClient(OpenAIAsyncClient) instead, if you require response streaming. Please use AzureOpenAiChatModel instead, if you require sync responses.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI client.
OpenAiEmbeddingModel - Class in dev.langchain4j.model.openai
Represents an OpenAI embedding model, such as text-embedding-ada-002.
OpenAiEmbeddingModel(String, String, String, String, Integer, String, Duration, Integer, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>) - Constructor for class dev.langchain4j.model.openai.OpenAiEmbeddingModel
 
OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder - Class in dev.langchain4j.model.openai
 
OpenAiEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
 
OpenAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
A factory for building OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder instances.
OpenAiEmbeddingModelName - Enum Class in dev.langchain4j.model.openai
 
OpenAiImageModel - Class in dev.langchain4j.model.openai
Represents an OpenAI DALL·E models to generate artistic images.
OpenAiImageModel(String, String, String, String, String, String, String, String, String, Duration, Integer, Proxy, Boolean, Boolean, Boolean, Path, Map<String, String>) - Constructor for class dev.langchain4j.model.openai.OpenAiImageModel
Instantiates OpenAI DALL·E image processing model.
OpenAiImageModel.OpenAiImageModelBuilder - Class in dev.langchain4j.model.openai
 
OpenAiImageModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
 
OpenAiImageModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
A factory for building OpenAiImageModel.OpenAiImageModelBuilder instances.
OpenAiImageModelName - Enum Class in dev.langchain4j.model.openai
 
OpenAiLanguageModel - Class in dev.langchain4j.model.openai
Represents an OpenAI language model with a completion interface, such as gpt-3.5-turbo-instruct.
OpenAiLanguageModel(String, String, String, String, Double, Duration, Integer, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>) - Constructor for class dev.langchain4j.model.openai.OpenAiLanguageModel
 
OpenAiLanguageModel.OpenAiLanguageModelBuilder - Class in dev.langchain4j.model.openai
 
OpenAiLanguageModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
 
OpenAiLanguageModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
A factory for building OpenAiLanguageModel.OpenAiLanguageModelBuilder instances.
OpenAiLanguageModelName - Enum Class in dev.langchain4j.model.openai
 
OpenAiModelName - Class in dev.langchain4j.model.openai
Deprecated, for removal: This API element is subject to removal in a future version.
OpenAiModelName() - Constructor for class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
OpenAiModerationModel - Class in dev.langchain4j.model.openai
Represents an OpenAI moderation model, such as text-moderation-latest.
OpenAiModerationModel(String, String, String, String, Duration, Integer, Proxy, Boolean, Boolean, Map<String, String>) - Constructor for class dev.langchain4j.model.openai.OpenAiModerationModel
 
OpenAiModerationModel.OpenAiModerationModelBuilder - Class in dev.langchain4j.model.openai
 
OpenAiModerationModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
 
OpenAiModerationModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
A factory for building OpenAiModerationModel.OpenAiModerationModelBuilder instances.
OpenAiModerationModelName - Enum Class in dev.langchain4j.model.openai
 
OpenAiStreamingChatModel - Class in dev.langchain4j.model.openai
Represents an OpenAI language model with a chat completion interface, such as gpt-3.5-turbo and gpt-4.
OpenAiStreamingChatModel(String, String, String, String, Double, Double, List<String>, Integer, Integer, Double, Double, Map<String, Integer>, String, Integer, String, Boolean, Boolean, Duration, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingChatModel
 
OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder - Class in dev.langchain4j.model.openai
 
OpenAiStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
 
OpenAiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
OpenAiStreamingLanguageModel - Class in dev.langchain4j.model.openai
Represents an OpenAI language model with a completion interface, such as gpt-3.5-turbo-instruct.
OpenAiStreamingLanguageModel(String, String, String, String, Double, Duration, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>) - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
 
OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder - Class in dev.langchain4j.model.openai
 
OpenAiStreamingLanguageModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
 
OpenAiStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
OpenAiStreamingResponseBuilder - Class in dev.langchain4j.model.openai
This class needs to be thread safe because it is called when a streaming result comes back and there is no guarantee that this thread will be the same as the one that initiated the request, in fact it almost certainly won't be.
OpenAiStreamingResponseBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
 
OpenAiTokenizer - Class in dev.langchain4j.model.openai
This class can be used to estimate the cost (in tokens) before calling OpenAI or when using streaming.
OpenAiTokenizer() - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
Deprecated, for removal: This API element is subject to removal in a future version.
Please use other constructors and specify the model name explicitly.
OpenAiTokenizer(OpenAiChatModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
Creates an instance of the OpenAiTokenizer for a given OpenAiChatModelName.
OpenAiTokenizer(OpenAiEmbeddingModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
Creates an instance of the OpenAiTokenizer for a given OpenAiEmbeddingModelName.
OpenAiTokenizer(OpenAiLanguageModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
Creates an instance of the OpenAiTokenizer for a given OpenAiLanguageModelName.
OpenAiTokenizer(String) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
Creates an instance of the OpenAiTokenizer for a given model name.
OPENCHAT_3_5_0106 - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
OpenChat is an innovative library of open-source language models, fine-tuned with C-RLFT - a strategy inspired by offline reinforcement learning.
OPENHERMES_2_5_MISTRAL_7B_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
OpenHermes 2.5 Mistral 7B is a state of the art Mistral Fine-tune, a continuation of OpenHermes 2 model, which trained on additional code datasets.
openSearchClient(OpenSearchClient) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
OpenSearchEmbeddingStore - Class in dev.langchain4j.store.embedding.opensearch
Represents an OpenSearch index as an embedding store.
OpenSearchEmbeddingStore(String, String, String, String, String) - Constructor for class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
Creates an instance of OpenSearchEmbeddingStore to connect with OpenSearch clusters running locally and network reachable.
OpenSearchEmbeddingStore(String, String, String, AwsSdk2TransportOptions, String) - Constructor for class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
Creates an instance of OpenSearchEmbeddingStore to connect with OpenSearch clusters running as a fully managed service at AWS.
OpenSearchEmbeddingStore(OpenSearchClient, String) - Constructor for class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore
Creates an instance of OpenSearchEmbeddingStore using provided OpenSearchClient
OpenSearchEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.opensearch
 
OpenSearchRequestFailedException - Exception Class in dev.langchain4j.store.embedding.opensearch
 
OpenSearchRequestFailedException() - Constructor for exception class dev.langchain4j.store.embedding.opensearch.OpenSearchRequestFailedException
 
OpenSearchRequestFailedException(String) - Constructor for exception class dev.langchain4j.store.embedding.opensearch.OpenSearchRequestFailedException
 
OpenSearchRequestFailedException(String, Throwable) - Constructor for exception class dev.langchain4j.store.embedding.opensearch.OpenSearchRequestFailedException
 
options - Variable in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
options(Options) - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest.Builder
 
options(AwsSdk2TransportOptions) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
Options - Class in dev.langchain4j.model.huggingface.client
 
Options.Builder - Class in dev.langchain4j.model.huggingface.client
 
or(Filter) - Method in interface dev.langchain4j.store.embedding.filter.Filter
 
or(Filter, Filter) - Static method in interface dev.langchain4j.store.embedding.filter.Filter
 
Or - Class in dev.langchain4j.store.embedding.filter.logical
 
Or(Filter, Filter) - Constructor for class dev.langchain4j.store.embedding.filter.logical.Or
 
OracleEmbeddingStore - Class in dev.langchain4j.store.embedding.oracle
An EmbeddingStore which uses AI Vector Search capabilities of Oracle Database.
OracleEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.oracle
Builder which configures and creates instances of OracleEmbeddingStore.
Origami - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
OTHER - Enum constant in enum class dev.langchain4j.model.output.FinishReason
The call finished for some other reason.
outputDimensionality(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
outputFormatInstructions(Type) - Method in class dev.langchain4j.service.output.ServiceOutputParser
 
outputTokenCount() - Method in class dev.langchain4j.model.output.TokenUsage
Returns the output token count, or null if unknown.
outputTokens - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicUsage
 
OvhAiApi - Interface in dev.langchain4j.model.ovhai.internal.api
 
OvhAiClient - Class in dev.langchain4j.model.ovhai.internal.client
 
OvhAiClient() - Constructor for class dev.langchain4j.model.ovhai.internal.client.OvhAiClient
 
OvhAiClient.Builder<T,B> - Class in dev.langchain4j.model.ovhai.internal.client
 
OvhAiClientBuilderFactory - Interface in dev.langchain4j.model.ovhai.internal.client
 
OvhAiEmbeddingModel - Class in dev.langchain4j.model.ovhai
Represents an OVHcloud embedding model.

P

P - Annotation Interface in dev.langchain4j.agent.tool
Parameter of a Tool
packageItem() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the packageItem record component.
packageName(String) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan schema package name
pageNumber() - Method in class dev.langchain4j.web.search.WebSearchInformationResult
Gets the page number.
parameters() - Method in class dev.langchain4j.agent.tool.ToolSpecification
Returns the parameters of the tool.
parameters() - Method in class dev.langchain4j.model.qianfan.client.chat.Function
 
parameters() - Method in class dev.langchain4j.model.zhipu.chat.Function
 
parameters(ToolParameters) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
please use ToolSpecification.Builder.parameters(JsonObjectSchema) instead. Example:
 ToolSpecification.builder()
     .name("weather")
     .description("Returns the current weather in the specified city")
     .parameters(JsonObjectSchema.builder()
         .addStringProperty("city", "The name of the city, e.g., Munich")
         .addEnumProperty("units", List.of("CELSIUS", "FAHRENHEIT"))
         .required("city") // please specify mandatory properties explicitly
         .build())
     .build();
 
parameters(JsonObjectSchema) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
Sets the parameters.
parameters(Parameters) - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest.Builder
 
parameters(Parameters) - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
parameters(Parameters) - Method in class dev.langchain4j.model.zhipu.chat.Function.Builder
 
parameters(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
Parameters - Class in dev.langchain4j.model.huggingface.client
 
Parameters - Class in dev.langchain4j.model.qianfan.client.chat
 
Parameters - Class in dev.langchain4j.model.zhipu.chat
 
Parameters(Parameters.Builder) - Constructor for class dev.langchain4j.model.huggingface.client.Parameters
 
Parameters.Builder - Class in dev.langchain4j.model.huggingface.client
 
Parameters.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
Parameters.Builder - Class in dev.langchain4j.model.zhipu.chat
 
parameterSize(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails.Builder
 
parse(Response<AiMessage>, Type) - Method in class dev.langchain4j.service.output.ServiceOutputParser
 
parse(InputStream) - Method in interface dev.langchain4j.data.document.DocumentParser
Parses a given InputStream into a Document.
parse(InputStream) - Method in class dev.langchain4j.data.document.parser.apache.pdfbox.ApachePdfBoxDocumentParser
 
parse(InputStream) - Method in class dev.langchain4j.data.document.parser.apache.poi.ApachePoiDocumentParser
 
parse(InputStream) - Method in class dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser
 
parse(InputStream) - Method in class dev.langchain4j.data.document.parser.TextDocumentParser
 
parse(String) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
parse(String) - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
parse(String) - Method in interface dev.langchain4j.store.embedding.filter.FilterParser
Parses a filter expression string into a Filter object.
parse(String) - Method in class dev.langchain4j.store.embedding.filter.parser.sql.SqlFilterParser
 
partialJson - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicDelta
 
partialResponse() - Method in class dev.langchain4j.model.chat.listener.ChatModelErrorContext
 
password(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
password(String) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
password(String) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
password(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
password(String) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
password(String) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
password(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
password(String) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore.Builder
 
path - Variable in class dev.langchain4j.data.document.source.FileSystemSource
 
payloadTextKey(String) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
PDF - Enum constant in enum class dev.langchain4j.data.message.ContentType
PDF file content.
pdfFile() - Method in class dev.langchain4j.data.message.PdfFileContent
Get the PdfFile.
PdfFile - Class in dev.langchain4j.data.pdf
 
PdfFile.Builder - Class in dev.langchain4j.data.pdf
Builder for PdfFile.
PdfFileContent - Class in dev.langchain4j.data.message
 
PdfFileContent(PdfFile) - Constructor for class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given PDF file.
PdfFileContent(String) - Constructor for class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given url.
PdfFileContent(String, String) - Constructor for class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given base64 data and mime type.
PdfFileContent(URI) - Constructor for class dev.langchain4j.data.message.PdfFileContent
Create a new PdfFileContent from the given url.
penaltyScore() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
penaltyScore(Double) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
penaltyScore(Double) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
performBasicValidation() - Method in class dev.langchain4j.service.AiServices
 
persistTo(Path) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
persistToCloudStorage(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
personGeneration(VertexAiImageModel.PersonGeneration) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
PgVectorEmbeddingStore - Class in dev.langchain4j.store.embedding.pgvector
PGVector EmbeddingStore Implementation
PgVectorEmbeddingStore(String, Integer, String, String, String, String, Integer, Boolean, Integer, Boolean, Boolean, MetadataStorageConfig) - Constructor for class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Constructor for PgVectorEmbeddingStore Class Use this builder when you don't have datasource management.
PgVectorEmbeddingStore(DataSource, String, Integer, Boolean, Integer, Boolean, Boolean, MetadataStorageConfig) - Constructor for class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Constructor for PgVectorEmbeddingStore Class
PHI_2 - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Phi-2 is a Transformer-based model with a next-word prediction objective, trained on 1.4T tokens from multiple passes on a mixture of Synthetic and Web datasets for NLP and coding.
PHI_3_5_MINI_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHI_3_5_VISION_INSTRUCT - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHI_3_MEDIUM_INSTRUCT_128K - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHI_3_MEDIUM_INSTRUCT_4K - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHI_3_MINI_INSTRUCT_128K - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHI_3_MINI_INSTRUCT_4K - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHI_3_SMALL_INSTRUCT_128K - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHI_3_SMALL_INSTRUCT_8K - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
PHOTOGRAPH - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 
Photographic - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
PHOTOGRAPHY - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
PineconeEmbeddingStore - Class in dev.langchain4j.store.embedding.pinecone
Represents a Pinecone index as an embedding store.
PineconeEmbeddingStore(String, String, String, String, PineconeIndexConfig, String, String) - Constructor for class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
Creates an instance of PineconeEmbeddingStore.
PineconeEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.pinecone
 
PineconeIndexConfig - Interface in dev.langchain4j.store.embedding.pinecone
 
PineconePodIndexConfig - Class in dev.langchain4j.store.embedding.pinecone
 
PineconePodIndexConfig.Builder - Class in dev.langchain4j.store.embedding.pinecone
 
PineconeServerlessIndexConfig - Class in dev.langchain4j.store.embedding.pinecone
 
PineconeServerlessIndexConfig.Builder - Class in dev.langchain4j.store.embedding.pinecone
 
PixelArt - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
PNG - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.MimeType
 
podType(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconePodIndexConfig.Builder
 
POP_ART - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 
port(int) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
port(Integer) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
port(Integer) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
port(Integer) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
port(Integer) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
port(Integer) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore.Builder
 
PORTRAIT - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
PORTRAIT - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
 
prefix(String) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
probeContentType(String) - Method in class dev.langchain4j.internal.CustomMimeTypesFileTypeDetector
 
probeContentType(URI) - Method in class dev.langchain4j.internal.CustomMimeTypesFileTypeDetector
Guess the mime-type of a given URI.
probeContentType(Path) - Method in class dev.langchain4j.internal.CustomMimeTypesFileTypeDetector
Guess the mime-type of a given path.
probeContentType(Path) - Method in class dev.langchain4j.model.dashscope.EnhancedFileTypeDetector
 
processErrors(ApiResponse<?>, ResponseBody) - Method in class dev.langchain4j.model.workersai.client.AbstractWorkersAIModel
Process errors from the API.
profile(String) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
Set the profile defined in AWS credentials.
project(String) - Method in class dev.langchain4j.data.document.loader.gcs.GoogleCloudStorageDocumentLoader.Builder
 
project(String) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
project(String) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
project(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
project(String) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
projectId(String) - Method in class dev.langchain4j.model.vertexai.VertexAiScoringModel.Builder
 
projectId(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
projectNumber(String) - Method in class dev.langchain4j.model.vertexai.VertexAiScoringModel.Builder
 
prompt() - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest
 
prompt(String) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
prompt(String) - Method in class dev.langchain4j.model.zhipu.image.ImageRequest.ImageRequestBuilder
 
Prompt - Class in dev.langchain4j.model.input
Represents a prompt (an input text sent to the LLM).
Prompt() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse.Prompt
 
Prompt(String) - Constructor for class dev.langchain4j.model.input.Prompt
Create a new Prompt.
promptTemplate - Variable in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
promptTemplate - Variable in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
promptTemplate - Variable in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
promptTemplate - Variable in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
promptTemplate(PromptTemplate) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
Use this instead:
 .retrievalAugmentor(DefaultRetrievalAugmentor.builder()
     .contentInjector(DefaultContentInjector.builder()
         .promptTemplate(promptTemplate)
         .build())
     .build());
 
promptTemplate(PromptTemplate) - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector.DefaultContentInjectorBuilder
 
promptTemplate(PromptTemplate) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
 
promptTemplate(PromptTemplate) - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer.CompressingQueryTransformerBuilder
 
promptTemplate(PromptTemplate) - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer.ExpandingQueryTransformerBuilder
 
promptTemplate(String) - Method in class dev.langchain4j.model.zhipu.chat.Retrieval.RetrievalBuilder
 
PromptTemplate - Class in dev.langchain4j.model.input
Represents a template of a prompt that can be reused multiple times.
PromptTemplate(String) - Constructor for class dev.langchain4j.model.input.PromptTemplate
Create a new PromptTemplate.
PromptTemplateFactory - Interface in dev.langchain4j.spi.prompt
A factory for creating prompt templates.
PromptTemplateFactory.Input - Interface in dev.langchain4j.spi.prompt
Interface for input for the factory.
PromptTemplateFactory.Template - Interface in dev.langchain4j.spi.prompt
Interface for a prompt template.
promptTokens - Variable in class dev.langchain4j.model.jina.internal.api.JinaUsage
 
promptTokens() - Method in class dev.langchain4j.model.qianfan.client.Usage
 
promptTokens(Integer) - Method in class dev.langchain4j.model.qianfan.client.Usage.Builder
 
promptTokens(Integer) - Method in class dev.langchain4j.model.zhipu.shared.Usage.Builder
 
properties - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolSchema
 
properties() - Method in class dev.langchain4j.agent.tool.ToolParameters
Deprecated.
Returns the properties of the tool.
properties() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
properties() - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters
 
properties() - Method in class dev.langchain4j.model.qianfan.client.chat.Responses
 
properties(Map<String, JsonSchemaElement>) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
Sets the properties of this JSON object.
properties(Map<String, SpacePropertyParam>) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
properties(Map<String, Map<String, Object>>) - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
properties(Map<String, Map<String, Object>>) - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters.Builder
 
properties(Map<String, Map<String, Object>>) - Method in class dev.langchain4j.model.qianfan.client.chat.Responses.Builder
 
properties(Map<String, Map<String, Object>>) - Method in class dev.langchain4j.model.zhipu.chat.Parameters.Builder
 
property(String, Object) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use the new JsonSchemaElement API instead to define the schema for tool parameters
property(String, Object) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
provideTools(ToolProviderRequest) - Method in interface dev.langchain4j.service.tool.ToolProvider
Provides tools for the request to the LLM.
proxy(Proxy) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
proxy(Proxy.Type, String, int) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
publisher(String) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
publisher(String) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
publisher(String) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
publisher(String) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
put(String, double) - Method in class dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.
put(String, float) - Method in class dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.
put(String, int) - Method in class dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.
put(String, long) - Method in class dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.
put(String, String) - Method in class dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.
put(String, UUID) - Method in class dev.langchain4j.data.document.Metadata
Adds a key-value pair to the metadata.

Q

QdrantEmbeddingStore - Class in dev.langchain4j.store.embedding.qdrant
Represents a Qdrant collection as an embedding store.
QdrantEmbeddingStore(QdrantClient, String, String) - Constructor for class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
QdrantEmbeddingStore(String, String, int, boolean, String, String) - Constructor for class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
QdrantEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.qdrant
 
QIANFAN_BLOOMZ_7B_COMPRESSED - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
QIANFAN_CHINESE_LLAMA_2_7B - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 
QianfanApiException - Exception Class in dev.langchain4j.model.qianfan.client
 
QianfanApiException(int, String) - Constructor for exception class dev.langchain4j.model.qianfan.client.QianfanApiException
 
QianfanChatModel - Class in dev.langchain4j.model.qianfan
see details here: https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
QianfanChatModel(String, String, String, Double, Integer, Double, String, String, String, Double, Boolean, Boolean, String, List<String>, Integer, String) - Constructor for class dev.langchain4j.model.qianfan.QianfanChatModel
 
QianfanChatModel.QianfanChatModelBuilder - Class in dev.langchain4j.model.qianfan
 
QianfanChatModelBuilder() - Constructor for class dev.langchain4j.model.qianfan.QianfanChatModel.QianfanChatModelBuilder
 
QianfanChatModelBuilderFactory - Interface in dev.langchain4j.model.qianfan.spi
A factory for building QianfanChatModel.QianfanChatModelBuilder instances.
QianfanChatModelNameEnum - Enum Class in dev.langchain4j.model.qianfan
 
QianfanClient - Class in dev.langchain4j.model.qianfan.client
 
QianfanClient(String, String) - Constructor for class dev.langchain4j.model.qianfan.client.QianfanClient
 
QianfanClient.Builder - Class in dev.langchain4j.model.qianfan.client
 
QianfanEmbeddingModel - Class in dev.langchain4j.model.qianfan
see details here: https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
QianfanEmbeddingModel(String, String, String, Integer, String, String, String, Boolean, Boolean, Proxy) - Constructor for class dev.langchain4j.model.qianfan.QianfanEmbeddingModel
 
QianfanEmbeddingModel.QianfanEmbeddingModelBuilder - Class in dev.langchain4j.model.qianfan
 
QianfanEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.qianfan.QianfanEmbeddingModel.QianfanEmbeddingModelBuilder
 
QianfanEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.qianfan.spi
A factory for building QianfanEmbeddingModel.QianfanEmbeddingModelBuilder instances.
QianfanEmbeddingModelNameEnum - Enum Class in dev.langchain4j.model.qianfan
 
QianfanHttpException - Exception Class in dev.langchain4j.model.qianfan.client
 
QianfanHttpException(int, String) - Constructor for exception class dev.langchain4j.model.qianfan.client.QianfanHttpException
 
QianfanLanguageModel - Class in dev.langchain4j.model.qianfan
see details here: https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
QianfanLanguageModel(String, String, String, Double, Integer, Integer, Double, String, String, Double, Boolean, Boolean, Proxy) - Constructor for class dev.langchain4j.model.qianfan.QianfanLanguageModel
 
QianfanLanguageModel.QianfanLanguageModelBuilder - Class in dev.langchain4j.model.qianfan
 
QianfanLanguageModelBuilder() - Constructor for class dev.langchain4j.model.qianfan.QianfanLanguageModel.QianfanLanguageModelBuilder
 
QianfanLanguageModelBuilderFactory - Interface in dev.langchain4j.model.qianfan.spi
A factory for building QianfanLanguageModel.QianfanLanguageModelBuilder instances.
QianfanLanguageModelNameEnum - Enum Class in dev.langchain4j.model.qianfan
 
QianfanStreamingChatModel - Class in dev.langchain4j.model.qianfan
see details here: https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
QianfanStreamingChatModel(String, String, String, Double, Double, String, String, String, Double, Boolean, Boolean, Proxy) - Constructor for class dev.langchain4j.model.qianfan.QianfanStreamingChatModel
 
QianfanStreamingChatModel.QianfanStreamingChatModelBuilder - Class in dev.langchain4j.model.qianfan
 
QianfanStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.qianfan.QianfanStreamingChatModel.QianfanStreamingChatModelBuilder
 
QianfanStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.qianfan.spi
QianfanStreamingLanguageModel - Class in dev.langchain4j.model.qianfan
see details here: https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
QianfanStreamingLanguageModel(String, String, String, Double, Integer, Integer, Double, String, String, Double, Boolean, Boolean) - Constructor for class dev.langchain4j.model.qianfan.QianfanStreamingLanguageModel
 
QianfanStreamingLanguageModel.QianfanStreamingLanguageModelBuilder - Class in dev.langchain4j.model.qianfan
 
QianfanStreamingLanguageModelBuilder() - Constructor for class dev.langchain4j.model.qianfan.QianfanStreamingLanguageModel.QianfanStreamingLanguageModelBuilder
 
QianfanStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.qianfan.spi
QianfanStreamingResponseBuilder - Class in dev.langchain4j.model.qianfan.client
This class needs to be thread safe because it is called when a streaming result comes back and there is no guarantee that this thread will be the same as the one that initiated the request, in fact it almost certainly won't be.
QianfanStreamingResponseBuilder(Integer) - Constructor for class dev.langchain4j.model.qianfan.client.QianfanStreamingResponseBuilder
 
quality(ImageGenerationQuality) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the quality of the image, using the ImageGenerationQuality enum.
quality(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the quality of the image.
quantizationLevel(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails.Builder
 
query - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingRequest
 
Query - Class in dev.langchain4j.rag.query
Represents a query from the user intended for retrieving relevant Contents.
Query(String) - Constructor for class dev.langchain4j.rag.query.Query
 
Query(String, Metadata) - Constructor for class dev.langchain4j.rag.query.Query
 
queryEmbedding() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest
 
queryEmbedding(Embedding) - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest.EmbeddingSearchRequestBuilder
 
queryRouter(QueryRouter) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
QueryRouter - Interface in dev.langchain4j.rag.query.router
Routes the given Query to one or multiple ContentRetrievers.
querySelector(Function<Map<Query, Collection<List<Content>>>, Query>) - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
 
queryTransformer(QueryTransformer) - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
QueryTransformer - Interface in dev.langchain4j.rag.query.transformer
Transforms the given Query into one or multiple Querys.
queryType(AzureAiSearchQueryType) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Sets the Azure AI Search Query Type.
QUESTION_ANSWERING - Enum constant in enum class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel.TaskType
 
QUESTION_ANSWERING - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
quoted(Object) - Static method in class dev.langchain4j.internal.Utils
Returns the given object's toString() surrounded by quotes.
QWEN_14B_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_72B_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_7B_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_AUDIO_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_MAX - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_MAX_LONGCONTEXT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_PLUS - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_TURBO - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_VL_MAX - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN_VL_PLUS - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN1_5_0_5B_CHAT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Qwen1.5 is the improved version of Qwen, the large language model series developed by Alibaba Cloud.
QWEN1_5_1_8B_CHAT - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Qwen1.5 is the improved version of Qwen, the large language model series developed by Alibaba Cloud.
QWEN1_5_14B_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN1_5_14B_CHAT_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Qwen1.5 is the improved version of Qwen, the large language model series developed by Alibaba Cloud.
QWEN1_5_32B_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN1_5_72B_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN1_5_7B_CHAT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN1_5_7B_CHAT_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Qwen1.5 is the improved version of Qwen, the large language model series developed by Alibaba Cloud.
QWEN2_0_5B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_1_5B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_5_0_5B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_5_1_5B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_5_14B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_5_32B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_5_3B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_5_72B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_5_7B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_57B_A14B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_72B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_7B_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QWEN2_AUDIO_INSTRUCT - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
QwenChatModel - Class in dev.langchain4j.model.dashscope
Represents a Qwen language model with a chat completion interface.
QwenChatModel(String, String, String, Double, Integer, Boolean, Integer, Float, Float, List<String>, Integer, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.dashscope.QwenChatModel
 
QwenChatModel.QwenChatModelBuilder - Class in dev.langchain4j.model.dashscope
 
QwenChatModelBuilder() - Constructor for class dev.langchain4j.model.dashscope.QwenChatModel.QwenChatModelBuilder
 
QwenChatModelBuilderFactory - Interface in dev.langchain4j.model.dashscope.spi
A factory for building QwenChatModel.QwenChatModelBuilder instances.
QwenEmbeddingModel - Class in dev.langchain4j.model.dashscope
An implementation of an EmbeddingModel that uses DashScope Embeddings API.
QwenEmbeddingModel(String, String, String) - Constructor for class dev.langchain4j.model.dashscope.QwenEmbeddingModel
 
QwenEmbeddingModel.QwenEmbeddingModelBuilder - Class in dev.langchain4j.model.dashscope
 
QwenEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.dashscope.QwenEmbeddingModel.QwenEmbeddingModelBuilder
 
QwenEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.dashscope.spi
A factory for building QwenEmbeddingModel.QwenEmbeddingModelBuilder instances.
QwenLanguageModel - Class in dev.langchain4j.model.dashscope
Represents a Qwen language model with a text interface.
QwenLanguageModel(String, String, String, Double, Integer, Boolean, Integer, Float, Float, List<String>, Integer) - Constructor for class dev.langchain4j.model.dashscope.QwenLanguageModel
 
QwenLanguageModel.QwenLanguageModelBuilder - Class in dev.langchain4j.model.dashscope
 
QwenLanguageModelBuilder() - Constructor for class dev.langchain4j.model.dashscope.QwenLanguageModel.QwenLanguageModelBuilder
 
QwenLanguageModelBuilderFactory - Interface in dev.langchain4j.model.dashscope.spi
A factory for building QwenLanguageModel.QwenLanguageModelBuilder instances.
QwenModelName - Class in dev.langchain4j.model.dashscope
The LLMs provided by Alibaba Cloud, performs better than most LLMs in Asia languages.
QwenModelName() - Constructor for class dev.langchain4j.model.dashscope.QwenModelName
 
QwenStreamingChatModel - Class in dev.langchain4j.model.dashscope
Represents a Qwen language model with a chat completion interface.
QwenStreamingChatModel(String, String, String, Double, Integer, Boolean, Integer, Float, Float, List<String>, Integer, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.dashscope.QwenStreamingChatModel
 
QwenStreamingChatModel.QwenStreamingChatModelBuilder - Class in dev.langchain4j.model.dashscope
 
QwenStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.dashscope.QwenStreamingChatModel.QwenStreamingChatModelBuilder
 
QwenStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.dashscope.spi
QwenStreamingLanguageModel - Class in dev.langchain4j.model.dashscope
Represents a Qwen language model with a text interface.
QwenStreamingLanguageModel(String, String, String, Double, Integer, Boolean, Integer, Float, Float, List<String>, Integer) - Constructor for class dev.langchain4j.model.dashscope.QwenStreamingLanguageModel
 
QwenStreamingLanguageModel.QwenStreamingLanguageModelBuilder - Class in dev.langchain4j.model.dashscope
 
QwenStreamingLanguageModelBuilder() - Constructor for class dev.langchain4j.model.dashscope.QwenStreamingLanguageModel.QwenStreamingLanguageModelBuilder
 
QwenStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.dashscope.spi
QwenStreamingResponseBuilder - Class in dev.langchain4j.model.dashscope
 
QwenStreamingResponseBuilder() - Constructor for class dev.langchain4j.model.dashscope.QwenStreamingResponseBuilder
 
QwenTokenizer - Class in dev.langchain4j.model.dashscope
 
QwenTokenizer(String, String) - Constructor for class dev.langchain4j.model.dashscope.QwenTokenizer
 
QwenTokenizer.QwenTokenizerBuilder - Class in dev.langchain4j.model.dashscope
 
QwenTokenizerBuilder() - Constructor for class dev.langchain4j.model.dashscope.QwenTokenizer.QwenTokenizerBuilder
 
QwenTokenizerBuilderFactory - Interface in dev.langchain4j.model.dashscope.spi
 

R

randomUUID() - Static method in class dev.langchain4j.internal.Utils
Returns a random UUID.
rate(Integer) - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate.Builder
 
rawDelayMs(int) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy
This method returns the raw delay in milliseconds for a given attempt.
read(JsonReader) - Method in class dev.langchain4j.model.qianfan.client.MessageTypeAdapter
 
readBytes(String) - Static method in class dev.langchain4j.internal.Utils
Reads the content as bytes from the given URL as a GET request for HTTP/HTTPS resources, and from files stored on the local filesystem.
readFrom(MessageMarshaller.ProtoStreamReader) - Method in class dev.langchain4j.store.embedding.infinispan.LangChainItemMarshaller
 
readFrom(MessageMarshaller.ProtoStreamReader) - Method in class dev.langchain4j.store.embedding.infinispan.LangChainMetadataMarshaller
 
readTimeout(Duration) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
readTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
readTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
readTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
readTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
readTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
ReciprocalRankFuser - Class in dev.langchain4j.rag.content.aggregator
Implementation of Reciprocal Rank Fusion.
ReciprocalRankFuser() - Constructor for class dev.langchain4j.rag.content.aggregator.ReciprocalRankFuser
 
recursionDetected - Variable in class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper.VisitedClassMetadata
 
recursive(int, int) - Static method in class dev.langchain4j.data.document.splitter.DocumentSplitters
This is a recommended DocumentSplitter for generic text.
recursive(int, int, Tokenizer) - Static method in class dev.langchain4j.data.document.splitter.DocumentSplitters
This is a recommended DocumentSplitter for generic text.
RecursiveDocumentSplitterFactory - Class in dev.langchain4j.data.document.splitter.recursive
 
RecursiveDocumentSplitterFactory() - Constructor for class dev.langchain4j.data.document.splitter.recursive.RecursiveDocumentSplitterFactory
 
RedisChatMemoryStore - Class in dev.langchain4j.store.memory.chat.redis
 
RedisChatMemoryStore(String, Integer, String, String) - Constructor for class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore
 
RedisChatMemoryStore.Builder - Class in dev.langchain4j.store.memory.chat.redis
 
RedisChatMemoryStoreException - Exception Class in dev.langchain4j.store.memory.chat.redis
 
RedisChatMemoryStoreException(String) - Constructor for exception class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStoreException
 
RedisEmbeddingStore - Class in dev.langchain4j.store.embedding.redis
Represents a Redis index as an embedding store.
RedisEmbeddingStore(String, Integer, String, String, String, String, Integer, Collection<String>) - Constructor for class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore
Creates an instance of RedisEmbeddingStore
RedisEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.redis
 
RedisRequestFailedException - Exception Class in dev.langchain4j.store.embedding.redis
 
RedisRequestFailedException() - Constructor for exception class dev.langchain4j.store.embedding.redis.RedisRequestFailedException
 
RedisRequestFailedException(String) - Constructor for exception class dev.langchain4j.store.embedding.redis.RedisRequestFailedException
 
RedisRequestFailedException(String, Throwable) - Constructor for exception class dev.langchain4j.store.embedding.redis.RedisRequestFailedException
 
reference - Variable in class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper.VisitedClassMetadata
 
reference() - Method in class dev.langchain4j.model.chat.request.json.JsonReferenceSchema
 
reference(String) - Method in class dev.langchain4j.model.chat.request.json.JsonReferenceSchema.Builder
 
REFONLY - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageRefMode
 
refreshSchema() - Method in class dev.langchain4j.store.graph.neo4j.Neo4jGraph
 
refreshToken(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse.Builder
 
region - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
region(Region) - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader.Builder
Set the Tencent region.
region(String) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
Set the AWS region.
region(String) - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader.Builder
Set the Tencent region.
region(String) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
region(String) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeServerlessIndexConfig.Builder
 
region(Region) - Method in class dev.langchain4j.data.document.loader.amazon.s3.AmazonS3DocumentLoader.Builder
Set the AWS region.
registerSchema() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the registerSchema record component.
registerSchema(boolean) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Register Langchain schema in the server
relevanceScore - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingResult
 
RelevanceScore - Class in dev.langchain4j.store.embedding
Utility class for converting between cosine similarity and relevance score.
remoteCache() - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
remove(String) - Method in class dev.langchain4j.data.document.Metadata
Removes the given key from the metadata.
remove(String) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
remove(String) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
 
remove(String) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Removes a single embedding from the store by ID.
remove(String) - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
The Elasticsearch implementation will simply drop the index instead of removing all documents one by one.
removeAll() - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Removes all embeddings from the store.
removeAll() - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
Removes all embeddings from the store.
removeAll() - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
removeAll() - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
 
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
 
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
removeAll(Filter) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Removes all embeddings that match the specified Filter from the store.
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
Removes all embeddings that match the specified Filter from the store.
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
 
removeAll(Filter) - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
removeAll(Collection<String>) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Removes all embeddings that match the specified IDs from the store.
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
Removes a single embedding from the store by ID.
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
removeAll(Collection<String>) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
 
removeToolMessages(List<ChatMessage>) - Static method in class dev.langchain4j.service.AiServices
 
render(Map<String, Object>) - Method in interface dev.langchain4j.spi.prompt.PromptTemplateFactory.Template
Render the template.
REPAINT - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageRefMode
 
repeat(String, int) - Static method in class dev.langchain4j.internal.Utils
Returns a string consisting of the given string repeated times times.
repeatPenalty(Double) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
repeatPenalty(Double) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
repeatPenalty(Double) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
repeatPenalty(Double) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
repetitionPenalty(Double) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
request() - Method in class dev.langchain4j.model.chat.listener.ChatModelErrorContext
 
request() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequestContext
 
request() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponseContext
 
request() - Method in class dev.langchain4j.service.tool.ToolExecution
Returns the request of the tool execution.
request(ToolExecutionRequest) - Method in class dev.langchain4j.service.tool.ToolExecution.Builder
 
RequestExecutor<Request,Response,ResponseContent> - Class in dev.langchain4j.model.qianfan.client
 
RequestExecutor(Call<Response>, Function<Response, ResponseContent>) - Constructor for class dev.langchain4j.model.qianfan.client.RequestExecutor
 
RequestExecutor(Call<Response>, Function<Response, ResponseContent>, Supplier<Request>, Class<Response>, Function<Response, ResponseContent>) - Constructor for class dev.langchain4j.model.qianfan.client.RequestExecutor
 
RequestExecutor(Call<Response>, Function<Response, ResponseContent>, OkHttpClient, String, Supplier<Request>, Class<Response>, Function<Response, ResponseContent>, boolean) - Constructor for class dev.langchain4j.model.qianfan.client.RequestExecutor
 
requestId(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
RequestLoggingInterceptor - Class in dev.langchain4j.model.qianfan.client
 
RequestLoggingInterceptor() - Constructor for class dev.langchain4j.model.qianfan.client.RequestLoggingInterceptor
 
required - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolSchema
 
required() - Element in annotation interface dev.langchain4j.agent.tool.P
Whether the parameter is required
required() - Method in class dev.langchain4j.agent.tool.ToolParameters
Deprecated.
Returns the required properties of the tool.
required() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
required() - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters
 
required(String...) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
 
required(List<String>) - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
required(List<String>) - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema.Builder
 
required(List<String>) - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters.Builder
 
required(List<String>) - Method in class dev.langchain4j.model.qianfan.client.chat.Responses.Builder
 
required(List<String>) - Method in class dev.langchain4j.model.zhipu.chat.Parameters.Builder
 
rerank(JinaRerankingRequest) - Method in class dev.langchain4j.model.jina.internal.client.JinaClient
 
rerank(JinaRerankingRequest, String) - Method in interface dev.langchain4j.model.jina.internal.api.JinaApi
 
RERANK_1 - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiScoringModelName
 
RERANK_LITE_1 - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiScoringModelName
 
reRankAndFilter(List<Content>, Query) - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 
ReRankingContentAggregator - Class in dev.langchain4j.rag.content.aggregator
A ContentAggregator that performs re-ranking using a ScoringModel, such as Cohere.
ReRankingContentAggregator(ScoringModel) - Constructor for class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 
ReRankingContentAggregator(ScoringModel, Function<Map<Query, Collection<List<Content>>>, Query>, Double) - Constructor for class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 
ReRankingContentAggregator(ScoringModel, Function<Map<Query, Collection<List<Content>>>, Query>, Double, Integer) - Constructor for class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator
 
ReRankingContentAggregator.ReRankingContentAggregatorBuilder - Class in dev.langchain4j.rag.content.aggregator
 
resolveFirstGenericParameterClass(Type) - Static method in class dev.langchain4j.service.TypeUtils
 
response() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponseContext
 
Response<T> - Class in dev.langchain4j.model.output
Represents the response from various types of models, including language, chat, embedding, and moderation models.
Response(T) - Constructor for class dev.langchain4j.model.output.Response
Create a new Response.
Response(T, TokenUsage, FinishReason) - Constructor for class dev.langchain4j.model.output.Response
Create a new Response.
Response(T, TokenUsage, FinishReason, Map<String, Object>) - Constructor for class dev.langchain4j.model.output.Response
Create a new Response.
RESPONSE_FORMAT_JSON_SCHEMA - Enum constant in enum class dev.langchain4j.model.chat.Capability
 
responseFormat - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
responseFormat - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
responseFormat() - Method in class dev.langchain4j.model.chat.request.ChatRequest
 
responseFormat(ChatCompletionsResponseFormat) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
responseFormat(ChatCompletionsResponseFormat) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
responseFormat(ChatCompletionsResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
responseFormat(ChatCompletionsResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
responseFormat(ImageGenerationResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the response format of the image, using the ImageGenerationResponseFormat enum.
responseFormat(ResponseFormat) - Method in class dev.langchain4j.model.chat.request.ChatRequest.Builder
 
responseFormat(MistralAiResponseFormatType) - Method in class dev.langchain4j.model.mistralai.MistralAiChatModel.MistralAiChatModelBuilder
 
responseFormat(MistralAiResponseFormatType) - Method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder
 
responseFormat(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the response format of the image.
responseFormat(String) - Method in class dev.langchain4j.model.mistralai.MistralAiChatModel.MistralAiChatModelBuilder
 
responseFormat(String) - Method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel.MistralAiStreamingChatModelBuilder
 
responseFormat(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
ResponseFormat - Class in dev.langchain4j.model.chat.request
 
ResponseFormat.Builder - Class in dev.langchain4j.model.chat.request
 
ResponseFormatType - Enum Class in dev.langchain4j.model.chat.request
 
ResponseLoggingInterceptor - Class in dev.langchain4j.model.qianfan.client
 
ResponseLoggingInterceptor() - Constructor for class dev.langchain4j.model.qianfan.client.ResponseLoggingInterceptor
 
responses() - Method in class dev.langchain4j.model.qianfan.client.chat.Function
 
responses(Responses) - Method in class dev.langchain4j.model.qianfan.client.chat.Function.Builder
 
Responses - Class in dev.langchain4j.model.qianfan.client.chat
 
Responses.Builder - Class in dev.langchain4j.model.qianfan.client.chat
 
restClient(RestClient) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
 
result() - Method in class dev.langchain4j.service.tool.ToolExecution
Returns the result of the tool execution.
result(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
result(String) - Method in class dev.langchain4j.service.tool.ToolExecution.Builder
 
Result<T> - Class in dev.langchain4j.service
Represents the result of an AI Service invocation.
Result() - Constructor for class dev.langchain4j.model.bedrock.BedrockTitanChatModelResponse.Result
 
Result(T, TokenUsage, List<Content>, FinishReason, List<ToolExecution>) - Constructor for class dev.langchain4j.service.Result
 
Result.ResultBuilder<T> - Class in dev.langchain4j.service
 
results - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingResponse
 
results() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationResponse
Returns the value of the results record component.
results() - Method in class dev.langchain4j.web.search.WebSearchResults
Gets the list of organic search results.
Retrieval - Class in dev.langchain4j.model.zhipu.chat
 
Retrieval(String, String) - Constructor for class dev.langchain4j.model.zhipu.chat.Retrieval
 
RETRIEVAL_DOCUMENT - Enum constant in enum class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel.TaskType
 
RETRIEVAL_DOCUMENT - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
RETRIEVAL_QUERY - Enum constant in enum class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel.TaskType
 
RETRIEVAL_QUERY - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
Retrieval.RetrievalBuilder - Class in dev.langchain4j.model.zhipu.chat
 
retrievalAugmentor - Variable in class dev.langchain4j.service.AiServiceContext
 
retrievalAugmentor(RetrievalAugmentor) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
 
retrievalAugmentor(RetrievalAugmentor) - Method in class dev.langchain4j.service.AiServices
Configures a retrieval augmentor to be invoked on every method call.
RetrievalAugmentor - Interface in dev.langchain4j.rag
Augments the provided ChatMessage with retrieved Contents.
retrievalParam(RetrievalParam) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine.Builder
 
RetrievalParam - Class in dev.langchain4j.store.embedding.vearch
As a constraint of all engine type only
RetrievalParam() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam
 
RetrievalParam(MetricType) - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam
 
RetrievalParam.BINARYIVFParam - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.BINARYIVFParam.BINARYIVFParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.FLAT - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.FLAT.FLATBuilder - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.GPUParam - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.GPUParam.GPUParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.HNSWParam - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.HNSWParam.HNSWParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.IVFFLATParam - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.IVFFLATParam.IVFFLATParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.IVFPQParam - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.IVFPQParam.IVFPQParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParam.RetrievalParamBuilder<C,B> - Class in dev.langchain4j.store.embedding.vearch
 
RetrievalParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.RetrievalParam.RetrievalParamBuilder
 
retrievalType(RetrievalType) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine.Builder
 
RetrievalType - Enum Class in dev.langchain4j.store.embedding.vearch
 
retrieve(Query) - Method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
retrieve(Query) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever
 
retrieve(Query) - Method in interface dev.langchain4j.rag.content.retriever.ContentRetriever
Retrieves relevant Contents using a given Query.
retrieve(Query) - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
retrieve(Query) - Method in class dev.langchain4j.rag.content.retriever.neo4j.Neo4jContentRetriever
 
retrieve(Query) - Method in class dev.langchain4j.rag.content.retriever.WebSearchContentRetriever
 
retrieveEmbeddingsOnSearch(Boolean) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
retriever(Retriever<TextSegment>) - Method in class dev.langchain4j.chain.ConversationalRetrievalChain.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
retriever(Retriever<TextSegment>) - Method in class dev.langchain4j.service.AiServices
Deprecated, for removal: This API element is subject to removal in a future version.
Use AiServices.contentRetriever(ContentRetriever) (e.g. EmbeddingStoreContentRetriever) instead.
Configures a retriever that will be invoked on every method call to fetch relevant information related to the current user message from an underlying source (e.g., embedding store). This relevant information is automatically injected into the message sent to the LLM.
Retriever<T> - Interface in dev.langchain4j.retriever
Deprecated, for removal: This API element is subject to removal in a future version.
Please use ContentRetriever instead.
retrieverToDescription(Map<ContentRetriever, String>) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
 
RetryPolicy(int, int, double, double) - Constructor for class dev.langchain4j.internal.RetryUtils.RetryPolicy
Construct a RetryPolicy.
retryPolicyBuilder() - Static method in class dev.langchain4j.internal.RetryUtils
This method returns a RetryPolicy.Builder.
RetryUtils - Class in dev.langchain4j.internal
Utility class for retrying actions.
RetryUtils.RetryPolicy - Class in dev.langchain4j.internal
This class encapsulates a retry policy.
RetryUtils.RetryPolicy.Builder - Class in dev.langchain4j.internal
This class encapsulates a retry policy builder.
returnDocuments - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingRequest
 
returnFullText(Boolean) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
returnFullText(Boolean) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
returnFullText(Boolean) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
revisedPrompt() - Method in class dev.langchain4j.data.image.Image
Get the revised prompt of the image.
revisedPrompt(String) - Method in class dev.langchain4j.data.image.Image.Builder
Set the revised prompt of the image.
right() - Method in class dev.langchain4j.store.embedding.filter.logical.And
 
right() - Method in class dev.langchain4j.store.embedding.filter.logical.Or
 
ROCKS_DB - Enum constant in enum class dev.langchain4j.store.embedding.vearch.SpaceStoreType
 
role - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
role - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicMessage
 
role - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
role() - Method in class dev.langchain4j.model.qianfan.client.chat.Message
 
role(Role) - Method in class dev.langchain4j.model.qianfan.client.chat.Examples.Builder
 
role(Role) - Method in class dev.langchain4j.model.qianfan.client.chat.Message.Builder
 
role(Role) - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage.SystemMessageBuilder
 
role(Role) - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage.ToolMessageBuilder
 
role(Role) - Method in class dev.langchain4j.model.zhipu.chat.UserMessage.UserMessageBuilder
 
role(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Message.Builder
 
Role - Enum Class in dev.langchain4j.model.qianfan.client.chat
 
Role - Enum Class in dev.langchain4j.model.zhipu.chat
 
rootElement() - Method in class dev.langchain4j.model.chat.request.json.JsonSchema
 
rootElement(JsonSchemaElement) - Method in class dev.langchain4j.model.chat.request.json.JsonSchema.Builder
 
route(Query) - Method in class dev.langchain4j.rag.query.router.DefaultQueryRouter
 
route(Query) - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter
 
route(Query) - Method in interface dev.langchain4j.rag.query.router.QueryRouter
Routes the given Query to one or multiple ContentRetrievers.
ROUTE_TO_ALL - Enum constant in enum class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.FallbackStrategy
In this case, the Query will be routed to all ContentRetrievers.
runningModels() - Method in class dev.langchain4j.model.ollama.OllamaModels
 
RunningOllamaModel - Class in dev.langchain4j.model.ollama
 
runtime(String, Object...) - Static method in class dev.langchain4j.internal.Exceptions
Constructs an RuntimeException with the given formatted result.

S

safeSearch() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the safe search flag.
safeSearch(Boolean) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the safe search flag.
safetySettings - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
safetySettings - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
safetySettings(Map<GeminiHarmCategory, GeminiHarmBlockThreshold>) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel.GoogleAiGeminiChatModelBuilder
 
SafetyThreshold - Enum Class in dev.langchain4j.model.vertexai
Safety thresholds, for the harm categories for the generation of responses that have been blocked by the model.
sampleImageSize(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
sampleImageStyle(VertexAiImageModel.ImageStyle) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
sanitizeMessages(List<ChatMessage>) - Static method in class dev.langchain4j.model.anthropic.internal.sanitizer.MessageSanitizer
 
SchemaHelper - Class in dev.langchain4j.model.vertexai
Helper class to create a com.google.cloud.vertexai.api.Schema from a JSON schema string, or from a class by reflection on its public fields.
SchemaHelper() - Constructor for class dev.langchain4j.model.vertexai.SchemaHelper
 
scope(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse.Builder
 
scopeName(String) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
score() - Method in record class dev.langchain4j.classification.ScoredLabel
Returns the value of the score record component.
score() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
Returns the relevance score (derivative of cosine distance) of this embedding compared to a reference embedding during a search.
score(TextSegment, String) - Method in interface dev.langchain4j.model.scoring.ScoringModel
Scores a given TextSegment against a given query.
score(String, String) - Method in interface dev.langchain4j.model.scoring.ScoringModel
Scores a given text against a given query.
scoreAll(List<TextSegment>, String) - Method in class dev.langchain4j.model.cohere.CohereScoringModel
 
scoreAll(List<TextSegment>, String) - Method in class dev.langchain4j.model.jina.JinaScoringModel
 
scoreAll(List<TextSegment>, String) - Method in class dev.langchain4j.model.scoring.onnx.OnnxScoringModel
 
scoreAll(List<TextSegment>, String) - Method in interface dev.langchain4j.model.scoring.ScoringModel
Scores all provided TextSegments against a given query.
scoreAll(List<TextSegment>, String) - Method in class dev.langchain4j.model.vertexai.VertexAiScoringModel
Scores all provided TextSegments against a given query.
scoreAll(List<TextSegment>, String) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel
 
ScoredLabel<L> - Record Class in dev.langchain4j.classification
Represents a classification label with score.
ScoredLabel(L, double) - Constructor for record class dev.langchain4j.classification.ScoredLabel
Creates an instance of a ScoredLabel record class.
scoredLabels() - Method in record class dev.langchain4j.classification.ClassificationResult
Returns the value of the scoredLabels record component.
scoringModel(ScoringModel) - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
 
ScoringModel - Interface in dev.langchain4j.model.scoring
Represents a model capable of scoring a text against a query.
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
Searches for the most similar (closest in the embedding space) Embeddings.
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore
 
search(EmbeddingSearchRequest) - 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/
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Searches for the most similar (closest in the embedding space) Embeddings.
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.pinecone.PineconeEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
search(EmbeddingSearchRequest) - Method in class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
Searches for the most similar (closest in the embedding space) Embeddings.
search(WebSearchRequest) - Method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine
 
search(WebSearchRequest) - Method in class dev.langchain4j.web.search.searchapi.SearchApiWebSearchEngine
 
search(WebSearchRequest) - Method in class dev.langchain4j.web.search.tavily.TavilyWebSearchEngine
 
search(WebSearchRequest) - Method in interface dev.langchain4j.web.search.WebSearchEngine
Performs a search request on the web search engine and returns the search results.
search(String) - Method in interface dev.langchain4j.web.search.WebSearchEngine
Performs a search query on the web search engine and returns the search results.
SearchApiWebSearchEngine - Class in dev.langchain4j.web.search.searchapi
An implementation of a WebSearchEngine that uses Search API for performing web searches.
SearchApiWebSearchEngine(String, String, Duration, String, Map<String, Object>) - Constructor for class dev.langchain4j.web.search.searchapi.SearchApiWebSearchEngine
 
searchClient - Variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
searchIndexName(String) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
searchInformation() - Method in class dev.langchain4j.web.search.WebSearchResults
Gets the information about the web search.
searchMetadata() - Method in class dev.langchain4j.web.search.WebSearchResults
Gets the metadata associated with the web search.
searchTerms() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the search terms.
searchTerms(String) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the search terms.
searchWeb(String) - Method in class dev.langchain4j.web.search.WebSearchTool
Runs a search query on the web search engine and returns a pretty-string representation of the search results.
secretKey(String) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
seed(Integer) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
seed(Integer) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
seed(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
seed(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
seed(Long) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
seed(Long) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
seed(Long) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
seed(Long) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
seed(Long) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
SeleniumDocumentLoader - Class in dev.langchain4j.data.document.loader.selenium
Utility class for loading web documents using Selenium.
SeleniumDocumentLoader.Builder - Class in dev.langchain4j.data.document.loader.selenium
 
self() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.FLAT.FLATBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.GPUParam.GPUParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.HNSWParam.HNSWParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFFLATParam.IVFFLATParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.IVFPQParam.IVFPQParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.RetrievalParam.RetrievalParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.FloatParam.FloatParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.IntegerParam.IntegerParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.SpacePropertyParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam.StringParamBuilder
 
self() - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
SEMANTIC_SEARCH_CONFIG_NAME - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
SEMANTIC_SIMILARITY - Enum constant in enum class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel.TaskType
 
SEMANTIC_SIMILARITY - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
 
SENTENCE_TRANSFORMERS_ALL_MINI_LM_L6_V2 - Static variable in class dev.langchain4j.model.huggingface.HuggingFaceModelName
 
sentenceId(Integer) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
serialize() - Method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicRole
 
serialize() - Method in enum class dev.langchain4j.model.zhipu.chat.Role
 
serialize() - Method in enum class dev.langchain4j.model.zhipu.chat.ToolChoiceMode
 
serialize() - Method in enum class dev.langchain4j.model.zhipu.chat.ToolType
 
serializeToFile(String) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
serializeToFile(Path) - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
serializeToJson() - Method in class dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
 
serverUrl(String) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
serverUrl(String) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
ServiceHelper - Class in dev.langchain4j.spi
Utility wrapper around ServiceLoader.load().
serviceName(String) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
ServiceOutputParser - Class in dev.langchain4j.service.output
 
ServiceOutputParser() - Constructor for class dev.langchain4j.service.output.ServiceOutputParser
 
serviceVersion(ModelServiceVersion) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(ModelServiceVersion) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(ModelServiceVersion) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI API service version.
session(Session) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore.Builder
Set the Session to use to obtain the document chunk NamedMap.
session(Session) - Method in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore.Builder
Set the Session to use to obtain the document chunk NamedMap.
session(String) - Method in class dev.langchain4j.store.embedding.coherence.CoherenceEmbeddingStore.Builder
Set the name of the Session to use to obtain the document chunk NamedMap.
session(String) - Method in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore.Builder
Set the name of the Session to use to obtain the document chunk NamedMap.
sessionKey(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse.Builder
 
sessionSecret(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatTokenResponse.Builder
 
setArguments(String) - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall
 
setAttributes(Collection<Document.Metadata.Attribute>) - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata
 
setCacheSize(Integer) - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam
 
setCategories(MistralCategories) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralModerationResult
 
setCategoryScores(MistralCategoryScores) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralModerationResult
 
setChoices(List<ChatCompletionChoice>) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
setCompletionTokens(Integer) - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
setCompress(SpaceStoreParam.CompressRate) - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam
 
setContent(Object) - Method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
setContent(String) - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
setContent(String) - Method in class dev.langchain4j.model.zhipu.chat.Delta
 
setContent(String) - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
setContent(String) - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
setContent(String) - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
setContentVector(Collection<Float>) - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
setCreated(Integer) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
setCreated(Long) - Method in class dev.langchain4j.model.zhipu.image.ImageResponse
 
setDangerousAndCriminalContent(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setDangerousAndCriminalContent(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setData(List<Embedding>) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
setData(List<Data>) - Method in class dev.langchain4j.model.zhipu.image.ImageResponse
 
setDatabaseName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setDelta(Delta) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
setDescription(String) - Method in class dev.langchain4j.model.zhipu.chat.Function
 
setDetails(OllamaModelDetails) - Method in class dev.langchain4j.model.ollama.OllamaModel
 
setDetails(OllamaModelDetails) - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
setDetails(OllamaModelDetails) - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
setDigest(String) - Method in class dev.langchain4j.model.ollama.OllamaModel
 
setDigest(String) - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
setDimensions(Integer) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
setEmbedding(List<Float>) - Method in class dev.langchain4j.model.zhipu.embedding.Embedding
 
setEmbedding(List<Float>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
setEmbedding(List<Float>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
setEmbeddingFieldName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setEnable(Boolean) - Method in class dev.langchain4j.model.zhipu.chat.WebSearch
 
setError(Map<String, String>) - Method in class dev.langchain4j.model.zhipu.shared.ErrorResponse
 
setExpiresAt(OffsetDateTime) - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
setFamilies(List<String>) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
setFamily(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
setFinishReason(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
setFormat(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
setFunction(Function) - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
setFunction(Function) - Method in class dev.langchain4j.model.zhipu.chat.ToolChoice
 
setFunction(FunctionCall) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
setGeneratedText(String) - Method in class dev.langchain4j.model.huggingface.client.TextGenerationResponse
 
setHateAndDiscrimination(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setHateAndDiscrimination(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setHealth(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setHealth(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setId(Integer) - Method in class dev.langchain4j.store.embedding.vearch.ListSpaceResponse
 
setId(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
setId(String) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
setId(String) - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
setId(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
setId(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
setImageUrl(Image) - Method in class dev.langchain4j.model.zhipu.chat.ImageContent
 
setIndex(Integer) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
setIndex(Integer) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
setIndex(Integer) - Method in class dev.langchain4j.model.zhipu.embedding.Embedding
 
setIndexSize(Long) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
setInput(String) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
setKey(String) - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata.Attribute
 
setLaw(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setLaw(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setLicense(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
setMessage(AssistantMessage) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice
 
setMetadata(Document.Metadata) - Method in class dev.langchain4j.store.embedding.azure.search.Document
 
setMetadata(Map<String, String>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
setMetadata(Map<String, String>) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
setMetadataFieldNames(List<String>) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setModel(String) - Method in class dev.langchain4j.model.ollama.OllamaModel
 
setModel(String) - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
setModel(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
setModel(String) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingRequest
 
setModel(String) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
setModel(String) - Method in class dev.langchain4j.model.zhipu.image.ImageRequest
 
setModelfile(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
setModelInfo(Map<String, Object>) - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
setModelParams(List<ModelParam>) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setModifiedAt(OffsetDateTime) - Method in class dev.langchain4j.model.ollama.OllamaModel
 
setModifiedAt(OffsetDateTime) - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
setName(String) - Method in class dev.langchain4j.model.ollama.OllamaModel
 
setName(String) - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
setName(String) - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
setName(String) - Method in class dev.langchain4j.model.zhipu.chat.Function
 
setName(String) - Method in class dev.langchain4j.model.zhipu.chat.FunctionCall
 
setName(String) - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
setName(String) - Method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
setName(String) - Method in class dev.langchain4j.store.embedding.vearch.ListSpaceResponse
 
setName(String) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
setObject(String) - Method in class dev.langchain4j.model.zhipu.embedding.Embedding
 
setObject(String) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
setParameters(Parameters) - Method in class dev.langchain4j.model.zhipu.chat.Function
 
setParameters(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
setParameterSize(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
setPii(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setPii(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setPrompt(String) - Method in class dev.langchain4j.model.zhipu.image.ImageRequest
 
setPromptTokens(Integer) - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
setProperties(Map<String, SpacePropertyParam>) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setProperties(Map<String, Map<String, Object>>) - Method in class dev.langchain4j.model.zhipu.chat.Parameters
 
setQuantizationLevel(String) - Method in class dev.langchain4j.model.ollama.OllamaModelDetails
 
setRate(Integer) - Method in class dev.langchain4j.store.embedding.vearch.SpaceStoreParam.CompressRate
 
setRequired(List<String>) - Method in class dev.langchain4j.model.zhipu.chat.Parameters
 
setRetrieval(Retrieval) - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
setRetrievalParam(RetrievalParam) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
setRetrievalType(RetrievalType) - Method in class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
setRole(Role) - Method in class dev.langchain4j.model.zhipu.chat.SystemMessage
 
setRole(Role) - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
setRole(Role) - Method in class dev.langchain4j.model.zhipu.chat.UserMessage
 
setScore(Double) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
setSearchQuery(String) - Method in class dev.langchain4j.model.zhipu.chat.WebSearch
 
setSelfHarm(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setSelfHarm(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setSexual(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setSexual(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setSize(long) - Method in class dev.langchain4j.model.ollama.OllamaModel
 
setSize(Long) - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
setSizeVram(Long) - Method in class dev.langchain4j.model.ollama.RunningOllamaModel
 
setSource(String) - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata
 
setSpaceEngine(SpaceEngine) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setSpaceName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setTemplate(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard
 
setText(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument
 
setText(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbMatchedDocument
 
setTextFieldName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig
 
setToolCallId(String) - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage
 
setToolCalls(List<ToolCall>) - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage
 
setToolCalls(List<ToolCall>) - Method in class dev.langchain4j.model.zhipu.chat.Delta
 
setTotalTokens(Integer) - Method in class dev.langchain4j.model.zhipu.shared.Usage
 
setType(ToolType) - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
setType(ToolType) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall
 
setType(String) - Method in class dev.langchain4j.model.zhipu.chat.ImageContent
 
setType(String) - Method in class dev.langchain4j.model.zhipu.chat.Parameters
 
setUrl(String) - Method in class dev.langchain4j.model.zhipu.chat.Image
 
setUrl(String) - Method in class dev.langchain4j.model.zhipu.image.Data
 
setUsage(Usage) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse
 
setUsage(Usage) - Method in class dev.langchain4j.model.zhipu.embedding.EmbeddingResponse
 
setUserId(String) - Method in class dev.langchain4j.model.zhipu.image.ImageRequest
 
setValue(String) - Method in class dev.langchain4j.store.embedding.azure.search.Document.Metadata.Attribute
 
setViolenceAndThreats(Boolean) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategories
 
setViolenceAndThreats(Double) - Method in class dev.langchain4j.model.mistralai.internal.api.MistralCategoryScores
 
setWebSearch(WebSearch) - Method in class dev.langchain4j.model.zhipu.chat.Tool
 
shutdown() - Method in class dev.langchain4j.model.qianfan.client.QianfanClient
 
similarity() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns the value of the similarity record component.
similarity(String) - Method in class dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore.Builder
Infinispan similarity for the embedding definition
singleText() - Method in class dev.langchain4j.data.message.UserMessage
Returns text from a single TextContent.
size(long) - Method in class dev.langchain4j.model.ollama.OllamaModel.Builder
 
size(ImageSize) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the size of the image, using the ImageSize enum.
size(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the size of the image.
SIZE_1024_1024 - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageSize
 
SIZE_1280_720 - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageSize
 
SIZE_720_1280 - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageSize
 
SKETCH - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
SKETCH - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 
sleep(int) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy
This method sleeps for a given attempt.
snippet() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
Returns the snippet associated with the web page.
source - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicImageContent
 
SOURCE - Static variable in class dev.langchain4j.data.document.source.amazon.s3.AmazonS3Source
 
SOURCE - Static variable in class dev.langchain4j.data.document.source.azure.storage.blob.AzureBlobStorageSource
 
SOURCE - Static variable in class dev.langchain4j.data.document.source.tencent.cos.TencentCosSource
 
sources() - Method in class dev.langchain4j.service.Result
 
sources(List<Content>) - Method in class dev.langchain4j.service.Result.ResultBuilder
 
spaceEngine(SpaceEngine) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
SpaceEngine - Class in dev.langchain4j.store.embedding.vearch
 
SpaceEngine() - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
SpaceEngine(String, Long, RetrievalType, RetrievalParam) - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceEngine
 
SpaceEngine.Builder - Class in dev.langchain4j.store.embedding.vearch
 
spaceName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
SpacePropertyParam - Class in dev.langchain4j.store.embedding.vearch
As a constraint type of all Space property only
SpacePropertyParam() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam
 
SpacePropertyParam(SpacePropertyType, Boolean) - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam
 
SpacePropertyParam.FloatParam - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.FloatParam.FloatParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.IntegerParam - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.IntegerParam.IntegerParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.SpacePropertyParamBuilder<C,B> - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.StringParam - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.StringParam.StringParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.VectorParam - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParam.VectorParam.VectorParamBuilder - Class in dev.langchain4j.store.embedding.vearch
 
SpacePropertyParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.SpacePropertyParamBuilder
 
SpacePropertyType - Enum Class in dev.langchain4j.store.embedding.vearch
 
SpaceStoreParam - Class in dev.langchain4j.store.embedding.vearch
 
SpaceStoreParam() - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceStoreParam
 
SpaceStoreParam(Integer, SpaceStoreParam.CompressRate) - Constructor for class dev.langchain4j.store.embedding.vearch.SpaceStoreParam
 
SpaceStoreParam.Builder - Class in dev.langchain4j.store.embedding.vearch
 
SpaceStoreParam.CompressRate - Class in dev.langchain4j.store.embedding.vearch
 
SpaceStoreParam.CompressRate.Builder - Class in dev.langchain4j.store.embedding.vearch
 
SpaceStoreType - Enum Class in dev.langchain4j.store.embedding.vearch
 
split(Document) - Method in interface dev.langchain4j.data.document.DocumentSplitter
Splits a single Document into a list of TextSegment objects.
split(Document) - Method in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
 
split(String) - Method in class dev.langchain4j.data.document.splitter.DocumentByCharacterSplitter
 
split(String) - Method in class dev.langchain4j.data.document.splitter.DocumentByLineSplitter
 
split(String) - Method in class dev.langchain4j.data.document.splitter.DocumentByParagraphSplitter
 
split(String) - Method in class dev.langchain4j.data.document.splitter.DocumentByRegexSplitter
 
split(String) - Method in class dev.langchain4j.data.document.splitter.DocumentBySentenceSplitter
 
split(String) - Method in class dev.langchain4j.data.document.splitter.DocumentByWordSplitter
 
split(String) - Method in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
Splits the provided text into parts.
splitAll(List<Document>) - Method in interface dev.langchain4j.data.document.DocumentSplitter
Splits a list of Documents into a list of TextSegment objects.
SQLCODER_7B - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanLanguageModelNameEnum
 
SQLCODER_7B_2 - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
This model is intended to be used by non-technical users to understand data inside their SQL databases.
SqlDatabaseContentRetriever - Class in dev.langchain4j.experimental.rag.content.retriever.sql
WARNING! Although fun and exciting, this class is dangerous to use! Do not ever use this in production! The database user must have very limited READ-ONLY permissions! Although the generated SQL is somewhat validated (to ensure that the SQL is a SELECT statement) using JSqlParser, this class does not guarantee that the SQL will be harmless.
SqlDatabaseContentRetriever(DataSource, String, String, PromptTemplate, ChatLanguageModel, Integer) - Constructor for class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
Creates an instance of a SqlDatabaseContentRetriever.
sqlFilterParser - Variable in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
SqlFilterParser - Class in dev.langchain4j.store.embedding.filter.parser.sql
Parses an SQL "WHERE" clause into a Filter object using JSqlParser.
SqlFilterParser() - Constructor for class dev.langchain4j.store.embedding.filter.parser.sql.SqlFilterParser
Creates an instance of SqlFilterParser.
SqlFilterParser(Clock) - Constructor for class dev.langchain4j.store.embedding.filter.parser.sql.SqlFilterParser
Creates an instance of SqlFilterParser.
SQUARE - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
 
STABLE_DIFFUSION_V1_5_IMG2IMG - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images.
STABLE_DIFFUSION_V1_5_IN_PAINTING - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.
STABLE_DIFFUSION_XL - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
Diffusion-based text-to-image generative model by Stability AI.
STABLE_DIFFUSION_XL_LIGHTNING - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
SDXL-Lightning is a lightning-fast text-to-image generation model.
StableDiffuseXlV0 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.Types
 
StableDiffuseXlV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.Types
 
STARLING_LM_7B_BETA - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
We introduce Starling-LM-7B-beta, an open large language model (LLM) trained by Reinforcement Learning from AI Feedback (RLAIF).
start() - Method in class dev.langchain4j.service.AiServiceTokenStream
 
start() - Method in interface dev.langchain4j.service.TokenStream
Completes the current token stream building and starts processing.
startIndex() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the start index for search results.
startIndex(Integer) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the start index for search results.
startPage() - Method in class dev.langchain4j.web.search.WebSearchRequest
Get the start page number for search results.
startPage(Integer) - Method in class dev.langchain4j.web.search.WebSearchRequest.Builder
Set the start page number for search results.
statusCode() - Method in exception class dev.langchain4j.model.anthropic.internal.client.AnthropicHttpException
HTTP response status code.
stop(String...) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
stop(List<String>) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
stop(List<String>) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
stop(List<String>) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
stop(List<String>) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
STOP - Enum constant in enum class dev.langchain4j.model.output.FinishReason
The model call finished because the model decided the request was done.
stopReason - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
stopReason - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicDelta
 
stopReason - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
stops(List<String>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
stops(List<String>) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
stopSequence - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
stopSequence - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicDelta
 
stopSequence - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
stopSequences - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
stopSequences - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
stopSequences - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
stopSequences - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
storageMode() - Method in interface dev.langchain4j.store.embedding.pgvector.MetadataStorageConfig
Metadata storage mode COMBINED_JSON: For dynamic metadata, when you don't know the list of metadata that will be used.
storeParam(SpaceStoreParam) - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
storeType(SpaceStoreType) - Method in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
stream - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
stream() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
stream() - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest
 
stream(Boolean) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
stream(Boolean) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
stream(Boolean) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
streamingChatCompletion(MistralAiChatCompletionRequest) - Method in interface dev.langchain4j.model.mistralai.internal.api.MistralAiApi
 
streamingChatCompletion(MistralAiChatCompletionRequest, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.mistralai.internal.client.DefaultMistralAiClient
 
streamingChatCompletion(MistralAiChatCompletionRequest, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient
 
streamingChatLanguageModel(StreamingChatLanguageModel) - Method in class dev.langchain4j.service.AiServices
Configures streaming chat model that will be used under the hood of the AI Service.
StreamingChatLanguageModel - Interface in dev.langchain4j.model.chat
Represents a language model that has a chat interface and can stream a response one token at a time.
streamingChatModel - Variable in class dev.langchain4j.service.AiServiceContext
 
StreamingCompletionHandling - Interface in dev.langchain4j.model.qianfan.client
 
StreamingLanguageModel - Interface in dev.langchain4j.model.language
Represents a language model that has a simple text interface (as opposed to a chat interface) and can stream a response one token at a time.
StreamingRequestExecutor<Request,Response,ResponseContent> - Class in dev.langchain4j.model.qianfan.client
 
StreamingResponseHandler<T> - Interface in dev.langchain4j.model
Represents a handler for streaming responses from a language model.
StreamingResponseHandling - Interface in dev.langchain4j.model.qianfan.client
 
streamMessage(String, String, String, AnthropicCreateMessageRequest) - Method in interface dev.langchain4j.model.anthropic.internal.api.AnthropicApi
 
STRING - Enum constant in enum class dev.langchain4j.store.embedding.vearch.SpacePropertyType
keyword is equivalent to string
STRING - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonStringSchema() instead
STRING - Static variable in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
StringParam() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam
 
StringParam(Boolean, Boolean) - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam
 
StringParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.StringParam.StringParamBuilder
 
StructuredPrompt - Annotation Interface in dev.langchain4j.model.input.structured
Represents a structured prompt.
StructuredPrompt.Util - Class in dev.langchain4j.model.input.structured
Utility class for StructuredPrompt.
StructuredPromptFactory - Interface in dev.langchain4j.spi.prompt.structured
Represents a factory for structured prompts.
StructuredPromptProcessor - Class in dev.langchain4j.model.input.structured
Utility class for structured prompts.
style(ImageGenerationStyle) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the style of the image, using the ImageGenerationStyle enum.
style(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the style of the image.
subSplitter - Variable in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
 
sum(TokenUsage, TokenUsage) - Static method in class dev.langchain4j.model.output.TokenUsage
Adds two token usages.
supportedCapabilities() - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
 
supportedCapabilities() - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
supportedCapabilities() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
 
SyncOrAsync<ResponseContent> - Interface in dev.langchain4j.model.qianfan.client
 
SyncOrAsyncOrStreaming<ResponseContent> - Interface in dev.langchain4j.model.qianfan.client
 
SyncRequestExecutor<Response,ResponseContent> - Class in dev.langchain4j.model.qianfan.client
 
system - Enum constant in enum class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest.MessageRole
Directive for the prompt
system - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
system() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
system(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
SYSTEM - Enum constant in enum class dev.langchain4j.data.message.ChatMessageType
A message from the system, typically defined by a developer.
SYSTEM - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiRole
 
SYSTEM - Enum constant in enum class dev.langchain4j.model.qianfan.client.chat.Role
 
SYSTEM - Enum constant in enum class dev.langchain4j.model.zhipu.chat.Role
 
systemMessage(String) - Static method in class dev.langchain4j.data.message.SystemMessage
Creates a new system message.
systemMessage(String) - Static method in class dev.langchain4j.model.qianfan.client.chat.Message
 
SystemMessage - Class in dev.langchain4j.data.message
Represents a system message, typically defined by a developer.
SystemMessage - Class in dev.langchain4j.model.zhipu.chat
 
SystemMessage - Annotation Interface in dev.langchain4j.service
Specifies either a complete system message (prompt) or a system message template to be used each time an AI service is invoked.
SystemMessage(Role, String, String) - Constructor for class dev.langchain4j.model.zhipu.chat.SystemMessage
 
SystemMessage(String) - Constructor for class dev.langchain4j.data.message.SystemMessage
Creates a new system message.
SystemMessage.SystemMessageBuilder - Class in dev.langchain4j.model.zhipu.chat
 
systemMessageProvider - Variable in class dev.langchain4j.service.AiServiceContext
 
systemMessageProvider(Function<Object, String>) - Method in class dev.langchain4j.service.AiServices
Configures the system message provider, which provides a system message to be used each time an AI service is invoked.

T

table - Variable in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
table - Variable in class dev.langchain4j.store.embedding.pgvector.PgVectorEmbeddingStore
Embeddings table name
table - Variable in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
table(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
table(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
table(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
table(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
tableDefinition - Variable in class dev.langchain4j.store.embedding.filter.builder.sql.LanguageModelSqlFilterBuilder
 
TableDefinition - Class in dev.langchain4j.store.embedding.filter.builder.sql
 
TableDefinition(String, String, Collection<ColumnDefinition>) - Constructor for class dev.langchain4j.store.embedding.filter.builder.sql.TableDefinition
 
TableDefinition.Builder - Class in dev.langchain4j.store.embedding.filter.builder.sql
 
TablestoreChatMemoryStore - Class in dev.langchain4j.store.memory.chat.tablestore
 
TablestoreChatMemoryStore(SyncClient) - Constructor for class dev.langchain4j.store.memory.chat.tablestore.TablestoreChatMemoryStore
 
TablestoreChatMemoryStore(SyncClient, String, String, String, String) - Constructor for class dev.langchain4j.store.memory.chat.tablestore.TablestoreChatMemoryStore
 
TablestoreEmbeddingStore - Class in dev.langchain4j.store.embedding.tablestore
 
TablestoreEmbeddingStore(SyncClient, int) - Constructor for class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
TablestoreEmbeddingStore(SyncClient, int, List<FieldSchema>) - Constructor for class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
TablestoreEmbeddingStore(SyncClient, String, String, String, String, String, int, VectorMetricType, List<FieldSchema>) - Constructor for class dev.langchain4j.store.embedding.tablestore.TablestoreEmbeddingStore
 
TAO_8K - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanEmbeddingModelNameEnum
 
taskType(VertexAiEmbeddingModel.TaskType) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
TavilyWebSearchEngine - Class in dev.langchain4j.web.search.tavily
Represents Tavily Search API as a WebSearchEngine.
TavilyWebSearchEngine(String, String, Duration, String, Boolean, Boolean, List<String>, List<String>) - Constructor for class dev.langchain4j.web.search.tavily.TavilyWebSearchEngine
 
temperature - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
temperature - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
temperature - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
temperature - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
temperature() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest
 
temperature() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
 
temperature(Double) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
temperature(Double) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
temperature(Double) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
temperature(Double) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
temperature(Double) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
temperature(Double) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
temperature(Double) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
template() - Method in class dev.langchain4j.model.input.PromptTemplate
 
template(String) - Method in class dev.langchain4j.model.ollama.OllamaModelCard.Builder
 
TencentCosDocumentLoader - Class in dev.langchain4j.data.document.loader.tencent.cos
 
TencentCosDocumentLoader(COSClient) - Constructor for class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader
 
TencentCosDocumentLoader.Builder - Class in dev.langchain4j.data.document.loader.tencent.cos
 
TencentCosSource - Class in dev.langchain4j.data.document.source.tencent.cos
 
TencentCosSource(InputStream, String, String) - Constructor for class dev.langchain4j.data.document.source.tencent.cos.TencentCosSource
 
tencentCredentials(TencentCredentials) - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCosDocumentLoader.Builder
Set the Tencent credentials.
TencentCredentials - Class in dev.langchain4j.data.document.loader.tencent.cos
 
TencentCredentials(String, String) - Constructor for class dev.langchain4j.data.document.loader.tencent.cos.TencentCredentials
 
TencentCredentials(String, String, String) - Constructor for class dev.langchain4j.data.document.loader.tencent.cos.TencentCredentials
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsIn
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
test(Object) - Method in interface dev.langchain4j.store.embedding.filter.Filter
Tests if a given object satisfies this Filter.
test(Object) - Method in class dev.langchain4j.store.embedding.filter.logical.And
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.logical.Not
 
test(Object) - Method in class dev.langchain4j.store.embedding.filter.logical.Or
 
test(Object) - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatch
 
test(Object) - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatchPhrase
 
text - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicContent
 
text - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicDelta
 
text - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicTextContent
 
text - Variable in class dev.langchain4j.model.jina.internal.api.JinaDocument
 
text() - Method in class dev.langchain4j.data.document.Document
Returns the text of this document.
text() - Method in class dev.langchain4j.data.message.AiMessage
Get the text of the message.
text() - Method in interface dev.langchain4j.data.message.ChatMessage
Deprecated, for removal: This API element is subject to removal in a future version.
text() - Method in class dev.langchain4j.data.message.SystemMessage
Returns the message text.
text() - Method in class dev.langchain4j.data.message.TextContent
Returns the text.
text() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
Returns the result of the tool execution.
text() - Method in class dev.langchain4j.data.message.UserMessage
Deprecated, for removal: This API element is subject to removal in a future version.
text() - Method in class dev.langchain4j.data.segment.TextSegment
Returns the text.
text() - Method in class dev.langchain4j.model.input.Prompt
The text of the prompt.
text() - Method in class dev.langchain4j.rag.query.Query
 
text() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Returns the value of the text record component.
text(String) - Method in class dev.langchain4j.model.zhipu.chat.TextContent.TextContentBuilder
 
text(String) - Method in class dev.langchain4j.store.embedding.mongodb.MongoDbDocument.Builder
 
TEXT - Enum constant in enum class dev.langchain4j.data.message.ContentType
Text content.
TEXT - Enum constant in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicContentBlockType
 
TEXT - Enum constant in enum class dev.langchain4j.model.chat.request.ResponseFormatType
 
TEXT - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiResponseFormatType
 
TEXT - Static variable in class dev.langchain4j.model.chat.request.ResponseFormat
 
TEXT_DAVINCI_002 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
TEXT_DAVINCI_002 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_DAVINCI_002_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
TEXT_EMBEDDING - Enum constant in enum class dev.langchain4j.model.zhipu.embedding.EmbeddingModel
 
TEXT_EMBEDDING_004 - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
TEXT_EMBEDDING_3_LARGE - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_LARGE - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsEmbeddingModelName
 
TEXT_EMBEDDING_3_LARGE - Enum constant in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_LARGE - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_EMBEDDING_3_LARGE_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_SMALL - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_SMALL - Enum constant in enum class dev.langchain4j.model.github.GitHubModelsEmbeddingModelName
 
TEXT_EMBEDDING_3_SMALL - Enum constant in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_SMALL - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_EMBEDDING_3_SMALL_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_ADA_002 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_ADA_002 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
 
TEXT_EMBEDDING_ADA_002 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_EMBEDDING_ADA_002 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
TEXT_EMBEDDING_ADA_002_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_ADA_002_2 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_PREVIEW_0815 - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
TEXT_EMBEDDING_V1 - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
TEXT_EMBEDDING_V2 - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
TEXT_EMBEDDING_V3 - Static variable in class dev.langchain4j.model.dashscope.QwenModelName
 
TEXT_FILE - Enum constant in enum class dev.langchain4j.data.message.ContentType
Text file content.
TEXT_MODERATION_LATEST - Enum constant in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
 
TEXT_MODERATION_LATEST - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
TEXT_MODERATION_STABLE - Enum constant in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
 
TEXT_MODERATION_STABLE - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
Deprecated.
 
TEXT_MULTILINGUAL_EMBEDDING_002 - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
TextClassifier<L> - Interface in dev.langchain4j.classification
Classifies a given text based on a set of labels.
textColumn() - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable
Returns the name of this table's text column.
textColumn(String) - Method in class dev.langchain4j.store.embedding.oracle.EmbeddingTable.Builder
Configures the name of a column which stores text.
TextContent - Class in dev.langchain4j.data.message
Represents a text content.
TextContent - Class in dev.langchain4j.model.zhipu.chat
 
TextContent(String) - Constructor for class dev.langchain4j.data.message.TextContent
Creates a new text content.
TextContent(String, String) - Constructor for class dev.langchain4j.model.zhipu.chat.TextContent
 
TextContent.TextContentBuilder - Class in dev.langchain4j.model.zhipu.chat
 
TextContentBuilder() - Constructor for class dev.langchain4j.model.zhipu.chat.TextContent.TextContentBuilder
 
TextDocumentParser - Class in dev.langchain4j.data.document.parser
 
TextDocumentParser() - Constructor for class dev.langchain4j.data.document.parser.TextDocumentParser
 
TextDocumentParser(Charset) - Constructor for class dev.langchain4j.data.document.parser.TextDocumentParser
 
TEXTEMBEDDING_GECKO_001 - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
TEXTEMBEDDING_GECKO_002 - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
TEXTEMBEDDING_GECKO_003 - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
TEXTEMBEDDING_GECKO_MULTILINGUAL_001 - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
textFieldName(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
textFieldName(String) - Method in class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
textFile() - Method in class dev.langchain4j.data.message.TextFileContent
Get the TextFile.
TextFile - Class in dev.langchain4j.data.text
 
TextFile.Builder - Class in dev.langchain4j.data.text
Builder for TextFile.
TextFileContent - Class in dev.langchain4j.data.message
 
TextFileContent(TextFile) - Constructor for class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given text file.
TextFileContent(String) - Constructor for class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given url.
TextFileContent(String, String) - Constructor for class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given base64 data and mime type.
TextFileContent(URI) - Constructor for class dev.langchain4j.data.message.TextFileContent
Create a new TextFileContent from the given url.
TextGenerationRequest - Class in dev.langchain4j.model.huggingface.client
 
TextGenerationRequest.Builder - Class in dev.langchain4j.model.huggingface.client
 
TextGenerationResponse - Class in dev.langchain4j.model.huggingface.client
 
TextGenerationResponse() - Constructor for class dev.langchain4j.model.huggingface.client.TextGenerationResponse
 
TextGenerationResponse(String) - Constructor for class dev.langchain4j.model.huggingface.client.TextGenerationResponse
 
TextRange() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse.TextRange
 
TextResponse() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiTextCompletionResponse.TextResponse
Default constructor.
textSegment() - Method in class dev.langchain4j.rag.content.Content
 
textSegment(String) - Static method in class dev.langchain4j.data.segment.TextSegment
Creates a new text segment.
textSegment(String, Metadata) - Static method in class dev.langchain4j.data.segment.TextSegment
Creates a new text segment.
TextSegment - Class in dev.langchain4j.data.segment
Represents a semantically meaningful segment (chunk/piece/fragment) of a larger entity such as a document or chat conversation.
TextSegment(String, Metadata) - Constructor for class dev.langchain4j.data.segment.TextSegment
Creates a new text segment.
textSegmentTransformer(TextSegmentTransformer) - Method in class dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
Sets the text segment transformer.
TextSegmentTransformer - Interface in dev.langchain4j.data.segment
Defines the interface for transforming a TextSegment.
thoughts() - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
thoughts(String) - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall.Builder
 
THREE_FOURTHS - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
 
ThreeDModel - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
thumbnailLink() - Method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine.ImageSearchResult
 
TII_UAE_FALCON_7B_INSTRUCT - Static variable in class dev.langchain4j.model.huggingface.HuggingFaceModelName
 
TileTexture - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
 
timeout - Variable in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
timeout - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
timeout - Variable in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
timeout - Variable in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
timeout() - Method in interface dev.langchain4j.model.huggingface.spi.HuggingFaceClientFactory.Input
 
timeout(Duration) - Method in class dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
timeout(Duration) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.mistralai.internal.client.MistralAiClient.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.mistralai.MistralAiModerationModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
timeout(Duration) - Method in class dev.langchain4j.model.ollama.OllamaEmbeddingModel.OllamaEmbeddingModelBuilder
 
timeout(Duration) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
timeout(Duration) - Method in class dev.langchain4j.model.ollama.OllamaModels.OllamaModelsBuilder
 
timeout(Duration) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
timeout(Duration) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
timeout(Duration) - Method in class dev.langchain4j.model.ovhai.internal.client.OvhAiClient.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
 
timeout(Duration) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore.Builder
 
TINYLLAMA_1_1B_CHAT_V1_0 - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
The TinyLlama project aims to pretrain a 1.1B Llama model on 3 trillion tokens.
TitanEmbedTextV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel.Types
 
TitanEmbedTextV2 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel.Types
 
TitanTextExpressV1 - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockTitanChatModel.Types
 
TitanTg1Large - Enum constant in enum class dev.langchain4j.model.bedrock.BedrockTitanChatModel.Types
 
title() - Method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine.ImageSearchResult
 
title() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
Returns the title of the web page.
titleMetadataKey(String) - Method in class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
 
titleMetadataKey(String) - Method in class dev.langchain4j.model.vertexai.VertexAiScoringModel.Builder
 
toAiMessage() - Method in class dev.langchain4j.model.input.Prompt
Convert this prompt to an AiMessage.
toAiMessage(List<AnthropicContent>) - Static method in class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
toAiMessage(T) - Method in class dev.langchain4j.model.bedrock.internal.AbstractBedrockChatModel
 
toAnthropicMessages(List<ChatMessage>) - Static method in class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
toAnthropicSystemPrompt(List<ChatMessage>, AnthropicCacheType) - Static method in class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
toAnthropicTool(ToolSpecification, AnthropicCacheType) - Static method in class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
toAnthropicTools(List<ToolSpecification>, AnthropicCacheType) - Static method in class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
toContentRetriever() - Method in interface dev.langchain4j.retriever.Retriever
Deprecated.
 
toCredentials() - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCredentials
 
toCredentialsProvider() - Method in class dev.langchain4j.data.document.loader.amazon.s3.AwsCredentials
 
toCredentialsProvider() - Method in class dev.langchain4j.data.document.loader.tencent.cos.TencentCredentials
 
toDocument() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
Converts this WebSearchOrganicResult to a Document.
toDocuments() - Method in class dev.langchain4j.web.search.WebSearchResults
Converts the organic search results to a list of documents.
toEmbedding() - Method in class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingResponse
 
toEmbedding() - Method in interface dev.langchain4j.model.bedrock.internal.BedrockEmbeddingResponse
Get embedding
toFinishReason(Generator.FinishReason) - Static method in class dev.langchain4j.model.jlama.JlamaLanguageModel
 
toFinishReason(String) - Static method in class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
toFunctions(Collection<ToolSpecification>) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
Deprecated.
Functions are deprecated by OpenAI, use InternalOpenAiHelper.toTools(Collection, boolean) instead
toFunctions(Collection<ToolSpecification>) - Static method in class dev.langchain4j.model.qianfan.InternalQianfanHelper
 
toInputStream(Object, Class<?>) - Method in interface dev.langchain4j.internal.Json.JsonCodec
Deprecated.
Convert the given object to an InputStream.
toInputStream(Object, Class<?>) - Static method in class dev.langchain4j.internal.Json
Deprecated.
use Jackson's ObjectMapper
toJson(InMemoryEmbeddingStore<?>) - Method in class dev.langchain4j.store.embedding.inmemory.GsonInMemoryEmbeddingStoreJsonCodec
 
toJson(InMemoryEmbeddingStore<?>) - Method in interface dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStoreJsonCodec
 
toJson(Object) - Method in interface dev.langchain4j.internal.Json.JsonCodec
Deprecated.
Convert the given object to JSON.
toJson(Object) - Static method in class dev.langchain4j.internal.Json
Deprecated.
use Jackson's ObjectMapper
toJson(Object) - Static method in class dev.langchain4j.model.bedrock.internal.Json
 
token(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.BuilderAstra
 
token(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
token(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.BuilderAstra
 
Token() - Constructor for class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModelResponse.Token
 
TokenCountEstimator - Interface in dev.langchain4j.model.chat
Represents an interface for estimating the count of tokens in various text types such as a text, message, prompt, text segment, etc.
TokenCountEstimator - Interface in dev.langchain4j.model.embedding
Represents an interface for estimating the count of tokens in various texts, text segments, etc.
TokenCountEstimator - Interface in dev.langchain4j.model.language
Represents an interface for estimating the count of tokens in various text types such as a text, prompt, text segment, etc.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchContentRetriever.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.store.embedding.azure.search.AzureAiSearchEmbeddingStore.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenizer - Variable in class dev.langchain4j.data.document.splitter.HierarchicalDocumentSplitter
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
Tokenizer - Interface in dev.langchain4j.model
Represents an interface for estimating the count of tokens in various text types such as a text, prompt, text segment, etc.
TokenLikelihood() - Constructor for class dev.langchain4j.model.bedrock.BedrockCohereChatModelResponse.TokenLikelihood
 
TokenStream - Interface in dev.langchain4j.service
Represents a token stream from language model to which you can subscribe and receive updates when a new token is available, when language model finishes streaming, or when an error occurs during streaming.
TokenStreamAdapter - Interface in dev.langchain4j.spi.services
 
tokenUsage() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse
 
tokenUsage() - Method in class dev.langchain4j.model.chat.response.ChatResponse
 
tokenUsage() - Method in class dev.langchain4j.model.output.Response
Get the token usage statistics.
tokenUsage() - Method in class dev.langchain4j.service.Result
 
tokenUsage() - Method in class dev.langchain4j.store.embedding.IngestionResult
 
tokenUsage(TokenUsage) - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
 
tokenUsage(TokenUsage) - Method in class dev.langchain4j.model.chat.response.ChatResponse.Builder
 
tokenUsage(TokenUsage) - Method in class dev.langchain4j.service.Result.ResultBuilder
 
TokenUsage - Class in dev.langchain4j.model.output
Represents the token usage of a response.
TokenUsage() - Constructor for class dev.langchain4j.model.output.TokenUsage
Creates a new TokenUsage instance with all fields set to null.
TokenUsage(Integer) - Constructor for class dev.langchain4j.model.output.TokenUsage
Creates a new TokenUsage instance with the given input token count.
TokenUsage(Integer, Integer) - Constructor for class dev.langchain4j.model.output.TokenUsage
Creates a new TokenUsage instance with the given input and output token counts.
TokenUsage(Integer, Integer, Integer) - Constructor for class dev.langchain4j.model.output.TokenUsage
Creates a new TokenUsage instance with the given input, output and total token counts.
tokenUsageFrom(Usage) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
 
tokenUsageFrom(MistralAiUsage) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
TokenWindowChatMemory - Class in dev.langchain4j.memory.chat
This chat memory operates as a sliding window of TokenWindowChatMemory.maxTokens tokens.
TokenWindowChatMemory.Builder - Class in dev.langchain4j.memory.chat
 
toMap() - Method in class dev.langchain4j.data.document.Metadata
Get a copy of the metadata as a map of key-value pairs.
toMap(JsonSchemaElement) - Static method in class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
 
toMap(Map<String, JsonSchemaElement>) - Static method in class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
 
toMistralAiMessages(List<ChatMessage>) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
toMistralAiResponseFormat(String) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
toMistralAiTools(List<ToolSpecification>) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
Tool - Class in dev.langchain4j.model.zhipu.chat
 
Tool - Annotation Interface in dev.langchain4j.agent.tool
Java methods annotated with @Tool are considered tools/functions that language model can execute/call.
Tool(Function) - Constructor for class dev.langchain4j.model.zhipu.chat.Tool
 
TOOL - Enum constant in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicToolChoiceType
 
TOOL - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiRole
 
TOOL - Enum constant in enum class dev.langchain4j.model.zhipu.chat.Role
 
TOOL_EXECUTION - Enum constant in enum class dev.langchain4j.model.output.FinishReason
The call finished signalling a need for tool execution.
TOOL_EXECUTION_RESULT - Enum constant in enum class dev.langchain4j.data.message.ChatMessageType
A message from a tool.
TOOL_USE - Enum constant in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicContentBlockType
 
ToolCall - Class in dev.langchain4j.model.zhipu.chat
 
ToolCall() - Constructor for class dev.langchain4j.model.zhipu.chat.ToolCall
 
ToolCall(String, Integer, ToolType, FunctionCall) - Constructor for class dev.langchain4j.model.zhipu.chat.ToolCall
 
ToolCall.ToolCallBuilder - Class in dev.langchain4j.model.zhipu.chat
 
toolCallId(String) - Method in class dev.langchain4j.model.zhipu.chat.ToolMessage.ToolMessageBuilder
 
ToolCallingMode - Enum Class in dev.langchain4j.model.vertexai
Tool calling mode, to instruct Gemini whether it can request calls to any functions, to just a subset of the available functions, or to none at all.
toolCalls(ToolCall...) - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage.Builder
 
toolCalls(List<ToolCall>) - Method in class dev.langchain4j.model.zhipu.chat.AssistantMessage.Builder
 
toolCalls(List<ToolCall>) - Method in class dev.langchain4j.model.zhipu.chat.Delta.Builder
 
toolChoice - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
toolChoice(ToolChoiceMode) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
toolChoice(Object) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
toolChoice(String) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
ToolChoice - Class in dev.langchain4j.model.zhipu.chat
 
ToolChoice(String) - Constructor for class dev.langchain4j.model.zhipu.chat.ToolChoice
 
ToolChoiceMode - Enum Class in dev.langchain4j.model.zhipu.chat
 
toolConfig - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
toolConfig - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
toolConfig(GeminiMode, String...) - Method in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel.GoogleAiGeminiChatModelBuilder
 
ToolExecution - Class in dev.langchain4j.service.tool
Represents the execution of a tool, including the request and the result.
ToolExecution.Builder - Class in dev.langchain4j.service.tool
 
ToolExecutionRequest - Class in dev.langchain4j.agent.tool
Represents an LLM-generated request to execute a tool.
ToolExecutionRequest.Builder - Class in dev.langchain4j.agent.tool
ToolExecutionRequest builder static inner class.
toolExecutionRequests() - Method in class dev.langchain4j.data.message.AiMessage
Get the tool execution requests of the message.
toolExecutionResultMessage(ToolExecutionRequest, String) - Static method in class dev.langchain4j.data.message.ToolExecutionResultMessage
Creates a ToolExecutionResultMessage from a ToolExecutionRequest and the result of the tool execution.
toolExecutionResultMessage(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.
ToolExecutionResultMessage - Class in dev.langchain4j.data.message
Represents the result of a tool execution in response to a ToolExecutionRequest.
ToolExecutionResultMessage(String, String, String) - Constructor for class dev.langchain4j.data.message.ToolExecutionResultMessage
toolExecutions() - Method in class dev.langchain4j.service.Result
 
toolExecutions(List<ToolExecution>) - Method in class dev.langchain4j.service.Result.ResultBuilder
 
ToolExecutor - Interface in dev.langchain4j.service.tool
A low-level executor/handler of a ToolExecutionRequest.
toolExecutors - Variable in class dev.langchain4j.service.AiServiceContext
 
ToolMemoryId - Annotation Interface in dev.langchain4j.agent.tool
If a Tool method parameter is annotated with this annotation, memory id (parameter annotated with @MemoryId in AI Service) will be injected automatically.
ToolMessage - Class in dev.langchain4j.model.zhipu.chat
 
ToolMessage(Role, String, String) - Constructor for class dev.langchain4j.model.zhipu.chat.ToolMessage
 
ToolMessage.ToolMessageBuilder - Class in dev.langchain4j.model.zhipu.chat
 
ToolMessageBuilder() - Constructor for class dev.langchain4j.model.zhipu.chat.ToolMessage.ToolMessageBuilder
 
toolName() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
Returns the name of the tool.
toolParameters() - Method in class dev.langchain4j.agent.tool.ToolSpecification
Deprecated, for removal: This API element is subject to removal in a future version.
ToolParameters - Class in dev.langchain4j.agent.tool
Deprecated, for removal: This API element is subject to removal in a future version.
please use the new JsonObjectSchema API instead to define the schema for tool parameters. Example:
 ToolSpecification.builder()
     .name("weather")
     .description("Returns the current weather in the specified city")
     .parameters(JsonObjectSchema.builder()
         .addStringProperty("city", "The name of the city, e.g., Munich")
         .addEnumProperty("units", List.of("CELSIUS", "FAHRENHEIT"))
         .required("city") // please specify mandatory properties explicitly
         .build())
     .build();
 
ToolParameters.Builder - Class in dev.langchain4j.agent.tool
Deprecated.
ToolParameters builder static inner class.
toolProvider - Variable in class dev.langchain4j.service.AiServiceContext
 
toolProvider(ToolProvider) - Method in class dev.langchain4j.service.AiServices
Configures the tool provider that the LLM can use
ToolProvider - Interface in dev.langchain4j.service.tool
A tool provider.
ToolProviderRequest - Class in dev.langchain4j.service.tool
 
ToolProviderRequest(Object, UserMessage) - Constructor for class dev.langchain4j.service.tool.ToolProviderRequest
 
ToolProviderResult - Class in dev.langchain4j.service.tool
 
ToolProviderResult(Map<ToolSpecification, ToolExecutor>) - Constructor for class dev.langchain4j.service.tool.ToolProviderResult
 
ToolProviderResult.Builder - Class in dev.langchain4j.service.tool
 
tools - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
tools() - Method in class dev.langchain4j.service.tool.ToolProviderResult
 
tools(Tool...) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
tools(Object...) - Method in class dev.langchain4j.service.AiServices
Configures the tools that the LLM can use.
tools(List<Tool>) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
tools(List<Object>) - Method in class dev.langchain4j.service.AiServices
Configures the tools that the LLM can use.
tools(Map<ToolSpecification, ToolExecutor>) - Method in class dev.langchain4j.service.AiServices
Configures the tools that the LLM can use.
ToolSpecification - Class in dev.langchain4j.agent.tool
Describes a tool that language model can execute.
ToolSpecification.Builder - Class in dev.langchain4j.agent.tool
ToolSpecification builder static inner class.
toolSpecificationFrom(Method) - Static method in class dev.langchain4j.agent.tool.ToolSpecifications
Returns the ToolSpecification for the given method annotated with @Tool.
toolSpecifications - Variable in class dev.langchain4j.service.AiServiceContext
 
toolSpecifications() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest
 
toolSpecifications() - Method in class dev.langchain4j.model.chat.request.ChatRequest
 
toolSpecifications(ToolSpecification...) - Method in class dev.langchain4j.model.chat.request.ChatRequest.Builder
 
toolSpecifications(List<ToolSpecification>) - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
 
toolSpecifications(List<ToolSpecification>) - Method in class dev.langchain4j.model.chat.request.ChatRequest.Builder
 
ToolSpecifications - Class in dev.langchain4j.agent.tool
Utility methods for ToolSpecifications.
toolSpecificationsFrom(Class<?>) - Static method in class dev.langchain4j.agent.tool.ToolSpecifications
Returns ToolSpecifications for all methods annotated with @Tool within the specified class.
toolSpecificationsFrom(Object) - Static method in class dev.langchain4j.agent.tool.ToolSpecifications
Returns ToolSpecifications for all methods annotated with @Tool within the class of the specified object.
ToolType - Enum Class in dev.langchain4j.model.zhipu.chat
 
toolUseId - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolResultContent
 
toOpenAiMessage(ChatMessage) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
 
toOpenAiMessages(List<ChatMessage>) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
 
toOpenAiMessages(List<ChatMessage>) - Static method in class dev.langchain4j.model.qianfan.InternalQianfanHelper
 
topK - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
topK - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
topK - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
topK - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
topK(Integer) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
topK(Integer) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
topK(Integer) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
topK(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
topK(Integer) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
topK(Integer) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
topK(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
topK(Integer) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
topK(Integer) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
The number of most relevant documents to return.
topP - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
 
topP - Variable in class dev.langchain4j.model.bedrock.internal.AbstractSharedBedrockChatModel
 
topP - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiChatModel
 
topP - Variable in class dev.langchain4j.model.googleai.GoogleAiGeminiStreamingChatModel
 
topP() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest
 
topP() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
 
topP(Double) - Method in class dev.langchain4j.model.chatglm.ChatGlmChatModel.ChatGlmChatModelBuilder
 
topP(Double) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.huggingface.client.Parameters.Builder
 
topP(Double) - Method in class dev.langchain4j.model.ollama.OllamaChatModel.OllamaChatModelBuilder
 
topP(Double) - Method in class dev.langchain4j.model.ollama.OllamaLanguageModel.OllamaLanguageModelBuilder
 
topP(Double) - Method in class dev.langchain4j.model.ollama.OllamaStreamingChatModel.OllamaStreamingChatModelBuilder
 
topP(Double) - Method in class dev.langchain4j.model.ollama.OllamaStreamingLanguageModel.OllamaStreamingLanguageModelBuilder
 
topP(Double) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
topP(Double) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
topP(Double) - Method in class dev.langchain4j.model.vertexai.VertexAiChatModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.vertexai.VertexAiLanguageModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionRequest.Builder
 
topP(Double) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
topP(Double) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
toPrompt(Object) - Method in class dev.langchain4j.model.input.structured.DefaultStructuredPromptFactory
 
toPrompt(Object) - Static method in class dev.langchain4j.model.input.structured.StructuredPromptProcessor
Converts the given structured prompt to a prompt.
toPrompt(Object) - Method in interface dev.langchain4j.spi.prompt.structured.StructuredPromptFactory
Converts the given structured prompt to a prompt.
toQianfanMessage(ChatMessage) - Static method in class dev.langchain4j.model.qianfan.InternalQianfanHelper
 
toString() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated.
 
toString() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
 
toString() - Method in class dev.langchain4j.agent.tool.ToolParameters
Deprecated.
 
toString() - Method in class dev.langchain4j.agent.tool.ToolSpecification
 
toString() - Method in class dev.langchain4j.chain.ConversationalChain.ConversationalChainBuilder
 
toString() - Method in record class dev.langchain4j.classification.ClassificationResult
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.classification.ScoredLabel
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.data.audio.Audio
 
toString() - Method in class dev.langchain4j.data.document.Document
 
toString() - Method in class dev.langchain4j.data.document.Metadata
 
toString() - Method in class dev.langchain4j.data.embedding.Embedding
 
toString() - Method in class dev.langchain4j.data.image.Image
 
toString() - Method in class dev.langchain4j.data.message.AiMessage
 
toString() - Method in class dev.langchain4j.data.message.AudioContent
 
toString() - Method in class dev.langchain4j.data.message.ImageContent
 
toString() - Method in class dev.langchain4j.data.message.PdfFileContent
 
toString() - Method in class dev.langchain4j.data.message.SystemMessage
 
toString() - Method in class dev.langchain4j.data.message.TextContent
 
toString() - Method in class dev.langchain4j.data.message.TextFileContent
 
toString() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
 
toString() - Method in class dev.langchain4j.data.message.UserMessage
 
toString() - Method in class dev.langchain4j.data.message.VideoContent
 
toString() - Method in class dev.langchain4j.data.pdf.PdfFile
 
toString() - Method in class dev.langchain4j.data.segment.TextSegment
 
toString() - Method in class dev.langchain4j.data.text.TextFile
 
toString() - Method in class dev.langchain4j.data.video.Video
 
toString() - Method in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
 
toString() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
toString() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
toString() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
toString() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
toString() - Method in class dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
 
toString() - Method in class dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
 
toString() - Method in class dev.langchain4j.model.chat.request.ChatRequest
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonArraySchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonBooleanSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonEnumSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonIntegerSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonNumberSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonObjectSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonReferenceSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.json.JsonStringSchema
 
toString() - Method in class dev.langchain4j.model.chat.request.ResponseFormat
 
toString() - Method in class dev.langchain4j.model.chat.response.ChatResponse
 
toString() - Method in enum class dev.langchain4j.model.dashscope.WanxImageRefMode
 
toString() - Method in enum class dev.langchain4j.model.dashscope.WanxImageSize
 
toString() - Method in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
toString() - Method in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
 
toString() - Method in enum class dev.langchain4j.model.github.GitHubModelsEmbeddingModelName
 
toString() - Method in class dev.langchain4j.model.huggingface.client.Options
 
toString() - Method in class dev.langchain4j.model.huggingface.client.Parameters
 
toString() - Method in class dev.langchain4j.model.huggingface.client.TextGenerationRequest
 
toString() - Method in class dev.langchain4j.model.input.Prompt
 
toString() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationRequest
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.model.mistralai.internal.api.MistralAiModerationResponse
Returns a string representation of this record class.
toString() - Method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiResponseFormatType
Returns the string representation in lowercase of the response format type.
toString() - Method in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
 
toString() - Method in enum class dev.langchain4j.model.mistralai.MistralAiEmbeddingModelName
Returns the string representation of the embedding model.
toString() - Method in class dev.langchain4j.model.moderation.Moderation
 
toString() - Method in enum class dev.langchain4j.model.openai.OpenAiChatModelName
 
toString() - Method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
 
toString() - Method in enum class dev.langchain4j.model.openai.OpenAiImageModelName
 
toString() - Method in enum class dev.langchain4j.model.openai.OpenAiLanguageModelName
 
toString() - Method in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
 
toString() - Method in class dev.langchain4j.model.output.Response
 
toString() - Method in class dev.langchain4j.model.output.TokenUsage
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.Examples
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.Function
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.FunctionCall
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.Message
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters
 
toString() - Method in class dev.langchain4j.model.qianfan.client.chat.Responses
 
toString() - Method in enum class dev.langchain4j.model.qianfan.client.chat.Role
 
toString() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingData
 
toString() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest
 
toString() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
toString() - Method in class dev.langchain4j.model.qianfan.client.Usage
 
toString() - Method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
 
toString() - Method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
 
toString() - Method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 
toString() - Method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.MimeType
 
toString() - Method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.PersonGeneration
 
toString() - Method in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
toString() - Method in enum class dev.langchain4j.model.voyageai.VoyageAiScoringModelName
 
toString() - Method in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
 
toString() - Method in enum class dev.langchain4j.model.workersai.WorkersAiEmbeddingModelName
 
toString() - Method in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
 
toString() - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionChoice.ChatCompletionChoiceBuilder
 
toString() - Method in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
 
toString() - Method in class dev.langchain4j.model.zhipu.chat.Image.ImageBuilder
 
toString() - Method in enum class dev.langchain4j.model.zhipu.embedding.EmbeddingModel
 
toString() - Method in enum class dev.langchain4j.model.zhipu.image.ImageModelName
 
toString() - Method in class dev.langchain4j.model.zhipu.image.ImageRequest.ImageRequestBuilder
 
toString() - Method in class dev.langchain4j.rag.AugmentationResult.AugmentationResultBuilder
 
toString() - Method in class dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
 
toString() - Method in class dev.langchain4j.rag.content.Content
 
toString() - Method in class dev.langchain4j.rag.content.injector.DefaultContentInjector.DefaultContentInjectorBuilder
 
toString() - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
 
toString() - Method in class dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
 
toString() - Method in class dev.langchain4j.rag.content.retriever.WebSearchContentRetriever.WebSearchContentRetrieverBuilder
 
toString() - Method in class dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
 
toString() - Method in class dev.langchain4j.rag.query.Metadata
 
toString() - Method in class dev.langchain4j.rag.query.Query
 
toString() - Method in class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
 
toString() - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer.CompressingQueryTransformerBuilder
 
toString() - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer.ExpandingQueryTransformerBuilder
 
toString() - Method in class dev.langchain4j.service.Result.ResultBuilder
 
toString() - Method in class dev.langchain4j.service.tool.ToolExecution
 
toString() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
 
toString() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest.EmbeddingSearchRequestBuilder
 
toString() - Method in class dev.langchain4j.store.embedding.EmbeddingSearchRequest
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsIn
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThan
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
 
toString() - Method in class dev.langchain4j.store.embedding.filter.comparison.IsNotIn
 
toString() - Method in class dev.langchain4j.store.embedding.filter.logical.And
 
toString() - Method in class dev.langchain4j.store.embedding.filter.logical.Not
 
toString() - Method in class dev.langchain4j.store.embedding.filter.logical.Or
 
toString() - Method in record class dev.langchain4j.store.embedding.infinispan.InfinispanStoreConfiguration
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainInfinispanItem
Returns a string representation of this record class.
toString() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainMetadata
Returns a string representation of this record class.
toString() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatch
 
toString() - Method in class dev.langchain4j.store.embedding.tablestore.IsTextMatchPhrase
 
toString() - Method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine.ImageSearchResult
 
toString() - Method in class dev.langchain4j.web.search.WebSearchInformationResult
 
toString() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
 
toString() - Method in class dev.langchain4j.web.search.WebSearchRequest
 
toString() - Method in class dev.langchain4j.web.search.WebSearchResults
 
toSystemMessage() - Method in class dev.langchain4j.model.input.Prompt
Convert this prompt to a SystemMessage.
totalResults() - Method in class dev.langchain4j.web.search.WebSearchInformationResult
Gets the total number of results.
totalTokenCount() - Method in class dev.langchain4j.model.output.TokenUsage
Returns the total token count, or null if unknown.
totalTokens - Variable in class dev.langchain4j.model.jina.internal.api.JinaUsage
 
totalTokens() - Method in class dev.langchain4j.model.qianfan.client.Usage
 
totalTokens(Integer) - Method in class dev.langchain4j.model.qianfan.client.Usage.Builder
 
totalTokens(Integer) - Method in class dev.langchain4j.model.zhipu.shared.Usage.Builder
 
toTextSegment() - Method in class dev.langchain4j.data.document.Document
Builds a TextSegment from this document.
toTextSegment() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
Converts this WebSearchOrganicResult to a TextSegment.
toTextSegments() - Method in class dev.langchain4j.web.search.WebSearchResults
Converts the organic search results to a list of text segments.
toTokenUsage(AnthropicUsage) - Static method in class dev.langchain4j.model.anthropic.internal.mapper.AnthropicMapper
 
toToolExecutionRequest(MistralAiToolCall) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
toToolExecutionRequests(List<MistralAiToolCall>) - Static method in class dev.langchain4j.model.mistralai.internal.mapper.MistralAiMapper
 
toTools(Collection<ToolSpecification>, boolean) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
 
toUserMessage() - Method in class dev.langchain4j.model.input.Prompt
Convert this prompt to a UserMessage.
toUserMessage(String) - Method in class dev.langchain4j.model.input.Prompt
Convert this prompt to a UserMessage with specified userName.
transform(Document) - Method in interface dev.langchain4j.data.document.DocumentTransformer
Transforms a provided document.
transform(Document) - Method in class dev.langchain4j.data.document.transformer.jsoup.HtmlToTextDocumentTransformer
 
transform(TextSegment) - Method in interface dev.langchain4j.data.segment.TextSegmentTransformer
Transforms a provided segment.
transform(Query) - Method in class dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
 
transform(Query) - Method in class dev.langchain4j.rag.query.transformer.DefaultQueryTransformer
 
transform(Query) - Method in class dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
 
transform(Query) - Method in interface dev.langchain4j.rag.query.transformer.QueryTransformer
Transforms the given Query into one or multiple Querys.
transformAll(List<Document>) - Method in interface dev.langchain4j.data.document.DocumentTransformer
Transforms all the provided documents.
transformAll(List<TextSegment>) - Method in interface dev.langchain4j.data.segment.TextSegmentTransformer
Transforms all the provided segments.
truncation(Boolean) - Method in class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
Whether to truncate the input texts to fit within the context length.
truncation(Boolean) - Method in class dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
Whether to truncate the input to satisfy the "context length limit" on the query and the documents.
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicContent
 
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicDelta
 
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicImageContentSource
 
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicMessageContent
 
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicStreamingData
 
type - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolSchema
 
type - Variable in class dev.langchain4j.store.embedding.vearch.SpacePropertyParam
 
type() - Method in class dev.langchain4j.agent.tool.ToolParameters
Deprecated.
Returns the type of the tool.
type() - Method in class dev.langchain4j.data.message.AiMessage
 
type() - Method in class dev.langchain4j.data.message.AudioContent
 
type() - Method in interface dev.langchain4j.data.message.ChatMessage
The type of the message.
type() - Method in interface dev.langchain4j.data.message.Content
Returns the type of content.
type() - Method in class dev.langchain4j.data.message.ImageContent
 
type() - Method in class dev.langchain4j.data.message.PdfFileContent
 
type() - Method in class dev.langchain4j.data.message.SystemMessage
 
type() - Method in class dev.langchain4j.data.message.TextContent
 
type() - Method in class dev.langchain4j.data.message.TextFileContent
 
type() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
 
type() - Method in class dev.langchain4j.data.message.UserMessage
 
type() - Method in class dev.langchain4j.data.message.VideoContent
 
type() - Method in class dev.langchain4j.model.chat.request.ResponseFormat
 
type() - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters
 
type() - Method in class dev.langchain4j.model.qianfan.client.chat.Responses
 
type() - Method in class dev.langchain4j.store.embedding.filter.builder.sql.ColumnDefinition
 
type(AnthropicToolChoiceType) - Method in class dev.langchain4j.model.anthropic.internal.api.AnthropicToolChoice.Builder
 
type(ResponseFormatType) - Method in class dev.langchain4j.model.chat.request.ResponseFormat.Builder
 
type(ToolType) - Method in class dev.langchain4j.model.zhipu.chat.ToolCall.ToolCallBuilder
 
type(String) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated, for removal: This API element is subject to removal in a future version.
please use the new JsonSchemaElement API instead to define the schema for tool parameters
type(String) - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
please use JsonObjectSchema.builder() instead
type(String) - Static method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
type(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Parameters.Builder
 
type(String) - Method in class dev.langchain4j.model.qianfan.client.chat.Responses.Builder
 
type(String) - Method in class dev.langchain4j.model.zhipu.chat.ImageContent.ImageContentBuilder
 
type(String) - Method in class dev.langchain4j.model.zhipu.chat.TextContent.TextContentBuilder
 
TYPE_DOCUMENT - Static variable in class dev.langchain4j.model.dashscope.QwenEmbeddingModel
 
TYPE_KEY - Static variable in class dev.langchain4j.model.dashscope.QwenEmbeddingModel
 
TYPE_QUERY - Static variable in class dev.langchain4j.model.dashscope.QwenEmbeddingModel
 
typeHasRawClass(Type, Class<?>) - Static method in class dev.langchain4j.service.TypeUtils
 
TypeUtils - Class in dev.langchain4j.internal
 
TypeUtils - Class in dev.langchain4j.service
 
TypeUtils() - Constructor for class dev.langchain4j.internal.TypeUtils
 
TypeUtils() - Constructor for class dev.langchain4j.service.TypeUtils
 

U

UNA_CYBERTRON_7B_V2_BF16 - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Cybertron 7B v2 is a 7B MistralAI based model, best on it’s series.
UNRECOGNIZED - Enum constant in enum class dev.langchain4j.model.vertexai.HarmCategory
 
UNRECOGNIZED - Enum constant in enum class dev.langchain4j.model.vertexai.SafetyThreshold
 
updateMessages(Object, List<ChatMessage>) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore
Updates messages for a specified chat memory.
updateMessages(Object, List<ChatMessage>) - Method in interface dev.langchain4j.store.memory.chat.ChatMemoryStore
Updates messages for a specified chat memory.
updateMessages(Object, List<ChatMessage>) - Method in class dev.langchain4j.store.memory.chat.coherence.CoherenceChatMemoryStore
 
updateMessages(Object, List<ChatMessage>) - Method in class dev.langchain4j.store.memory.chat.InMemoryChatMemoryStore
 
updateMessages(Object, List<ChatMessage>) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore
 
updateMessages(Object, List<ChatMessage>) - Method in class dev.langchain4j.store.memory.chat.tablestore.TablestoreChatMemoryStore
 
uri(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
url() - Method in class dev.langchain4j.data.audio.Audio
Get the url of the audio.
url() - Method in class dev.langchain4j.data.image.Image
Get the url of the image.
url() - Method in class dev.langchain4j.data.pdf.PdfFile
Get the url of the PDF.
url() - Method in class dev.langchain4j.data.text.TextFile
Get the url of the text file.
url() - Method in class dev.langchain4j.data.video.Video
Get the url of the video.
url() - Method in class dev.langchain4j.web.search.WebSearchOrganicResult
Returns the URL associated with the web page.
url(String) - Method in class dev.langchain4j.data.audio.Audio.Builder
Set the url of the audio.
url(String) - Method in class dev.langchain4j.data.image.Image.Builder
Set the url of the image.
url(String) - Method in class dev.langchain4j.data.pdf.PdfFile.Builder
Set the url of the PDF document.
url(String) - Method in class dev.langchain4j.data.text.TextFile.Builder
Set the url of the text document.
url(String) - Method in class dev.langchain4j.data.video.Video.Builder
Set the url of the video.
url(String) - Method in class dev.langchain4j.model.zhipu.chat.Image.ImageBuilder
 
url(URI) - Method in class dev.langchain4j.data.audio.Audio.Builder
Set the url of the audio.
url(URI) - Method in class dev.langchain4j.data.image.Image.Builder
Set the url of the image.
url(URI) - Method in class dev.langchain4j.data.pdf.PdfFile.Builder
Set the url of the PDF document.
url(URI) - Method in class dev.langchain4j.data.text.TextFile.Builder
Set the url of the text document.
url(URI) - Method in class dev.langchain4j.data.video.Video.Builder
Set the url of the video.
URL - Static variable in class dev.langchain4j.data.document.Document
Common metadata key for the URL from which the document was loaded.
UrlDocumentLoader - Class in dev.langchain4j.data.document.loader
 
UrlDocumentLoader() - Constructor for class dev.langchain4j.data.document.loader.UrlDocumentLoader
 
UrlSource - Class in dev.langchain4j.data.document.source
 
UrlSource(URL) - Constructor for class dev.langchain4j.data.document.source.UrlSource
 
usage - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageResponse
 
usage - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicResponseMessage
 
usage - Variable in class dev.langchain4j.model.anthropic.internal.api.AnthropicStreamingData
 
usage - Variable in class dev.langchain4j.model.jina.internal.api.JinaEmbeddingResponse
 
usage - Variable in class dev.langchain4j.model.jina.internal.api.JinaRerankingResponse
 
usage() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse
 
usage(Usage) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse.Builder
 
usage(Usage) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingResponse.Builder
 
usage(Usage) - Method in class dev.langchain4j.model.zhipu.chat.ChatCompletionResponse.ChatCompletionResponseBuilder
 
Usage - Class in dev.langchain4j.model.qianfan.client
 
Usage - Class in dev.langchain4j.model.zhipu.shared
 
Usage() - Constructor for class dev.langchain4j.model.zhipu.shared.Usage
 
Usage.Builder - Class in dev.langchain4j.model.qianfan.client
 
Usage.Builder - Class in dev.langchain4j.model.zhipu.shared
 
useAsyncClient(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
If you want to continue using sync client, use AzureOpenAiChatModel instead.
useCache(Boolean) - Method in class dev.langchain4j.model.huggingface.client.Options.Builder
 
user - Enum constant in enum class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest.MessageRole
The message is from the user.
user() - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest
 
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the user of the image.
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
user(String) - Method in class dev.langchain4j.model.qianfan.client.completion.CompletionRequest.Builder
 
user(String) - Method in class dev.langchain4j.model.qianfan.client.embedding.EmbeddingRequest.Builder
 
user(String) - Method in class dev.langchain4j.store.embedding.redis.RedisEmbeddingStore.Builder
 
user(String) - Method in class dev.langchain4j.store.memory.chat.redis.RedisChatMemoryStore.Builder
 
USER - Enum constant in enum class dev.langchain4j.data.message.ChatMessageType
A message from the user.
USER - Enum constant in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicRole
 
USER - Enum constant in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiRole
 
USER - Enum constant in enum class dev.langchain4j.model.qianfan.client.chat.Role
 
USER - Enum constant in enum class dev.langchain4j.model.zhipu.chat.Role
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.github.GitHubModelsChatModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.github.GitHubModelsEmbeddingModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.github.GitHubModelsStreamingChatModel.Builder
 
userId() - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest
 
userId(String) - Method in class dev.langchain4j.model.qianfan.client.chat.ChatCompletionRequest.Builder
 
userId(String) - Method in class dev.langchain4j.model.zhipu.image.ImageRequest.ImageRequestBuilder
 
userId(String) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
userMessage() - Method in class dev.langchain4j.rag.query.Metadata
 
userMessage() - Method in class dev.langchain4j.service.tool.ToolProviderRequest
 
userMessage(Content...) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from contents.
userMessage(String) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a text.
userMessage(String) - Static method in class dev.langchain4j.model.qianfan.client.chat.Message
 
userMessage(String, Content...) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a name and contents.
userMessage(String, String) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a name and a text.
userMessage(String, List<Content>) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from a name and contents.
userMessage(List<Content>) - Static method in class dev.langchain4j.data.message.UserMessage
Create a UserMessage from contents.
UserMessage - Class in dev.langchain4j.data.message
Represents a message from a user, typically an end user of the application.
UserMessage - Class in dev.langchain4j.model.zhipu.chat
 
UserMessage - Annotation Interface in dev.langchain4j.service
Specifies either a complete user message or a user message template to be used each time an AI service is invoked.
UserMessage(Content...) - Constructor for class dev.langchain4j.data.message.UserMessage
Creates a UserMessage from one or multiple Contents.
UserMessage(Role, Object, String) - Constructor for class dev.langchain4j.model.zhipu.chat.UserMessage
 
UserMessage(String) - Constructor for class dev.langchain4j.data.message.UserMessage
Creates a UserMessage from a text.
UserMessage(String, Content...) - Constructor for class dev.langchain4j.data.message.UserMessage
Creates a UserMessage from a name and one or multiple Contents.
UserMessage(String, String) - Constructor for class dev.langchain4j.data.message.UserMessage
Creates a UserMessage from a name and a text.
UserMessage(String, List<Content>) - Constructor for class dev.langchain4j.data.message.UserMessage
Creates a UserMessage from a name and a list of Contents.
UserMessage(List<Content>) - Constructor for class dev.langchain4j.data.message.UserMessage
Creates a UserMessage from a list of Contents.
UserMessage.UserMessageBuilder - Class in dev.langchain4j.model.zhipu.chat
 
username(String) - Method in class dev.langchain4j.store.embedding.couchbase.CouchbaseEmbeddingStore.Builder
 
username(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
userName(String) - Method in class dev.langchain4j.store.embedding.cassandra.CassandraEmbeddingStore.Builder
 
userName(String) - Method in class dev.langchain4j.store.embedding.elasticsearch.ElasticsearchEmbeddingStore.Builder
Deprecated, for removal: This API element is subject to removal in a future version.
userName(String) - Method in class dev.langchain4j.store.embedding.opensearch.OpenSearchEmbeddingStore.Builder
 
userName(String) - Method in class dev.langchain4j.store.memory.chat.cassandra.CassandraChatMemoryStore.Builder
 
UserName - Annotation Interface in dev.langchain4j.service
The value of a method parameter annotated with @UserName will be injected into the field 'name' of a UserMessage.
useTls(boolean) - Method in class dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
 
Utils - Class in dev.langchain4j.internal
Utility methods.
Utils - Class in dev.langchain4j.model.qianfan.client
 

V

V - Annotation Interface in dev.langchain4j.service
When a parameter of a method in an AI Service is annotated with @V, it becomes a prompt template variable.
validate(String) - Method in class dev.langchain4j.experimental.rag.content.retriever.sql.SqlDatabaseContentRetriever
 
validateReturnTypesAreProperlyParametrized(String, Type) - Static method in class dev.langchain4j.service.TypeUtils
Ensures that no wildcard and/or parametrized types are being used as service method return type.
validateSpecifications(List<ToolSpecification>) - Static method in class dev.langchain4j.agent.tool.ToolSpecifications
Validates all the ToolSpecifications.
validateStructuredPrompt(Object) - Static method in class dev.langchain4j.model.input.structured.StructuredPrompt.Util
Validates that the given object is annotated with StructuredPrompt.
ValidationUtils - Class in dev.langchain4j.internal
Utility class for validating method arguments.
value() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
Deprecated.
Get the value.
value() - Element in annotation interface dev.langchain4j.agent.tool.P
Description of a parameter
value() - Element in annotation interface dev.langchain4j.agent.tool.Tool
Description of the tool.
value() - Element in annotation interface dev.langchain4j.model.input.structured.StructuredPrompt
Prompt template can be defined in one line or multiple lines.
value() - Element in annotation interface dev.langchain4j.model.output.structured.Description
The description can be defined in one line or multiple lines.
value() - Method in class dev.langchain4j.model.qianfan.client.chat.JsonSchemaProperty
 
value() - Element in annotation interface dev.langchain4j.service.SystemMessage
Prompt template can be defined in one line or multiple lines.
value() - Element in annotation interface dev.langchain4j.service.UserMessage
Prompt template can be defined in one line or multiple lines.
value() - Element in annotation interface dev.langchain4j.service.V
Name of a variable (placeholder) in a prompt template.
value() - Method in record class dev.langchain4j.store.embedding.infinispan.LangChainMetadata
Returns the value of the value record component.
valueOf(String) - Static method in enum class dev.langchain4j.data.message.ChatMessageType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.data.message.ContentType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.data.message.ImageContent.DetailLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicCacheType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicContentBlockType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicRole
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicToolChoiceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockAnthropicStreamingChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.ReturnLikelihood
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockTitanChatModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel.Types
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.chat.Capability
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.chat.request.ResponseFormatType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.dashscope.WanxImageRefMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.dashscope.WanxImageSize
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.dashscope.WanxImageStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.github.GitHubModelsEmbeddingModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.googleai.GeminiHarmBlockThreshold
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.googleai.GeminiHarmCategory
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.googleai.GeminiMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel.TaskType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiResponseFormatType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiRole
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolChoiceName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.mistralai.MistralAiEmbeddingModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiChatModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiImageModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiLanguageModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.output.FinishReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.qianfan.client.chat.Role
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.qianfan.QianfanEmbeddingModelNameEnum
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.qianfan.QianfanLanguageModelNameEnum
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.HarmCategory
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.SafetyThreshold
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.ToolCallingMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.MimeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.PersonGeneration
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.voyageai.VoyageAiScoringModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest.MessageRole
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.workersai.WorkersAiEmbeddingModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.zhipu.chat.Role
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.zhipu.chat.ToolChoiceMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.zhipu.chat.ToolType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.zhipu.embedding.EmbeddingModel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.model.zhipu.image.ImageModelName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchQueryType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.FallbackStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.SimilarityMetric
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.VectorIndexType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.oracle.CreateOption
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.pgvector.MetadataStorageMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.vearch.MetricType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.vearch.SpacePropertyType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.langchain4j.store.embedding.vearch.SpaceStoreType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.langchain4j.data.message.ChatMessageType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.data.message.ContentType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.data.message.ImageContent.DetailLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.anthropic.AnthropicChatModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicCacheType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicContentBlockType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicRole
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.anthropic.internal.api.AnthropicToolChoiceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockAI21LabsChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockAnthropicCompletionChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockAnthropicStreamingChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.ReturnLikelihood
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockCohereChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockLlamaChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockMistralAiChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.StylePreset
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockStabilityAIChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockTitanChatModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.bedrock.BedrockTitanEmbeddingModel.Types
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.chat.Capability
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.chat.request.ResponseFormatType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.dashscope.WanxImageRefMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.dashscope.WanxImageSize
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.dashscope.WanxImageStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.github.GitHubModelsChatModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.github.GitHubModelsEmbeddingModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.googleai.GeminiHarmBlockThreshold
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.googleai.GeminiHarmCategory
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.googleai.GeminiMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.googleai.GoogleAiEmbeddingModel.TaskType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiResponseFormatType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiRole
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolChoiceName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.mistralai.internal.api.MistralAiToolType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.mistralai.MistralAiChatModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.mistralai.MistralAiEmbeddingModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.openai.OpenAiChatModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.openai.OpenAiImageModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.openai.OpenAiLanguageModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.output.FinishReason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.qianfan.client.chat.Role
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.qianfan.QianfanEmbeddingModelNameEnum
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.qianfan.QianfanLanguageModelNameEnum
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.HarmCategory
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.SafetyThreshold
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.ToolCallingMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.TaskType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.VertexAiEmbeddingModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.AspectRatio
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.MimeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.PersonGeneration
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.voyageai.VoyageAiScoringModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest.MessageRole
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.workersai.WorkersAiEmbeddingModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.workersai.WorkersAiImageModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.zhipu.chat.ChatCompletionModel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.zhipu.chat.Role
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.zhipu.chat.ToolChoiceMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.zhipu.chat.ToolType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.zhipu.embedding.EmbeddingModel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.model.zhipu.image.ImageModelName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchQueryType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.rag.query.router.LanguageModelQueryRouter.FallbackStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.SimilarityMetric
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.VectorIndexType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.oracle.CreateOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.pgvector.MetadataStorageMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.vearch.MetricType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.vearch.RetrievalType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.vearch.SpacePropertyType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.langchain4j.store.embedding.vearch.SpaceStoreType
Returns an array containing the constants of this enum class, in the order they are declared.
vearchConfig(VearchConfig) - Method in class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore.Builder
 
VearchConfig - Class in dev.langchain4j.store.embedding.vearch
 
VearchConfig() - Constructor for class dev.langchain4j.store.embedding.vearch.VearchConfig
 
VearchConfig(String, String, SpaceEngine, Map<String, SpacePropertyParam>, String, String, List<ModelParam>, List<String>) - Constructor for class dev.langchain4j.store.embedding.vearch.VearchConfig
 
VearchConfig.VearchConfigBuilder - Class in dev.langchain4j.store.embedding.vearch
 
VearchConfigBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.VearchConfig.VearchConfigBuilder
 
VearchEmbeddingStore - Class in dev.langchain4j.store.embedding.vearch
 
VearchEmbeddingStore(String, Duration, VearchConfig, Boolean) - Constructor for class dev.langchain4j.store.embedding.vearch.VearchEmbeddingStore
 
VearchEmbeddingStore.Builder - Class in dev.langchain4j.store.embedding.vearch
 
vector() - Method in class dev.langchain4j.data.embedding.Embedding
Returns the vector.
VECTOR - Enum constant in enum class dev.langchain4j.rag.content.retriever.azure.search.AzureAiSearchQueryType
Uses the vector search algorithm to find the most similar TextSegments.
VECTOR - Enum constant in enum class dev.langchain4j.store.embedding.vearch.SpacePropertyType
 
VECTOR_ALGORITHM_NAME - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
VECTOR_HNSW - Enum constant in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.VectorIndexType
 
VECTOR_IVF - Enum constant in enum class dev.langchain4j.store.embedding.azure.cosmos.mongo.vcore.AzureCosmosDbMongoVCoreEmbeddingStore.VectorIndexType
 
VECTOR_SEARCH_PROFILE_NAME - Static variable in class dev.langchain4j.store.embedding.azure.search.AbstractAzureAiSearchEmbeddingStore
 
vectorAsList() - Method in class dev.langchain4j.data.embedding.Embedding
Returns a copy of the vector as a list.
vectorFieldName(String) - Method in class dev.langchain4j.store.embedding.milvus.MilvusEmbeddingStore.Builder
 
vectorIndex(CreateOption) - Method in class dev.langchain4j.store.embedding.oracle.OracleEmbeddingStore.Builder
Configures the creation of an index on the embedding column of the EmbeddingTable used by the embedding store.
VectorParam() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
VectorParam(Boolean, Integer, SpaceStoreType, SpaceStoreParam, String, String) - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam
 
VectorParamBuilder() - Constructor for class dev.langchain4j.store.embedding.vearch.SpacePropertyParam.VectorParam.VectorParamBuilder
 
verifyModerationIfNeeded(Future<Moderation>) - Static method in class dev.langchain4j.service.AiServices
 
version - Variable in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
version(String) - Method in class dev.langchain4j.model.anthropic.internal.client.AnthropicClient.Builder
 
VertexAiChatModel - Class in dev.langchain4j.model.vertexai
Represents a Google Vertex AI language model with a chat completion interface, such as chat-bison.
VertexAiChatModel(String, String, String, String, String, Double, Integer, Integer, Double, Integer) - Constructor for class dev.langchain4j.model.vertexai.VertexAiChatModel
 
VertexAiChatModel.Builder - Class in dev.langchain4j.model.vertexai
 
VertexAiChatModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
A factory for building VertexAiChatModel.Builder instances.
VertexAiEmbeddingModel - Class in dev.langchain4j.model.vertexai
Represents a Google Vertex AI embedding model, such as textembedding-gecko.
VertexAiEmbeddingModel(String, String, String, String, String, Integer, Integer, Integer, VertexAiEmbeddingModel.TaskType, String, Integer, Boolean) - Constructor for class dev.langchain4j.model.vertexai.VertexAiEmbeddingModel
 
VertexAiEmbeddingModel.Builder - Class in dev.langchain4j.model.vertexai
 
VertexAiEmbeddingModel.TaskType - Enum Class in dev.langchain4j.model.vertexai
 
VertexAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
A factory for building VertexAiChatModel.Builder instances.
VertexAiEmbeddingModelName - Enum Class in dev.langchain4j.model.vertexai
 
VertexAiGeminiChatModel - Class in dev.langchain4j.model.vertexai
Represents a Google Vertex AI Gemini language model with a chat completion interface, such as gemini-pro.
VertexAiGeminiChatModel(GenerativeModel, GenerationConfig) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
VertexAiGeminiChatModel(GenerativeModel, GenerationConfig, Integer) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
VertexAiGeminiChatModel(String, String, String, Float, Integer, Integer, Float, Integer, Integer, String, Schema, Map<HarmCategory, SafetyThreshold>, Boolean, String, ToolCallingMode, List<String>, Boolean, Boolean, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel
 
VertexAiGeminiChatModel.VertexAiGeminiChatModelBuilder - Class in dev.langchain4j.model.vertexai
 
VertexAiGeminiChatModelBuilder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiChatModel.VertexAiGeminiChatModelBuilder
 
VertexAiGeminiChatModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
VertexAiGeminiStreamingChatModel - Class in dev.langchain4j.model.vertexai
Represents a Google Vertex AI Gemini language model with a stream chat completion interface, such as gemini-pro.
VertexAiGeminiStreamingChatModel(GenerativeModel, GenerationConfig) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
 
VertexAiGeminiStreamingChatModel(String, String, String, Float, Integer, Integer, Float, String, Schema, Map<HarmCategory, SafetyThreshold>, Boolean, String, ToolCallingMode, List<String>, Boolean, Boolean, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel
 
VertexAiGeminiStreamingChatModel.VertexAiGeminiStreamingChatModelBuilder - Class in dev.langchain4j.model.vertexai
 
VertexAiGeminiStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.vertexai.VertexAiGeminiStreamingChatModel.VertexAiGeminiStreamingChatModelBuilder
 
VertexAiGeminiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
VertexAiImageModel - Class in dev.langchain4j.model.vertexai
Image model for the Google Cloud Vertex AI Imagen image generation models.
VertexAiImageModel(String, String, String, String, String, Long, String, Integer, String, VertexAiImageModel.ImageStyle, Integer, VertexAiImageModel.AspectRatio, VertexAiImageModel.PersonGeneration, Integer, VertexAiImageModel.MimeType, Integer, Boolean, String, Boolean, Path, Boolean, Boolean) - Constructor for class dev.langchain4j.model.vertexai.VertexAiImageModel
Constructor of the Imagen image generation model.
VertexAiImageModel.AspectRatio - Enum Class in dev.langchain4j.model.vertexai
Supported aspect ratios: 1:1, 9:16, 16:9, 4:3, and 3:4.
VertexAiImageModel.Builder - Class in dev.langchain4j.model.vertexai
 
VertexAiImageModel.ImageStyle - Enum Class in dev.langchain4j.model.vertexai
Image style can be specified for imagen@002.
VertexAiImageModel.MimeType - Enum Class in dev.langchain4j.model.vertexai
Supported mime types: only PNG and JPEG image formats can be generated.
VertexAiImageModel.PersonGeneration - Enum Class in dev.langchain4j.model.vertexai
Specify whether persons are allowed to be generated.
VertexAiImageModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
A factory for building VertexAiImageModel.Builder instances.
VertexAiLanguageModel - Class in dev.langchain4j.model.vertexai
Represents a Google Vertex AI language model with a text interface, such as text-bison.
VertexAiLanguageModel(String, String, String, String, String, Double, Integer, Integer, Double, Integer) - Constructor for class dev.langchain4j.model.vertexai.VertexAiLanguageModel
 
VertexAiLanguageModel.Builder - Class in dev.langchain4j.model.vertexai
 
VertexAiLanguageModelBuilderFactory - Interface in dev.langchain4j.model.vertexai.spi
A factory for building VertexAiLanguageModel.Builder instances.
VertexAiScoringModel - Class in dev.langchain4j.model.vertexai
Implementation of a ScoringModel for the Google Cloud Vertex AI Ranking API.
VertexAiScoringModel(String, String, String, String, String) - Constructor for class dev.langchain4j.model.vertexai.VertexAiScoringModel
Constructor for the Vertex AI Ranker Scoring Model.
VertexAiScoringModel.Builder - Class in dev.langchain4j.model.vertexai
 
VespaEmbeddingStore - Class in dev.langchain4j.store.embedding.vespa
Represents the Vespa - search engine and vector database.
VespaEmbeddingStore(String, String, String, Duration, String, String, String, Integer, Boolean) - Constructor for class dev.langchain4j.store.embedding.vespa.VespaEmbeddingStore
Creates a new VespaEmbeddingStore instance.
video() - Method in class dev.langchain4j.data.message.VideoContent
Get the Video.
Video - Class in dev.langchain4j.data.video
 
VIDEO - Enum constant in enum class dev.langchain4j.data.message.ContentType
Video content.
Video.Builder - Class in dev.langchain4j.data.video
Builder for Video.
VideoContent - Class in dev.langchain4j.data.message
 
VideoContent(Video) - Constructor for class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given video.
VideoContent(String) - Constructor for class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given url.
VideoContent(String, String) - Constructor for class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given base64 data and mime type.
VideoContent(URI) - Constructor for class dev.langchain4j.data.message.VideoContent
Create a new VideoContent from the given url.
VisitedClassMetadata(JsonSchemaElement, String, boolean) - Constructor for class dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper.VisitedClassMetadata
 
VOYAGE_3 - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
VOYAGE_3_LITE - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
VOYAGE_CODE_2 - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
VOYAGE_FINANCE_2 - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
VOYAGE_LAW_2 - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
VOYAGE_MULTILINGUAL_2 - Enum constant in enum class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModelName
 
VoyageAiEmbeddingModel - Class in dev.langchain4j.model.voyageai
An implementation of an EmbeddingModel that uses Voyage AI Embedding API.
VoyageAiEmbeddingModel(String, Duration, Integer, String, String, String, Boolean, String, Boolean, Boolean, Integer) - Constructor for class dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel
 
VoyageAiEmbeddingModel.Builder - Class in dev.langchain4j.model.voyageai
 
VoyageAiEmbeddingModelName - Enum Class in dev.langchain4j.model.voyageai
 
VoyageAiScoringModel - Class in dev.langchain4j.model.voyageai
An implementation of a ScoringModel that uses Voyage AI Rerank API.
VoyageAiScoringModel(String, Duration, Integer, String, String, Integer, Boolean, Boolean, Boolean) - Constructor for class dev.langchain4j.model.voyageai.VoyageAiScoringModel
 
VoyageAiScoringModel.Builder - Class in dev.langchain4j.model.voyageai
 
VoyageAiScoringModelName - Enum Class in dev.langchain4j.model.voyageai
 

W

waitForModel(Boolean) - Method in class dev.langchain4j.model.huggingface.client.Options.Builder
 
waitForModel(Boolean) - Method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
 
waitForModel(Boolean) - Method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel.Builder
 
WANX_V1 - Static variable in class dev.langchain4j.model.dashscope.WanxModelName
 
WanxHelper - Class in dev.langchain4j.model.dashscope
 
WanxHelper() - Constructor for class dev.langchain4j.model.dashscope.WanxHelper
 
WanxImageModel - Class in dev.langchain4j.model.dashscope
Represents a Wanx models to generate artistic images.
WanxImageModel(String, String, String, WanxImageRefMode, Float, Integer, WanxImageSize, WanxImageStyle) - Constructor for class dev.langchain4j.model.dashscope.WanxImageModel
 
WanxImageModel.WanxImageModelBuilder - Class in dev.langchain4j.model.dashscope
 
WanxImageModelBuilder() - Constructor for class dev.langchain4j.model.dashscope.WanxImageModel.WanxImageModelBuilder
 
WanxImageModelBuilderFactory - Interface in dev.langchain4j.model.dashscope.spi
 
WanxImageRefMode - Enum Class in dev.langchain4j.model.dashscope
 
WanxImageSize - Enum Class in dev.langchain4j.model.dashscope
 
WanxImageStyle - Enum Class in dev.langchain4j.model.dashscope
 
WanxModelName - Class in dev.langchain4j.model.dashscope
 
WanxModelName() - Constructor for class dev.langchain4j.model.dashscope.WanxModelName
 
WATERCOLOR - Enum constant in enum class dev.langchain4j.model.dashscope.WanxImageStyle
 
WATERCOLOR - Enum constant in enum class dev.langchain4j.model.vertexai.VertexAiImageModel.ImageStyle
 
watermark(Boolean) - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
WeaviateEmbeddingStore - Class in dev.langchain4j.store.embedding.weaviate
Represents the Weaviate vector database.
WeaviateEmbeddingStore(String, String, String, Integer, Boolean, Boolean, Integer, String, Boolean, String, Collection<String>, String, String) - Constructor for class dev.langchain4j.store.embedding.weaviate.WeaviateEmbeddingStore
Creates a new WeaviateEmbeddingStore instance.
webDriver(WebDriver) - Method in class dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader.Builder
 
WebSearch - Class in dev.langchain4j.model.zhipu.chat
 
WebSearch() - Constructor for class dev.langchain4j.model.zhipu.chat.WebSearch
 
WebSearchContentRetriever - Class in dev.langchain4j.rag.content.retriever
A ContentRetriever that retrieves relevant Content from the web using a WebSearchEngine.
WebSearchContentRetriever(WebSearchEngine, Integer) - Constructor for class dev.langchain4j.rag.content.retriever.WebSearchContentRetriever
 
WebSearchContentRetriever.WebSearchContentRetrieverBuilder - Class in dev.langchain4j.rag.content.retriever
 
webSearchEngine(WebSearchEngine) - Method in class dev.langchain4j.rag.content.retriever.WebSearchContentRetriever.WebSearchContentRetrieverBuilder
 
WebSearchEngine - Interface in dev.langchain4j.web.search
Represents a web search engine that can be used to perform searches on the Web in response to a user query.
WebSearchInformationResult - Class in dev.langchain4j.web.search
Represents general information about the web search performed.
WebSearchInformationResult(Long) - Constructor for class dev.langchain4j.web.search.WebSearchInformationResult
Constructs a new WebSearchInformationResult with the specified total results.
WebSearchInformationResult(Long, Integer, Map<String, Object>) - Constructor for class dev.langchain4j.web.search.WebSearchInformationResult
Constructs a new WebSearchInformationResult with the specified total results, page number, and metadata.
WebSearchOrganicResult - Class in dev.langchain4j.web.search
Represents an organic search results are the web pages that are returned by the search engine in response to a search query.
WebSearchOrganicResult(String, URI) - Constructor for class dev.langchain4j.web.search.WebSearchOrganicResult
Constructs a WebSearchOrganicResult object with the given title and URL.
WebSearchOrganicResult(String, URI, String, String) - Constructor for class dev.langchain4j.web.search.WebSearchOrganicResult
Constructs a WebSearchOrganicResult object with the given title, URL, snippet and/or content.
WebSearchOrganicResult(String, URI, String, String, Map<String, String>) - Constructor for class dev.langchain4j.web.search.WebSearchOrganicResult
Constructs a WebSearchOrganicResult object with the given title, URL, snippet and/or content, and metadata.
WebSearchRequest - Class in dev.langchain4j.web.search
Represents a search request that can be made by the user to perform searches in any implementation of WebSearchEngine.
WebSearchRequest.Builder - Class in dev.langchain4j.web.search
 
WebSearchResults - Class in dev.langchain4j.web.search
Represents the response of a web search performed.
WebSearchResults(WebSearchInformationResult, List<WebSearchOrganicResult>) - Constructor for class dev.langchain4j.web.search.WebSearchResults
Constructs a new instance of WebSearchResults.
WebSearchResults(Map<String, Object>, WebSearchInformationResult, List<WebSearchOrganicResult>) - Constructor for class dev.langchain4j.web.search.WebSearchResults
Constructs a new instance of WebSearchResults.
WebSearchTool - Class in dev.langchain4j.web.search
 
WebSearchTool(WebSearchEngine) - Constructor for class dev.langchain4j.web.search.WebSearchTool
 
withAccessToken(String) - Static method in class dev.langchain4j.model.huggingface.HuggingFaceChatModel
 
withAccessToken(String) - Static method in class dev.langchain4j.model.huggingface.HuggingFaceEmbeddingModel
 
withAccessToken(String) - Static method in class dev.langchain4j.model.huggingface.HuggingFaceLanguageModel
 
withApiKey(String) - Static method in class dev.langchain4j.model.anthropic.AnthropicChatModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.anthropic.AnthropicStreamingChatModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.cohere.CohereEmbeddingModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters.
withApiKey(String) - Static method in class dev.langchain4j.model.cohere.CohereScoringModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters.
withApiKey(String) - Static method in class dev.langchain4j.model.jina.JinaEmbeddingModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.jina.JinaScoringModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.mistralai.MistralAiChatModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.mistralai.MistralAiEmbeddingModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.mistralai.MistralAiModels
 
withApiKey(String) - Static method in class dev.langchain4j.model.mistralai.MistralAiStreamingChatModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.nomic.NomicEmbeddingModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiChatModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default values for the model name and temperature will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiImageModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiLanguageModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default values for the model name and temperature will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiModerationModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default value for the model name will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default values for the model name and temperature will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the model name and, if necessary, other parameters. The default values for the model name and temperature will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.model.ovhai.OvhAiEmbeddingModel
Deprecated, for removal: This API element is subject to removal in a future version.
Please use builder() instead, and explicitly set the baseUrl and, if necessary, other parameters. The default value for baseUrl will be removed in future releases!
withApiKey(String) - Static method in class dev.langchain4j.web.search.searchapi.SearchApiWebSearchEngine
 
withApiKey(String) - Static method in class dev.langchain4j.web.search.tavily.TavilyWebSearchEngine
 
withApiKeyAndCsi(String, String) - Static method in class dev.langchain4j.web.search.google.customsearch.GoogleCustomWebSearchEngine
Creates a new builder for constructing a GoogleCustomWebSearchEngine with the specified API key and Custom Search ID.
withBasicAuth(String, String, String) - Method in class dev.langchain4j.store.embedding.neo4j.Neo4jEmbeddingStore.Neo4jEmbeddingStoreBuilder
 
withMaxMessages(int) - Static method in class dev.langchain4j.memory.chat.MessageWindowChatMemory
 
withMaxTokens(int, Tokenizer) - Static method in class dev.langchain4j.memory.chat.TokenWindowChatMemory
 
withPersisting() - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
 
withPersisting() - Method in class dev.langchain4j.model.vertexai.VertexAiImageModel.Builder
 
withPersisting(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
 
withRetry(Callable<T>) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy
This method attempts to execute a given action up to a specified number of times with a 1-second delay.
withRetry(Callable<T>) - Static method in class dev.langchain4j.internal.RetryUtils
This method attempts to execute a given action up to a specified number of times with a 1-second delay.
withRetry(Callable<T>, int) - Method in class dev.langchain4j.internal.RetryUtils.RetryPolicy
This method attempts to execute a given action up to a specified number of times with a 1-second delay.
withRetry(Callable<T>, int) - Static method in class dev.langchain4j.internal.RetryUtils
This method attempts to execute a given action up to a specified number of times with a 1-second delay.
workerAiClient - Variable in class dev.langchain4j.model.workersai.client.AbstractWorkersAIModel
OkHttpClient for the WorkerAI API.
WorkersAiApi - Interface in dev.langchain4j.model.workersai.client
Public interface to interact with the WorkerAI API.
WorkersAiChatCompletionRequest - Class in dev.langchain4j.model.workersai.client
Represents a request for AI chat completion.
WorkersAiChatCompletionRequest() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest
Constructs an empty WorkerAiChatCompletionRequest with an empty list of messages.
WorkersAiChatCompletionRequest(WorkersAiChatCompletionRequest.MessageRole, String) - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest
Constructs a WorkerAiChatCompletionRequest with an initial message.
WorkersAiChatCompletionRequest.Message - Class in dev.langchain4j.model.workersai.client
Represents a message in the AI chat.
WorkersAiChatCompletionRequest.MessageRole - Enum Class in dev.langchain4j.model.workersai.client
Defines the roles a message can have in the chat conversation.
WorkersAiChatCompletionResponse - Class in dev.langchain4j.model.workersai.client
Wrapper for the chat completion response.
WorkersAiChatCompletionResponse() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiChatCompletionResponse
Default constructor.
WorkersAiChatModel - Class in dev.langchain4j.model.workersai
WorkerAI Chat model.
WorkersAiChatModel(WorkersAiChatModel.Builder) - Constructor for class dev.langchain4j.model.workersai.WorkersAiChatModel
Constructor with Builder.
WorkersAiChatModel(String, String, String) - Constructor for class dev.langchain4j.model.workersai.WorkersAiChatModel
Constructor with Builder.
WorkersAiChatModel.Builder - Class in dev.langchain4j.model.workersai
Internal Builder.
WorkersAiChatModelBuilderFactory - Interface in dev.langchain4j.model.workersai.spi
A factory for building WorkersAiChatModel.Builder instances.
WorkersAiChatModelName - Enum Class in dev.langchain4j.model.workersai
Enum for Workers AI Chat Model Name.
WorkersAiClient - Class in dev.langchain4j.model.workersai.client
Low level client to interact with the WorkerAI API.
WorkersAiClient() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiClient
Constructor.
WorkersAiClient.AuthInterceptor - Class in dev.langchain4j.model.workersai.client
An interceptor for HTTP requests to add an authorization token to the header.
WorkersAiEmbeddingModel - Class in dev.langchain4j.model.workersai
WorkerAI Embedding model.
WorkersAiEmbeddingModel(WorkersAiEmbeddingModel.Builder) - Constructor for class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel
Constructor with Builder.
WorkersAiEmbeddingModel(String, String, String) - Constructor for class dev.langchain4j.model.workersai.WorkersAiEmbeddingModel
Constructor with Builder.
WorkersAiEmbeddingModel.Builder - Class in dev.langchain4j.model.workersai
Internal Builder.
WorkersAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.workersai.spi
A factory for building WorkersAiEmbeddingModel.Builder instances.
WorkersAiEmbeddingModelName - Enum Class in dev.langchain4j.model.workersai
Enum for Workers AI Embedding Model Name.
WorkersAiEmbeddingRequest - Class in dev.langchain4j.model.workersai.client
Request to compute embeddings
WorkersAiEmbeddingRequest() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiEmbeddingRequest
Default constructor.
WorkersAiEmbeddingResponse - Class in dev.langchain4j.model.workersai.client
Response to compute embeddings
WorkersAiEmbeddingResponse() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiEmbeddingResponse
Default constructor.
WorkersAiEmbeddingResponse.EmbeddingResult - Class in dev.langchain4j.model.workersai.client
Beam to hold results
WorkersAiImageGenerationRequest - Class in dev.langchain4j.model.workersai.client
Request to generate an image.
WorkersAiImageGenerationRequest() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiImageGenerationRequest
Default constructor.
WorkersAiImageGenerationResponse - Class in dev.langchain4j.model.workersai.client
Response to generate an image.
WorkersAiImageGenerationResponse() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiImageGenerationResponse
Default constructor.
WorkersAiImageGenerationResponse.ImageGenerationResult - Class in dev.langchain4j.model.workersai.client
Body of the image generating process
WorkersAiImageModel - Class in dev.langchain4j.model.workersai
WorkerAI Image model.
WorkersAiImageModel(WorkersAiImageModel.Builder) - Constructor for class dev.langchain4j.model.workersai.WorkersAiImageModel
Constructor with Builder.
WorkersAiImageModel(String, String, String) - Constructor for class dev.langchain4j.model.workersai.WorkersAiImageModel
Constructor with Builder.
WorkersAiImageModel.Builder - Class in dev.langchain4j.model.workersai
Internal Builder.
WorkersAiImageModelBuilderFactory - Interface in dev.langchain4j.model.workersai.spi
A factory for building WorkersAiImageModel.Builder instances.
WorkersAiImageModelName - Enum Class in dev.langchain4j.model.workersai
Enum for Workers AI Omage Model Name.
WorkersAiLanguageModel - Class in dev.langchain4j.model.workersai
WorkerAI Language model.
WorkersAiLanguageModel(WorkersAiLanguageModel.Builder) - Constructor for class dev.langchain4j.model.workersai.WorkersAiLanguageModel
Constructor with Builder.
WorkersAiLanguageModel(String, String, String) - Constructor for class dev.langchain4j.model.workersai.WorkersAiLanguageModel
Constructor with Builder.
WorkersAiLanguageModel.Builder - Class in dev.langchain4j.model.workersai
Internal Builder.
WorkersAiLanguageModelBuilderFactory - Interface in dev.langchain4j.model.workersai.spi
A factory for building WorkersAiLanguageModel.Builder instances.
WorkersAiTextCompletionRequest - Class in dev.langchain4j.model.workersai.client
Request to complete a text.
WorkersAiTextCompletionRequest() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiTextCompletionRequest
Default constructor.
WorkersAiTextCompletionResponse - Class in dev.langchain4j.model.workersai.client
Wrapper for the text completion response.
WorkersAiTextCompletionResponse() - Constructor for class dev.langchain4j.model.workersai.client.WorkersAiTextCompletionResponse
Default constructor.
WorkersAiTextCompletionResponse.TextResponse - Class in dev.langchain4j.model.workersai.client
Wrapper for the text completion response.
write(JsonWriter, Message) - Method in class dev.langchain4j.model.qianfan.client.MessageTypeAdapter
 
writeTimeout(Duration) - Method in class dev.langchain4j.model.qianfan.client.QianfanClient.Builder
 
writeTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
writeTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiClient.Builder
 
writeTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
writeTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiImageModel.ZhipuAiImageModelBuilder
 
writeTimeout(Duration) - Method in class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
writeTo(MessageMarshaller.ProtoStreamWriter, LangChainInfinispanItem) - Method in class dev.langchain4j.store.embedding.infinispan.LangChainItemMarshaller
 
writeTo(MessageMarshaller.ProtoStreamWriter, LangChainMetadata) - Method in class dev.langchain4j.store.embedding.infinispan.LangChainMetadataMarshaller
 

X

X_API_KEY - Static variable in interface dev.langchain4j.model.anthropic.internal.api.AnthropicApi
 

Y

YI_34B_CHAT - Enum constant in enum class dev.langchain4j.model.qianfan.QianfanChatModelNameEnum
 

Z

ZEPHYR_7B_BETA_AWQ - Enum constant in enum class dev.langchain4j.model.workersai.WorkersAiChatModelName
Zephyr 7B Beta AWQ is an efficient, accurate and blazing-fast low-bit weight quantized Zephyr model variant.
ZhipuAiChatModel - Class in dev.langchain4j.model.zhipu
Represents an ZhipuAi language model with a chat completion interface, such as glm-3-turbo and glm-4.
ZhipuAiChatModel(String, String, Double, Double, String, List<String>, Integer, Integer, Boolean, Boolean, List<ChatModelListener>, Duration, Duration, Duration, Duration) - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiChatModel
 
ZhipuAiChatModel.ZhipuAiChatModelBuilder - Class in dev.langchain4j.model.zhipu
 
ZhipuAiChatModelBuilder() - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
 
ZhipuAiChatModelBuilderFactory - Interface in dev.langchain4j.model.zhipu.spi
A factory for building ZhipuAiChatModel.ZhipuAiChatModelBuilder instances.
ZhipuAiClient - Class in dev.langchain4j.model.zhipu
 
ZhipuAiClient(ZhipuAiClient.Builder) - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiClient
 
ZhipuAiClient.Builder - Class in dev.langchain4j.model.zhipu
 
ZhipuAiEmbeddingModel - Class in dev.langchain4j.model.zhipu
Represents an ZhipuAI embedding model, such as embedding-2 and embedding-3.
ZhipuAiEmbeddingModel(String, String, String, Integer, Integer, Boolean, Boolean, Duration, Duration, Duration, Duration) - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel
 
ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder - Class in dev.langchain4j.model.zhipu
 
ZhipuAiEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder
 
ZhipuAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.zhipu.spi
A factory for building ZhipuAiEmbeddingModel.ZhipuAiEmbeddingModelBuilder instances.
ZhipuAiException - Exception Class in dev.langchain4j.model.zhipu
 
ZhipuAiException(String) - Constructor for exception class dev.langchain4j.model.zhipu.ZhipuAiException
 
ZhipuAiException(String, String) - Constructor for exception class dev.langchain4j.model.zhipu.ZhipuAiException
 
ZhipuAiException(Response) - Constructor for exception class dev.langchain4j.model.zhipu.ZhipuAiException
 
ZhipuAiImageModel - Class in dev.langchain4j.model.zhipu
 
ZhipuAiImageModel(String, String, String, String, Integer, Boolean, Boolean, Duration, Duration, Duration, Duration) - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiImageModel
Instantiates ZhipuAi cogview-3 image processing model.
ZhipuAiImageModel.ZhipuAiImageModelBuilder - Class in dev.langchain4j.model.zhipu
 
ZhipuAiStreamingChatModel - Class in dev.langchain4j.model.zhipu
 
ZhipuAiStreamingChatModel(String, String, Double, Double, List<String>, String, Integer, Boolean, Boolean, List<ChatModelListener>, Duration, Duration, Duration, Duration) - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel
 
ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder - Class in dev.langchain4j.model.zhipu
 
ZhipuAiStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.zhipu.ZhipuAiStreamingChatModel.ZhipuAiStreamingChatModelBuilder
 
ZhipuAiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.zhipu.spi
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