A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
T
- temperature() - function in dev.langchain4j.model.chat.listener.ChatModelRequest
- temperature(java.lang.Double) - function in dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
- temperature() - function in dev.langchain4j.model.chat.request.ChatRequestParameters
- temperature() - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters
- temperature(java.lang.Double) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- template() - function in dev.langchain4j.model.input.PromptTemplate
- test(Object) - function in dev.langchain4j.store.embedding.filter.Filter
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.ContainsString
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsIn
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsLessThan
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.comparison.IsNotIn
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.logical.And
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.logical.Not
- Tests if a given object satisfies this Filter.
- test(Object) - function in dev.langchain4j.store.embedding.filter.logical.Or
- Tests if a given object satisfies this Filter.
- text() - function in dev.langchain4j.data.document.Document
- Returns the text of this document.
- text() - function in dev.langchain4j.data.document.Document
- Returns the text of this document.
- text() - function in dev.langchain4j.data.message.AiMessage
- Get the text of the message.
- text() - function in dev.langchain4j.data.message.ChatMessage
- The text of the message.
- TEXT - enum entry in dev.langchain4j.data.message.ContentType
Text content.
- text() - function in dev.langchain4j.data.message.CustomMessage
- The text of the message.
- text() - function in dev.langchain4j.data.message.SystemMessage
- Returns the message text.
- text() - function in dev.langchain4j.data.message.TextContent
- Returns the text.
- text() - function in dev.langchain4j.data.message.ToolExecutionResultMessage
- Returns the result of the tool execution.
- text() - function in dev.langchain4j.data.message.UserMessage
- UserMessage can contain not just a single
String text
, but also multiple Contents, which can be either TextContent or ImageContent. - text() - function in dev.langchain4j.data.segment.TextSegment
- Returns the text.
- TEXT - enum entry in dev.langchain4j.model.chat.request.ResponseFormatType
- text() - function in dev.langchain4j.model.input.Prompt
- The text of the prompt.
- text() - function in dev.langchain4j.rag.query.Query
- TEXT_FILE - enum entry in dev.langchain4j.data.message.ContentType
Text file content.
- TextContent - class in dev.langchain4j.data.message
- Represents a text content.
- textFile() - function in dev.langchain4j.data.message.TextFileContent
- Get the
TextFile
. - TextFile - class in dev.langchain4j.data.text
- TextFile.Builder - class in dev.langchain4j.data.text.TextFile
- Builder for TextFile.
- TextFileContent - class in dev.langchain4j.data.message
- 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(java.lang.String) - function in dev.langchain4j.data.segment.TextSegment
- Creates a new text segment.
- textSegment(java.lang.String,dev.langchain4j.data.document.Metadata) - function in dev.langchain4j.data.segment.TextSegment
- Creates a new text segment.
- textSegment() - function in dev.langchain4j.rag.content.Content
- textSegment() - function in dev.langchain4j.rag.content.Content
- TextSegmentTransformer - class in dev.langchain4j.data.segment
- Defines the interface for transforming a TextSegment.
- textSegmentTransformer(dev.langchain4j.data.segment.TextSegmentTransformer) - function in dev.langchain4j.store.embedding.EmbeddingStoreIngestor.Builder
- Sets the text segment transformer.
- title() - function in dev.langchain4j.web.search.WebSearchOrganicResult
- Returns the title of the web page.
- toAiMessage() - function in dev.langchain4j.model.input.Prompt
- Convert this prompt to an AiMessage.
- toContentRetriever() - function in dev.langchain4j.retriever.Retriever
- toContentRetriever() - function in dev.langchain4j.retriever.Retriever
- toDocument() - function in dev.langchain4j.web.search.WebSearchOrganicResult
- Converts this WebSearchOrganicResult to a Document.
- toDocuments() - function in dev.langchain4j.web.search.WebSearchResults
- Converts the organic search results to a list of documents.
- toInputStream(Object,java.lang.Class) - function in dev.langchain4j.internal.Json
- Convert the given object to an InputStream.
- toInputStream(Object,java.lang.Class) - function in dev.langchain4j.internal.Json.JsonCodec
- Convert the given object to an InputStream.
- toJson(Object) - function in dev.langchain4j.internal.Json
- Convert the given object to JSON.
- toJson(Object) - function in dev.langchain4j.internal.Json.JsonCodec
- Convert the given object to JSON.
- TokenCountEstimator - class 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 - class in dev.langchain4j.model.embedding
- Represents an interface for estimating the count of tokens in various texts, text segments, etc.
- TokenCountEstimator - class 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.
- Tokenizer - class 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.
- tokenUsage() - function in dev.langchain4j.model.chat.listener.ChatModelResponse
- tokenUsage(dev.langchain4j.model.output.TokenUsage) - function in dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
- tokenUsage() - function in dev.langchain4j.model.chat.response.ChatResponse
- tokenUsage(dev.langchain4j.model.output.TokenUsage) - function in dev.langchain4j.model.chat.response.ChatResponse.Builder
- tokenUsage() - function in dev.langchain4j.model.chat.response.ChatResponseMetadata
- tokenUsage(dev.langchain4j.model.output.TokenUsage) - function in dev.langchain4j.model.chat.response.ChatResponseMetadata.Builder
- tokenUsage() - function in dev.langchain4j.model.output.Response
- Get the token usage statistics.
- TokenUsage - class in dev.langchain4j.model.output
- Represents the token usage of a response.
- tokenUsage() - function in dev.langchain4j.store.embedding.IngestionResult
- toMap() - function in dev.langchain4j.data.document.Metadata
- Get a copy of the metadata as a map of key-value pairs.
- toMap(dev.langchain4j.model.chat.request.json.JsonSchemaElement) - function in dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
- toMap(dev.langchain4j.model.chat.request.json.JsonSchemaElement,boolean) - function in dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
- toMap(java.util.Map) - function in dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
- toMap(java.util.Map,boolean) - function in dev.langchain4j.model.chat.request.json.JsonSchemaElementHelper
- Tool - class in dev.langchain4j.agent.tool
- Java methods annotated with
@Tool
are considered tools/functions that language model can execute/call. - TOOL_EXECUTION - enum entry in dev.langchain4j.model.output.FinishReason
The call finished signalling a need for tool execution.
- TOOL_EXECUTION_RESULT - enum entry in dev.langchain4j.data.message.ChatMessageType
A message from a tool.
- toolChoice() - function in dev.langchain4j.model.chat.request.ChatRequestParameters
- toolChoice() - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters
- toolChoice(dev.langchain4j.model.chat.request.ToolChoice) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- ToolChoice - class in dev.langchain4j.model.chat.request
- 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
ToolExecutionRequest
builder static inner class.- toolExecutionRequests() - function in dev.langchain4j.data.message.AiMessage
- Get the tool execution requests of the message.
- ToolExecutionResultMessage - class in dev.langchain4j.data.message
- Represents the result of a tool execution in response to a ToolExecutionRequest.
- toolExecutionResultMessage(dev.langchain4j.agent.tool.ToolExecutionRequest,java.lang.String) - function in dev.langchain4j.data.message.ToolExecutionResultMessage
- Creates a ToolExecutionResultMessage from a ToolExecutionRequest and the result of the tool execution.
- toolExecutionResultMessage(java.lang.String,java.lang.String,java.lang.String) - function in dev.langchain4j.data.message.ToolExecutionResultMessage
- Creates a ToolExecutionResultMessage from a ToolExecutionRequest and the result of the tool execution.
- ToolMemoryId - class 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.
- toolName() - function in dev.langchain4j.data.message.ToolExecutionResultMessage
- Returns the name of the tool.
- ToolParameters - class in dev.langchain4j.agent.tool
- Represents the parameters of a tool.
- toolParameters() - function in dev.langchain4j.agent.tool.ToolSpecification
- ToolParameters.Builder - class in dev.langchain4j.agent.tool.ToolParameters
ToolParameters
builder static inner class.- ToolSpecification - class in dev.langchain4j.agent.tool
- Describes a tool that language model can execute.
- ToolSpecification.Builder - class in dev.langchain4j.agent.tool.ToolSpecification
ToolSpecification
builder static inner class.- toolSpecificationFrom(java.lang.reflect.Method) - function in dev.langchain4j.agent.tool.ToolSpecifications
- Returns the ToolSpecification for the given method annotated with @Tool.
- ToolSpecifications - class in dev.langchain4j.agent.tool
- Utility methods for ToolSpecifications.
- toolSpecifications() - function in dev.langchain4j.model.chat.listener.ChatModelRequest
- toolSpecifications(java.util.List) - function in dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
- toolSpecifications() - function in dev.langchain4j.model.chat.request.ChatRequest
- toolSpecifications(kotlin.Array) - function in dev.langchain4j.model.chat.request.ChatRequest.Builder
- toolSpecifications(java.util.List) - function in dev.langchain4j.model.chat.request.ChatRequest.Builder
- toolSpecifications() - function in dev.langchain4j.model.chat.request.ChatRequestParameters
- toolSpecifications() - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters
- toolSpecifications(kotlin.Array) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- toolSpecifications(java.util.List) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- toolSpecificationsFrom(java.lang.Class) - function in dev.langchain4j.agent.tool.ToolSpecifications
- Returns ToolSpecifications for all methods annotated with @Tool within the specified class.
- toolSpecificationsFrom(Object) - function in dev.langchain4j.agent.tool.ToolSpecifications
- Returns ToolSpecifications for all methods annotated with @Tool within the class of the specified object.
- topK() - function in dev.langchain4j.model.chat.request.ChatRequestParameters
- topK() - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters
- topK(java.lang.Integer) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- topP() - function in dev.langchain4j.model.chat.listener.ChatModelRequest
- topP(java.lang.Double) - function in dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
- topP() - function in dev.langchain4j.model.chat.request.ChatRequestParameters
- topP() - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters
- topP(java.lang.Double) - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
- toPrompt(Object) - function in dev.langchain4j.model.input.structured.DefaultStructuredPromptFactory
- Converts the given structured prompt to a prompt.
- toPrompt(Object) - function in dev.langchain4j.model.input.structured.StructuredPromptProcessor
- Converts the given structured prompt to a prompt.
- toPrompt(Object) - function in dev.langchain4j.spi.prompt.structured.StructuredPromptFactory
- Converts the given structured prompt to a prompt.
- toString() - function in dev.langchain4j.agent.tool.JsonSchemaProperty
- toString() - function in dev.langchain4j.agent.tool.ToolExecutionRequest
- toString() - function in dev.langchain4j.agent.tool.ToolParameters
- toString() - function in dev.langchain4j.agent.tool.ToolSpecification
- toString() - function in dev.langchain4j.data.audio.Audio
- toString() - function in dev.langchain4j.data.document.Metadata
- toString() - function in dev.langchain4j.data.embedding.Embedding
- toString() - function in dev.langchain4j.data.image.Image
- toString() - function in dev.langchain4j.data.message.AiMessage
- toString() - function in dev.langchain4j.data.message.AudioContent
- toString() - function in dev.langchain4j.data.message.CustomMessage
- toString() - function in dev.langchain4j.data.message.ImageContent
- toString() - function in dev.langchain4j.data.message.PdfFileContent
- toString() - function in dev.langchain4j.data.message.SystemMessage
- toString() - function in dev.langchain4j.data.message.TextContent
- toString() - function in dev.langchain4j.data.message.TextFileContent
- toString() - function in dev.langchain4j.data.message.ToolExecutionResultMessage
- toString() - function in dev.langchain4j.data.message.UserMessage
- toString() - function in dev.langchain4j.data.message.VideoContent
- toString() - function in dev.langchain4j.data.pdf.PdfFile
- toString() - function in dev.langchain4j.data.segment.TextSegment
- toString() - function in dev.langchain4j.data.text.TextFile
- toString() - function in dev.langchain4j.data.video.Video
- toString() - function in dev.langchain4j.model.chat.listener.ChatModelRequest.ChatModelRequestBuilder
- toString() - function in dev.langchain4j.model.chat.listener.ChatModelResponse.ChatModelResponseBuilder
- toString() - function in dev.langchain4j.model.chat.request.ChatRequest
- toString() - function in dev.langchain4j.model.chat.request.DefaultChatRequestParameters
- toString() - function in dev.langchain4j.model.chat.request.ResponseFormat
- toString() - function in dev.langchain4j.model.chat.request.json.JsonAnyOfSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonArraySchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonBooleanSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonEnumSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonIntegerSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonNumberSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonObjectSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonReferenceSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonSchema
- toString() - function in dev.langchain4j.model.chat.request.json.JsonStringSchema
- toString() - function in dev.langchain4j.model.chat.response.ChatResponse
- toString() - function in dev.langchain4j.model.chat.response.ChatResponseMetadata
- toString() - function in dev.langchain4j.model.input.Prompt
- toString() - function in dev.langchain4j.model.moderation.Moderation
- toString() - function in dev.langchain4j.model.output.Response
- toString() - function in dev.langchain4j.model.output.TokenUsage
- toString() - function in dev.langchain4j.rag.AugmentationResult.AugmentationResultBuilder
- toString() - function in dev.langchain4j.rag.DefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder
- toString() - function in dev.langchain4j.rag.content.aggregator.ReRankingContentAggregator.ReRankingContentAggregatorBuilder
- toString() - function in dev.langchain4j.rag.content.injector.DefaultContentInjector.DefaultContentInjectorBuilder
- toString() - function in dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
- toString() - function in dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever.EmbeddingStoreContentRetrieverBuilder
- toString() - function in dev.langchain4j.rag.content.retriever.WebSearchContentRetriever.WebSearchContentRetrieverBuilder
- toString() - function in dev.langchain4j.rag.query.Metadata
- toString() - function in dev.langchain4j.rag.query.Query
- toString() - function in dev.langchain4j.rag.query.router.LanguageModelQueryRouter.LanguageModelQueryRouterBuilder
- toString() - function in dev.langchain4j.rag.query.transformer.CompressingQueryTransformer.CompressingQueryTransformerBuilder
- toString() - function in dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer.ExpandingQueryTransformerBuilder
- toString() - function in dev.langchain4j.store.embedding.EmbeddingMatch
- toString() - function in dev.langchain4j.store.embedding.EmbeddingSearchRequest
- toString() - function in dev.langchain4j.store.embedding.EmbeddingSearchRequest.EmbeddingSearchRequestBuilder
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.ContainsString
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsEqualTo
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsGreaterThan
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsGreaterThanOrEqualTo
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsIn
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsLessThan
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsLessThanOrEqualTo
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsNotEqualTo
- toString() - function in dev.langchain4j.store.embedding.filter.comparison.IsNotIn
- toString() - function in dev.langchain4j.store.embedding.filter.logical.And
- toString() - function in dev.langchain4j.store.embedding.filter.logical.Not
- toString() - function in dev.langchain4j.store.embedding.filter.logical.Or
- toString() - function in dev.langchain4j.web.search.WebSearchInformationResult
- toString() - function in dev.langchain4j.web.search.WebSearchOrganicResult
- toString() - function in dev.langchain4j.web.search.WebSearchRequest
- toString() - function in dev.langchain4j.web.search.WebSearchResults
- toString() - function in java.lang.Record
- toString() - function in java.lang.Throwable
- toString() - function in java.lang.annotation.Annotation
- toSystemMessage() - function in dev.langchain4j.model.input.Prompt
- Convert this prompt to a SystemMessage.
- totalResults() - function in dev.langchain4j.web.search.WebSearchInformationResult
- Gets the total number of results.
- totalTokenCount() - function in dev.langchain4j.model.output.TokenUsage
- Returns the total token count, or null if unknown.
- toTextSegment() - function in dev.langchain4j.data.document.Document
- Builds a TextSegment from this document.
- toTextSegment() - function in dev.langchain4j.data.document.Document
- Builds a TextSegment from this document.
- toTextSegment() - function in dev.langchain4j.web.search.WebSearchOrganicResult
- Converts this WebSearchOrganicResult to a TextSegment.
- toTextSegments() - function in dev.langchain4j.web.search.WebSearchResults
- Converts the organic search results to a list of text segments.
- toUserMessage() - function in dev.langchain4j.model.input.Prompt
- Convert this prompt to a UserMessage.
- toUserMessage(java.lang.String) - function in dev.langchain4j.model.input.Prompt
- Convert this prompt to a UserMessage with specified userName.
- transform(dev.langchain4j.data.document.Document) - function in dev.langchain4j.data.document.DocumentTransformer
- Transforms a provided document.
- transform(dev.langchain4j.data.segment.TextSegment) - function in dev.langchain4j.data.segment.TextSegmentTransformer
- Transforms a provided segment.
- transform(dev.langchain4j.rag.query.Query) - function in dev.langchain4j.rag.query.transformer.CompressingQueryTransformer
- Transforms the given Query into one or multiple Querys.
- transform(dev.langchain4j.rag.query.Query) - function in dev.langchain4j.rag.query.transformer.DefaultQueryTransformer
- Transforms the given Query into one or multiple Querys.
- transform(dev.langchain4j.rag.query.Query) - function in dev.langchain4j.rag.query.transformer.ExpandingQueryTransformer
- Transforms the given Query into one or multiple Querys.
- transform(dev.langchain4j.rag.query.Query) - function in dev.langchain4j.rag.query.transformer.QueryTransformer
- Transforms the given Query into one or multiple Querys.
- transformAll(java.util.List) - function in dev.langchain4j.data.document.DocumentTransformer
- Transforms all the provided documents.
- transformAll(java.util.List) - function in dev.langchain4j.data.segment.TextSegmentTransformer
- Transforms all the provided segments.
- type(java.lang.String) - function in dev.langchain4j.agent.tool.JsonSchemaProperty
- Construct a property with key "type" and value.
- type() - function in dev.langchain4j.agent.tool.ToolParameters
- Returns the type of the tool.
- type(java.lang.String) - function in dev.langchain4j.agent.tool.ToolParameters.Builder
- Sets the
type
. - type() - function in dev.langchain4j.data.message.AiMessage
- The type of the message.
- type() - function in dev.langchain4j.data.message.AudioContent
- Returns the type of content.
- type() - function in dev.langchain4j.data.message.ChatMessage
- The type of the message.
- type() - function in dev.langchain4j.data.message.Content
- Returns the type of content.
- type() - function in dev.langchain4j.data.message.CustomMessage
- The type of the message.
- type() - function in dev.langchain4j.data.message.ImageContent
- Returns the type of content.
- type() - function in dev.langchain4j.data.message.PdfFileContent
- Returns the type of content.
- type() - function in dev.langchain4j.data.message.SystemMessage
- The type of the message.
- type() - function in dev.langchain4j.data.message.TextContent
- Returns the type of content.
- type() - function in dev.langchain4j.data.message.TextFileContent
- Returns the type of content.
- type() - function in dev.langchain4j.data.message.ToolExecutionResultMessage
- The type of the message.
- type() - function in dev.langchain4j.data.message.UserMessage
- The type of the message.
- type() - function in dev.langchain4j.data.message.VideoContent
- Returns the type of content.
- type() - function in dev.langchain4j.model.chat.request.ResponseFormat
- type(dev.langchain4j.model.chat.request.ResponseFormatType) - function in dev.langchain4j.model.chat.request.ResponseFormat.Builder
- TypeUtils - class in dev.langchain4j.internal