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
- aiMessage(String) - Static method in class dev.langchain4j.data.message.AiMessage
- AiMessage - Class in dev.langchain4j.data.message
- AiMessage(String) - Constructor for class dev.langchain4j.data.message.AiMessage
- apply(String, Object) - Method in class dev.langchain4j.model.input.PromptTemplate
- apply(Map<String, Object>) - Method in class dev.langchain4j.model.input.PromptTemplate
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 - Annotation Type in dev.langchain4j.model.output.structured
- dev.langchain4j - package dev.langchain4j
- dev.langchain4j.agent - package dev.langchain4j.agent
- 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
- 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.UserMessage
- equals(Object) - Method in class dev.langchain4j.model.input.Prompt
- 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
- formatInstructions() - Method in interface dev.langchain4j.model.output.OutputParser
- from(float[]) - Static method in class dev.langchain4j.data.embedding.Embedding
- 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(List<Float>) - Static method in class dev.langchain4j.data.embedding.Embedding
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.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.UserMessage
- hashCode() - Method in class dev.langchain4j.model.input.Prompt
- 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
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
- Moderation - Class in dev.langchain4j.model.moderation
- Moderation() - Constructor for class dev.langchain4j.model.moderation.Moderation
- ModerationModel - Interface in dev.langchain4j.model.moderation
O
- 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
- 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
R
- 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
- 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
- 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
- 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.UserMessage
- toString() - Method in class dev.langchain4j.model.input.Prompt
- 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
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() - 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