Index
All Classes and Interfaces|All Packages
A
- add(Embedding) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
- add(Embedding, Embedded) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
- add(ChatMessage) - Method in interface dev.langchain4j.memory.ChatMemory
- add(String, Embedding) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
- add(String, String) - Method in class dev.langchain4j.data.document.Metadata
- addAll(List<Embedding>) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
- addAll(List<Embedding>, List<Embedded>) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
- addOptionalParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
- addParameter(String, JsonSchemaProperty...) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
- aiMessage(ToolExecutionRequest) - Static method in class dev.langchain4j.data.message.AiMessage
- aiMessage(String) - Static method in class dev.langchain4j.data.message.AiMessage
- AiMessage - Class in dev.langchain4j.data.message
- AiMessage(String, ToolExecutionRequest) - Constructor for class dev.langchain4j.data.message.AiMessage
- apply(Object) - Method in class dev.langchain4j.model.input.PromptTemplate
- apply(Map<String, Object>) - Method in class dev.langchain4j.model.input.PromptTemplate
- argument(String) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- arguments() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- arguments(String) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
- argumentsAsMap() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- ARRAY - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
B
- BOOLEAN - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
- build() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
- build() - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
- build() - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
- builder() - Static method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- builder() - Static method in class dev.langchain4j.agent.tool.ToolParameters
- builder() - Static method in class dev.langchain4j.agent.tool.ToolSpecification
C
- Chain<Input,
Output> - Interface in dev.langchain4j.chain - ChatLanguageModel - Interface in dev.langchain4j.model.chat
- ChatMemory - Interface in dev.langchain4j.memory
- ChatMessage - Class in dev.langchain4j.data.message
- clear() - Method in interface dev.langchain4j.memory.ChatMemory
- copy() - Method in class dev.langchain4j.data.document.Metadata
- countTokens(ChatMessage) - Method in interface dev.langchain4j.model.Tokenizer
- countTokens(Iterable<ChatMessage>) - Method in interface dev.langchain4j.model.Tokenizer
- countTokens(String) - Method in interface dev.langchain4j.model.Tokenizer
D
- description() - Method in interface dev.langchain4j.agent.Tool
- description() - Method in class dev.langchain4j.agent.tool.ToolSpecification
- description(String) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- description(String) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
- Description - Annotation Type in dev.langchain4j.model.output.structured
- dev.langchain4j - package dev.langchain4j
- dev.langchain4j.agent - package dev.langchain4j.agent
- dev.langchain4j.agent.tool - package dev.langchain4j.agent.tool
- dev.langchain4j.chain - package dev.langchain4j.chain
- dev.langchain4j.data.document - package dev.langchain4j.data.document
- dev.langchain4j.data.embedding - package dev.langchain4j.data.embedding
- dev.langchain4j.data.message - package dev.langchain4j.data.message
- dev.langchain4j.memory - package dev.langchain4j.memory
- dev.langchain4j.model - package dev.langchain4j.model
- dev.langchain4j.model.chat - package dev.langchain4j.model.chat
- dev.langchain4j.model.embedding - package dev.langchain4j.model.embedding
- dev.langchain4j.model.input - package dev.langchain4j.model.input
- dev.langchain4j.model.input.structured - package dev.langchain4j.model.input.structured
- dev.langchain4j.model.language - package dev.langchain4j.model.language
- dev.langchain4j.model.moderation - package dev.langchain4j.model.moderation
- dev.langchain4j.model.output - package dev.langchain4j.model.output
- dev.langchain4j.model.output.structured - package dev.langchain4j.model.output.structured
- dev.langchain4j.store.embedding - package dev.langchain4j.store.embedding
- document(String) - Static method in class dev.langchain4j.data.document.Document
- document(String, Metadata) - Static method in class dev.langchain4j.data.document.Document
- Document - Class in dev.langchain4j.data.document
- Document(String, Metadata) - Constructor for class dev.langchain4j.data.document.Document
- DocumentParser - Interface in dev.langchain4j.data.document
- documentSegment(String) - Static method in class dev.langchain4j.data.document.DocumentSegment
- documentSegment(String, Metadata) - Static method in class dev.langchain4j.data.document.DocumentSegment
- DocumentSegment - Class in dev.langchain4j.data.document
- DocumentSegment(String, Metadata) - Constructor for class dev.langchain4j.data.document.DocumentSegment
- DocumentSource - Interface in dev.langchain4j.data.document
- DocumentSplitter - Interface in dev.langchain4j.data.document
E
- embed(DocumentSegment) - Method in interface dev.langchain4j.model.embedding.EmbeddingModel
- embed(String) - Method in interface dev.langchain4j.model.embedding.EmbeddingModel
- embedAll(List<DocumentSegment>) - Method in interface dev.langchain4j.model.embedding.EmbeddingModel
- embedded() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
- embedding() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
- Embedding - Class in dev.langchain4j.data.embedding
- Embedding(float[]) - Constructor for class dev.langchain4j.data.embedding.Embedding
- embeddingId() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
- EmbeddingMatch<Embedded> - Class in dev.langchain4j.store.embedding
- EmbeddingMatch(String, Embedding, Embedded) - Constructor for class dev.langchain4j.store.embedding.EmbeddingMatch
- EmbeddingModel - Interface in dev.langchain4j.model.embedding
- EmbeddingStore<Embedded> - Interface in dev.langchain4j.store.embedding
- enums(Class<?>) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- enums(Object...) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- enums(String...) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- equals(Object) - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- equals(Object) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- equals(Object) - Method in class dev.langchain4j.agent.tool.ToolParameters
- equals(Object) - Method in class dev.langchain4j.agent.tool.ToolSpecification
- equals(Object) - Method in class dev.langchain4j.data.document.Document
- equals(Object) - Method in class dev.langchain4j.data.document.DocumentSegment
- 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.message.AiMessage
- equals(Object) - Method in class dev.langchain4j.data.message.SystemMessage
- 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.model.input.Prompt
- equals(Object) - Method in class dev.langchain4j.model.moderation.Moderation
- equals(Object) - Method in class dev.langchain4j.model.output.Result
- equals(Object) - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
- estimateTokenCount(DocumentSegment) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
- estimateTokenCount(DocumentSegment) - Method in interface dev.langchain4j.model.embedding.TokenCountEstimator
- estimateTokenCount(DocumentSegment) - Method in interface dev.langchain4j.model.language.TokenCountEstimator
- estimateTokenCount(UserMessage) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
- estimateTokenCount(Prompt) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
- estimateTokenCount(Prompt) - Method in interface dev.langchain4j.model.language.TokenCountEstimator
- estimateTokenCount(Object) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
- estimateTokenCount(Object) - Method in interface dev.langchain4j.model.language.TokenCountEstimator
- estimateTokenCount(String) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
- estimateTokenCount(String) - Method in interface dev.langchain4j.model.embedding.TokenCountEstimator
- estimateTokenCount(String) - Method in interface dev.langchain4j.model.language.TokenCountEstimator
- estimateTokenCount(List<DocumentSegment>) - Method in interface dev.langchain4j.model.embedding.TokenCountEstimator
- estimateTokenCount(List<ChatMessage>) - Method in interface dev.langchain4j.model.chat.TokenCountEstimator
- Examples - Annotation Type in dev.langchain4j.model.output.structured
- execute(Input) - Method in interface dev.langchain4j.chain.Chain
- execute(String) - Method in interface dev.langchain4j.agent.Tool
F
- findRelevant(Embedding, int) - Method in interface dev.langchain4j.store.embedding.EmbeddingStore
- flagged() - Method in class dev.langchain4j.model.moderation.Moderation
- flagged(String) - Static method in class dev.langchain4j.model.moderation.Moderation
- flaggedText() - Method in class dev.langchain4j.model.moderation.Moderation
- formatInstructions() - Method in interface dev.langchain4j.model.output.OutputParser
- from(float[]) - Static method in class dev.langchain4j.data.embedding.Embedding
- from(ToolExecutionRequest) - Static method in class dev.langchain4j.data.message.AiMessage
- from(String) - Static method in class dev.langchain4j.data.document.Document
- from(String) - Static method in class dev.langchain4j.data.document.DocumentSegment
- from(String) - Static method in class dev.langchain4j.data.message.AiMessage
- from(String) - Static method in class dev.langchain4j.data.message.SystemMessage
- from(String) - Static method in class dev.langchain4j.data.message.UserMessage
- from(String) - Static method in class dev.langchain4j.model.input.Prompt
- from(String) - Static method in class dev.langchain4j.model.input.PromptTemplate
- from(String, Metadata) - Static method in class dev.langchain4j.data.document.Document
- from(String, Metadata) - Static method in class dev.langchain4j.data.document.DocumentSegment
- from(String, Object) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- from(String, String) - Static method in class dev.langchain4j.data.message.ToolExecutionResultMessage
- from(List<Float>) - Static method in class dev.langchain4j.data.embedding.Embedding
- from(T) - Static method in class dev.langchain4j.model.output.Result
G
- get() - Method in class dev.langchain4j.model.output.Result
- get(String) - Method in class dev.langchain4j.data.document.Metadata
H
- hashCode() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- hashCode() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- hashCode() - Method in class dev.langchain4j.agent.tool.ToolParameters
- hashCode() - Method in class dev.langchain4j.agent.tool.ToolSpecification
- hashCode() - Method in class dev.langchain4j.data.document.Document
- hashCode() - Method in class dev.langchain4j.data.document.DocumentSegment
- 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.message.AiMessage
- hashCode() - Method in class dev.langchain4j.data.message.SystemMessage
- hashCode() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
- hashCode() - Method in class dev.langchain4j.data.message.UserMessage
- hashCode() - Method in class dev.langchain4j.model.input.Prompt
- hashCode() - Method in class dev.langchain4j.model.moderation.Moderation
- hashCode() - Method in class dev.langchain4j.model.output.Result
- hashCode() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
I
- id() - Method in interface dev.langchain4j.agent.Tool
- inputStream() - Method in interface dev.langchain4j.data.document.DocumentSource
J
- JsonSchemaProperty - Class in dev.langchain4j.agent.tool
- JsonSchemaProperty(String, Object) - Constructor for class dev.langchain4j.agent.tool.JsonSchemaProperty
K
- key() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
L
- LanguageModel - Interface in dev.langchain4j.model.language
M
- mergeFrom(Metadata) - Method in class dev.langchain4j.data.document.Metadata
- messages() - Method in interface dev.langchain4j.memory.ChatMemory
- metadata() - Method in class dev.langchain4j.data.document.Document
- metadata() - Method in class dev.langchain4j.data.document.DocumentSegment
- Metadata - Class in dev.langchain4j.data.document
- Metadata() - Constructor for class dev.langchain4j.data.document.Metadata
- Metadata(Map<String, String>) - Constructor for class dev.langchain4j.data.document.Metadata
- MightChangeInTheFuture - Annotation Type in dev.langchain4j
-
Indicates that a class/constructor/method is experimental and might change in the future.
- moderate(DocumentSegment) - Method in interface dev.langchain4j.model.moderation.ModerationModel
- moderate(ChatMessage) - Method in interface dev.langchain4j.model.moderation.ModerationModel
- moderate(Prompt) - Method in interface dev.langchain4j.model.moderation.ModerationModel
- moderate(Object) - Method in interface dev.langchain4j.model.moderation.ModerationModel
- moderate(String) - Method in interface dev.langchain4j.model.moderation.ModerationModel
- moderate(List<ChatMessage>) - Method in interface dev.langchain4j.model.moderation.ModerationModel
- Moderation - Class in dev.langchain4j.model.moderation
- Moderation() - Constructor for class dev.langchain4j.model.moderation.Moderation
- Moderation(String) - Constructor for class dev.langchain4j.model.moderation.Moderation
- ModerationModel - Interface in dev.langchain4j.model.moderation
N
- name() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- name() - Method in class dev.langchain4j.agent.tool.ToolSpecification
- name(String) - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
- name(String) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
- notFlagged() - Static method in class dev.langchain4j.model.moderation.Moderation
- NULL - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
- NUMBER - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
O
- OBJECT - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
- onComplete() - Method in interface dev.langchain4j.model.StreamingResultHandler
- onError(Throwable) - Method in interface dev.langchain4j.model.StreamingResultHandler
- onPartialResult(String) - Method in interface dev.langchain4j.model.StreamingResultHandler
- OutputParser<T> - Interface in dev.langchain4j.model.output
P
- parameters() - Method in class dev.langchain4j.agent.tool.ToolSpecification
- parameters(ToolParameters) - Method in class dev.langchain4j.agent.tool.ToolSpecification.Builder
- parse(InputStream) - Method in interface dev.langchain4j.data.document.DocumentParser
- parse(String) - Method in interface dev.langchain4j.model.output.OutputParser
- process(Prompt) - Method in interface dev.langchain4j.model.language.LanguageModel
- process(Prompt, StreamingResultHandler) - Method in interface dev.langchain4j.model.language.StreamingLanguageModel
- process(Object) - Method in interface dev.langchain4j.model.language.LanguageModel
- process(Object, StreamingResultHandler) - Method in interface dev.langchain4j.model.language.StreamingLanguageModel
- process(String) - Method in interface dev.langchain4j.model.language.LanguageModel
- process(String, StreamingResultHandler) - Method in interface dev.langchain4j.model.language.StreamingLanguageModel
- Prompt - Class in dev.langchain4j.model.input
- Prompt(String) - Constructor for class dev.langchain4j.model.input.Prompt
- PromptTemplate - Class in dev.langchain4j.model.input
- PromptTemplate(String) - Constructor for class dev.langchain4j.model.input.PromptTemplate
- properties() - Method in class dev.langchain4j.agent.tool.ToolParameters
- properties(Map<String, Map<String, Object>>) - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
- property(String, Object) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
R
- required() - Method in class dev.langchain4j.agent.tool.ToolParameters
- required(List<String>) - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
- Result<T> - Class in dev.langchain4j.model.output
- Result(T) - Constructor for class dev.langchain4j.model.output.Result
S
- sendMessages(ChatMessage...) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
- sendMessages(List<ChatMessage>) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
- sendMessages(List<ChatMessage>, StreamingResultHandler) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
- sendMessages(List<ChatMessage>, List<ToolSpecification>) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
- sendUserMessage(UserMessage, StreamingResultHandler) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
- sendUserMessage(Prompt) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
- sendUserMessage(Prompt, StreamingResultHandler) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
- sendUserMessage(Object) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
- sendUserMessage(Object, StreamingResultHandler) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
- sendUserMessage(String) - Method in interface dev.langchain4j.model.chat.ChatLanguageModel
- sendUserMessage(String, StreamingResultHandler) - Method in interface dev.langchain4j.model.chat.StreamingChatLanguageModel
- sourceMetadata() - Method in interface dev.langchain4j.data.document.DocumentSource
- split(Document) - Method in interface dev.langchain4j.data.document.DocumentSplitter
- StreamingChatLanguageModel - Interface in dev.langchain4j.model.chat
- StreamingLanguageModel - Interface in dev.langchain4j.model.language
- StreamingResultHandler - Interface in dev.langchain4j.model
- STRING - Static variable in class dev.langchain4j.agent.tool.JsonSchemaProperty
- StructuredPrompt - Annotation Type in dev.langchain4j.model.input.structured
- systemMessage(String) - Static method in class dev.langchain4j.data.message.SystemMessage
- SystemMessage - Class in dev.langchain4j.data.message
- SystemMessage(String) - Constructor for class dev.langchain4j.data.message.SystemMessage
T
- text - Variable in class dev.langchain4j.data.message.ChatMessage
- text() - Method in class dev.langchain4j.data.document.Document
- text() - Method in class dev.langchain4j.data.document.DocumentSegment
- text() - Method in class dev.langchain4j.data.message.ChatMessage
- text() - Method in class dev.langchain4j.model.input.Prompt
- toAiMessage() - Method in class dev.langchain4j.model.input.Prompt
- toDocumentSegment() - Method in class dev.langchain4j.data.document.Document
- TokenCountEstimator - Interface in dev.langchain4j.model.chat
- TokenCountEstimator - Interface in dev.langchain4j.model.embedding
- TokenCountEstimator - Interface in dev.langchain4j.model.language
- Tokenizer - Interface in dev.langchain4j.model
- Tool - Interface in dev.langchain4j.agent
- toolExecutionRequest() - Method in class dev.langchain4j.data.message.AiMessage
- ToolExecutionRequest - Class in dev.langchain4j.agent.tool
- ToolExecutionRequest.Builder - Class in dev.langchain4j.agent.tool
- toolExecutionResultMessage(String, String) - Static method in class dev.langchain4j.data.message.ToolExecutionResultMessage
- ToolExecutionResultMessage - Class in dev.langchain4j.data.message
- ToolExecutionResultMessage(String, String) - Constructor for class dev.langchain4j.data.message.ToolExecutionResultMessage
- toolName() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
- ToolParameters - Class in dev.langchain4j.agent.tool
- ToolParameters.Builder - Class in dev.langchain4j.agent.tool
- ToolSpecification - Class in dev.langchain4j.agent.tool
- ToolSpecification.Builder - Class in dev.langchain4j.agent.tool
- toString() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- toString() - Method in class dev.langchain4j.agent.tool.ToolExecutionRequest
- toString() - Method in class dev.langchain4j.agent.tool.ToolParameters
- toString() - Method in class dev.langchain4j.agent.tool.ToolSpecification
- toString() - Method in class dev.langchain4j.data.document.Document
- toString() - Method in class dev.langchain4j.data.document.DocumentSegment
- 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.message.AiMessage
- toString() - Method in class dev.langchain4j.data.message.SystemMessage
- toString() - Method in class dev.langchain4j.data.message.ToolExecutionResultMessage
- toString() - Method in class dev.langchain4j.data.message.UserMessage
- toString() - Method in class dev.langchain4j.model.input.Prompt
- toString() - Method in class dev.langchain4j.model.moderation.Moderation
- toString() - Method in class dev.langchain4j.model.output.Result
- toString() - Method in class dev.langchain4j.store.embedding.EmbeddingMatch
- toSystemMessage() - Method in class dev.langchain4j.model.input.Prompt
- toUserMessage() - Method in class dev.langchain4j.model.input.Prompt
- type() - Method in class dev.langchain4j.agent.tool.ToolParameters
- type(String) - Static method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- type(String) - Method in class dev.langchain4j.agent.tool.ToolParameters.Builder
U
- userMessage(String) - Static method in class dev.langchain4j.data.message.UserMessage
- UserMessage - Class in dev.langchain4j.data.message
- UserMessage(String) - Constructor for class dev.langchain4j.data.message.UserMessage
V
- value() - Method in class dev.langchain4j.agent.tool.JsonSchemaProperty
- value() - Element in annotation type dev.langchain4j.MightChangeInTheFuture
- value() - Element in annotation type dev.langchain4j.model.input.structured.StructuredPrompt
-
Prompt template can be defined in one line or multiple lines.
- value() - Element in annotation type dev.langchain4j.model.output.structured.Description
-
The description can be defined in one line or multiple lines.
- value() - Element in annotation type dev.langchain4j.model.output.structured.Examples
- value() - Element in annotation type dev.langchain4j.WillChangeSoon
- vector() - Method in class dev.langchain4j.data.embedding.Embedding
- vectorAsList() - Method in class dev.langchain4j.data.embedding.Embedding
W
- WillChangeSoon - Annotation Type in dev.langchain4j
-
Indicates that a class/constructor/method is planned to change soon.
All Classes and Interfaces|All Packages