Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractLangGraphStudioConfig - Class in org.bsc.langgraph4j.studio.springboot
- AbstractLangGraphStudioConfig() - Constructor for class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- accept(T) - Method in interface org.bsc.langgraph4j.utils.TryConsumer
- action() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns the value of the
action
record component. - actionFactory() - Method in class org.bsc.langgraph4j.internal.node.Node
-
actionFactory
- AdaptiveRag - Class in dev.langchain4j.adaptiverag
-
AdaptiveRag
- AdaptiveRag(String, String) - Constructor for class dev.langchain4j.adaptiverag.AdaptiveRag
-
Constructor for the AdaptiveRag class.
- AdaptiveRag.State - Class in dev.langchain4j.adaptiverag
-
Represents the state of our graph.
- addConditionalEdges(String, AsyncEdgeAction<State>, Map<String, String>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds conditional edges to the graph.
- addEdge(String, String) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds an edge to the graph.
- addInputImageArg(String) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input image argument to the server configuration with required set to true.
- addInputImageArg(String) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration with required set to true.
- addInputImageArg(String) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration with required set to true.
- addInputImageArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input image argument to the server configuration.
- addInputImageArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration.
- addInputImageArg(String, boolean) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration.
- addInputStringArg(String) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input string argument to the server configuration with required set to true.
- addInputStringArg(String) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration with required set to true.
- addInputStringArg(String) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration with required set to true.
- addInputStringArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input string argument to the server configuration.
- addInputStringArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration.
- addInputStringArg(String, boolean) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration.
- addInputStringArg(String, boolean, Function<Object, Object>) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
- addInputStringArg(String, boolean, Function<Object, Object>) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
- addInputStringArg(String, boolean, Function<Object, Object>) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
- addNode(String, AsyncNodeAction<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds a node to the graph.
- addNode(String, AsyncNodeActionWithConfig<State>) - Method in class org.bsc.langgraph4j.StateGraph
- addNode(String, CompiledGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds a subgraph to the state graph by creating a node with the specified identifier.
- addNode(String, StateGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds a subgraph to the state graph by creating a node with the specified identifier.
- addSubgraph(String, CompiledGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.
- addSubgraph(String, StateGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.
- Agent - Class in org.bsc.langgraph4j.agentexecutor
-
Represents an agent that can process chat messages and execute actions using specified tools.
- Agent(ChatLanguageModel, StreamingChatLanguageModel, List<ToolSpecification>) - Constructor for class org.bsc.langgraph4j.agentexecutor.Agent
- Agent.Builder - Class in org.bsc.langgraph4j.agentexecutor
- AgentExecutor - Interface in org.bsc.langgraph4j.agentexecutor
-
Interface representing an Agent Executor.
- AgentExecutor - Interface in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Represents the core component responsible for executing agent logic.
- AgentExecutor.Builder - Class in org.bsc.langgraph4j.agentexecutor
-
Builder class for constructing a graph of agent execution.
- AgentExecutor.Builder - Class in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Class responsible for building a state graph.
- AgentExecutor.GraphBuilder - Class in org.bsc.langgraph4j.agentexecutor
-
Deprecated.
- AgentExecutor.Serializers - Enum Class in org.bsc.langgraph4j.agentexecutor
-
Enum representing different serializers for the agent state.
- AgentExecutor.State - Class in org.bsc.langgraph4j.agentexecutor
-
Represents the state of an agent.
- AgentExecutor.State - Class in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Represents the state of an agent in a system.
- agentFunction(String) - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
-
Retrieves a specific function callback wrapper by name.
- agentFunctionsCallback() - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
-
Retrieves all registered function callback wrappers.
- AgentState - Class in org.bsc.langgraph4j.state
-
Represents the state of an agent with a map of data.
- AgentState(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.state.AgentState
-
Constructs an AgentState with the given initial data.
- AgentStateFactory<State extends AgentState> - Interface in org.bsc.langgraph4j.state
-
A factory interface for creating instances of
AgentState
. - AgentStateSerializer - Class in org.bsc.langgraph4j.spring.ai.agentexecutor.std
-
This class is responsible for serializing and deserializing the state of an agent executor.
- AgentStateSerializer() - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.std.AgentStateSerializer
-
Constructor that initializes the serializer with a supplier for creating new AgentExecutor.State instances and registers various serializers for different types.
- AiMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- AiMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageDeserializer
- AiMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- AiMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The AiMessageSerializer class implements the Serializer interface for the AiMessage type.
- AiMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageSerializer
- AiMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.AiMessageSerializer
- AnswerGrader - Record Class in dev.langchain4j.adaptiverag
-
Class to grade answers based on whether they address a given question.
- AnswerGrader(String) - Constructor for record class dev.langchain4j.adaptiverag.AnswerGrader
-
Creates an instance of a
AnswerGrader
record class. - AnswerGrader.Arguments - Record Class in dev.langchain4j.adaptiverag
-
Represents the arguments for a structured prompt, encapsulating both a user's question and an LLM-generated response.
- AnswerGrader.Score - Class in dev.langchain4j.adaptiverag
-
Binary score to assess answer addresses question.
- anyMatchById(String) - Method in class org.bsc.langgraph4j.StateGraph.Nodes
- anyMatchByTargetId(String) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- appender(Supplier<List<T>>) - Static method in interface org.bsc.langgraph4j.state.Channels
- AppenderChannel<T> - Class in org.bsc.langgraph4j.state
-
AppenderChannel is a
Channel
implementation that is used to accumulate a list of values. - AppenderChannel(Reducer<List<T>>, Supplier<List<T>>) - Constructor for class org.bsc.langgraph4j.state.AppenderChannel
-
Constructs a new instance of
AppenderChannel
with the specified default provider. - AppenderChannel.ReducerAllowDuplicate<T> - Class in org.bsc.langgraph4j.state
-
Reducer that allow duplicates
- AppenderChannel.ReducerDisallowDuplicate<T> - Class in org.bsc.langgraph4j.state
-
Reducer that disallow duplicates
- AppenderChannel.RemoveIdentifier<T> - Interface in org.bsc.langgraph4j.state
-
A functional interface that is used to remove elements from a list.
- appenderWithDuplicate(Supplier<List<T>>) - Static method in interface org.bsc.langgraph4j.state.Channels
- appendFooter(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- appendFooter(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- appendFooter(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Appends a footer to the content.
- appendHeader(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- appendHeader(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- appendHeader(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Appends a header to the output based on the provided context.
- apply(AnswerGrader.Arguments) - Method in record class dev.langchain4j.adaptiverag.AnswerGrader
-
Applies the given arguments to generate a score using a language model.
- apply(HallucinationGrader.Arguments) - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader
-
Applies the provided arguments to a chat language model and returns the score.
- apply(RetrievalGrader.Arguments) - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader
-
Applies the provided arguments to generate a score using a chat language model.
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.correction.EvaluateResult
-
Applies the async action to the given state, evaluating the diagram code.
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.correction.ReviewResult
-
Asynchronously applies the logic to a given ImageToDiagram.State object.
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.correction.RouteEvaluationResult
-
Determines the evaluation result based on the current state of the image-to-diagram conversion process.
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.DescribeDiagramImage
-
Applies the provided image to create a diagram.
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.EvaluateResult
-
Converts an ImageToDiagram state to a diagram using the
DiagramCorrectionProcess
. - apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.RouteDiagramTranslation
-
Applies the transformation to convert an
ImageToDiagram.State
to a diagram type. - apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.TranslateGenericDiagramToPlantUML
-
Applies the translation logic to the given ImageToDiagram.State object.
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.TranslateSequenceDiagramToPlantUML
-
Converts a sequence diagram from an image to PlantUML code.
- apply(ImageToDiagram.State, RunnableConfig) - Method in class dev.langchain4j.image_to_diagram.actions.correction.EventuallyPerformCorrection
-
Converts an image to a diagram asynchronously.
- apply(String) - Method in record class dev.langchain4j.adaptiverag.QuestionRewriter
-
Applies a natural language processing pipeline to improve a given question.
- apply(String) - Method in record class dev.langchain4j.adaptiverag.QuestionRouter
-
Applies a given question to an AI model and extracts the data source from the response.
- apply(String) - Method in record class dev.langchain4j.adaptiverag.WebSearchTool
-
Applies the query to a search engine and retrieves up to 3 results.
- apply(String, List<String>) - Method in record class dev.langchain4j.adaptiverag.Generation
-
Apply a text-based query to an AI model and retrieve the model's response.
- apply(List<T>, List<T>) - Method in class org.bsc.langgraph4j.state.AppenderChannel.ReducerAllowDuplicate
- apply(List<T>, List<T>) - Method in class org.bsc.langgraph4j.state.AppenderChannel.ReducerDisallowDuplicate
- apply(AgentExecutor.State) - Method in class org.bsc.langgraph4j.agentexecutor.actions.CallAgent
-
Applies the action to the given state and returns the result.
- apply(AgentExecutor.State) - Method in class org.bsc.langgraph4j.agentexecutor.actions.ExecuteTools
-
Applies the tool execution logic based on the provided agent state.
- apply(CompileConfig) - Method in interface org.bsc.langgraph4j.internal.node.Node.ActionFactory
- apply(S) - Method in interface org.bsc.langgraph4j.action.AsyncEdgeAction
-
Applies this action to the given agent state.
- apply(S) - Method in interface org.bsc.langgraph4j.action.AsyncNodeAction
-
Applies this action to the given agent state.
- apply(S) - Method in interface org.bsc.langgraph4j.action.EdgeAction
-
Applies this action to the given agent state.
- apply(S, RunnableConfig) - Method in interface org.bsc.langgraph4j.action.AsyncNodeActionWithConfig
-
Applies this action to the given agent state.
- apply(S, RunnableConfig) - Method in interface org.bsc.langgraph4j.action.NodeActionWithConfig
- apply(State, RunnableConfig) - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Executes the given graph with the provided state and configuration.
- apply(T) - Method in interface org.bsc.langgraph4j.action.NodeAction
- args() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
args
record component. - ArgumentMetadata(String, LangGraphStreamingServer.ArgumentMetadata.ArgumentType, boolean) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
- ArgumentMetadata(String, LangGraphStreamingServer.ArgumentMetadata.ArgumentType, boolean, Function<Object, Object>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Creates an instance of a
ArgumentMetadata
record class. - Arguments(String, String) - Constructor for record class dev.langchain4j.adaptiverag.AnswerGrader.Arguments
-
Creates an instance of a
Arguments
record class. - Arguments(String, String) - Constructor for record class dev.langchain4j.adaptiverag.RetrievalGrader.Arguments
-
Creates an instance of a
Arguments
record class. - Arguments(List<String>, String) - Constructor for record class dev.langchain4j.adaptiverag.HallucinationGrader.Arguments
-
Creates an instance of a
Arguments
record class. - AsyncEdgeAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an asynchronous edge action that operates on an agent state and returns a new route.
- AsyncNodeAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an asynchronous node action that operates on an agent state and returns state update.
- AsyncNodeActionWithConfig<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an asynchronous action that can be executed with a configuration.
- AsyncNodeGenerator(Map<String, Object>, RunnableConfig) - Constructor for class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- available() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
B
- base(Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channels
- base(Reducer<T>) - Static method in interface org.bsc.langgraph4j.state.Channels
- base(Reducer<T>, Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channels
- BaseCheckpointSaver - Interface in org.bsc.langgraph4j.checkpoint
- BaseCheckpointSaver.Tag - Record Class in org.bsc.langgraph4j.checkpoint
- binaryScore - Variable in class dev.langchain4j.adaptiverag.AnswerGrader.Score
- binaryScore - Variable in class dev.langchain4j.adaptiverag.HallucinationGrader.Score
- binaryScore - Variable in class dev.langchain4j.adaptiverag.RetrievalGrader.Score
- build() - Method in class org.bsc.langgraph4j.agentexecutor.Agent.Builder
- build() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Builds the state graph.
- build() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- build() - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Initializes the compilation configuration and returns it.
- build() - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
- build() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Builds and returns an instance of LLMStreamingGenerator.
- build() - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Builds and returns an instance of LLMStreamingGenerator.
- build() - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Builds the node
- build() - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Deprecated.Builds the node
- build() - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Constructs and returns the configured
RunnableConfig
object. - build() - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.Builder
-
Builds and returns a StateGraph with the specified configuration.
- build() - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Builds and returns a LangGraphStreamingServerJetty instance.
- build() - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
- build() - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- build() - Method in class org.bsc.quarkus.LangGraphFlow.Builder
- builder() - Static method in class org.bsc.langgraph4j.agentexecutor.Agent
- builder() - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutor
-
Creates a new GraphBuilder instance.
- builder() - Static method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- builder() - Static method in class org.bsc.langgraph4j.CompileConfig
-
Returns a new
CompileConfig.Builder
instance with the defaultCompileConfig
. - builder() - Static method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Deprecated.Creates a new Builder instance for LLMStreamingGenerator.
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator
-
Creates a new Builder instance for LLMStreamingGenerator.
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.
- builder() - Static method in class org.bsc.langgraph4j.RunnableConfig
-
Creates a new instance of the
RunnableConfig.Builder
class. - builder() - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor
-
Returns a new instance of
AgentExecutor.Builder
. - builder() - Static method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty
-
Creates a new Builder for LangGraphStreamingServerJetty.
- builder() - Static method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
- builder() - Static method in class org.bsc.langgraph4j.utils.EdgeMappings
- builder() - Static method in record class org.bsc.quarkus.LangGraphFlow
- builder(CompileConfig) - Static method in class org.bsc.langgraph4j.CompileConfig
-
Creates a new
CompileConfig.Builder
instance with the specified Compile configuration. - builder(RunnableConfig) - Static method in class org.bsc.langgraph4j.RunnableConfig
-
Creates a new
Builder
instance with the specifiedRunnableConfig
. - Builder() - Constructor for class org.bsc.langgraph4j.agentexecutor.Agent.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Deprecated.
- Builder() - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- Builder() - Constructor for class org.bsc.quarkus.LangGraphFlow.Builder
- Builder(CompileConfig) - Constructor for class org.bsc.langgraph4j.CompileConfig.Builder
-
Constructs a new instance of
Builder
with the specified compile configuration. - buildGraph() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag
- buildNodeOutput(String) - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- buildStateSnapshot(Checkpoint) - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
C
- call(DiagramGenerator.Context, String, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Abstract method that must be implemented by subclasses to handle the logic of making a call.
- call(DiagramGenerator.Context, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
This method is an abstract method that must be implemented by subclasses.
- callAgent(AgentExecutor.State, ChatService) - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor
-
Calls an agent with the given state.
- CallAgent - Class in org.bsc.langgraph4j.agentexecutor.actions
-
The CallAgent class implements the NodeAction interface for handling actions related to an AgentExecutor's state.
- CallAgent(Agent) - Constructor for class org.bsc.langgraph4j.agentexecutor.actions.CallAgent
-
Constructs a CallAgent with the specified agent.
- Channel<T> - Interface in org.bsc.langgraph4j.state
-
A Channel is a mechanism used to maintain a state property.
- Channels - Interface in org.bsc.langgraph4j.state
- chatLanguageModel(ChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.Agent.Builder
- chatLanguageModel(ChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Sets the chat language model for the graph builder.
- chatLanguageModel(StreamingChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Sets the streaming chat language model for the graph builder.
- ChatMesssageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The ChatMesssageSerializer class is responsible for serializing and deserializing ChatMessage objects.
- ChatMesssageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.ChatMesssageSerializer
- chatService(ChatService) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.Builder
- ChatService - Interface in org.bsc.langgraph4j.spring.ai.agentexecutor
- Checkpoint - Class in org.bsc.langgraph4j.checkpoint
-
Represents a checkpoint of an agent state.
- Checkpoint(Checkpoint) - Constructor for class org.bsc.langgraph4j.checkpoint.Checkpoint
- Checkpoint.Builder - Class in org.bsc.langgraph4j.checkpoint
- checkPointId() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns the current
checkPointId
wrapped in anOptional
. - checkPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the checkpoint ID for the configuration.
- checkpoints() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns the value of the
checkpoints
record component. - checkpointSaver() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the current
BaseCheckpointSaver
instance if it is notnull
, otherwise returns an emptyOptional
. - checkpointSaver(BaseCheckpointSaver) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the checkpoint saver for the configuration.
- children() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Container
-
Returns the value of the
children
record component. - ChromaStore - Class in dev.langchain4j.adaptiverag
-
The ChromaStore class provides a singleton interface for interacting with the Chroma Embedding Store.
- chunk() - Method in class org.bsc.langgraph4j.streaming.StreamingOutput
- clear(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
-
Clears the checkpoint file associated with the given RunnableConfig.
- cloneObject(Map<String, Object>) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- cloneObject(T) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- close() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- CollectionsUtils - Class in org.bsc.langgraph4j.utils
-
Utility class for creating collections.
- CollectionsUtils() - Constructor for class org.bsc.langgraph4j.utils.CollectionsUtils
- commentLine(DiagramGenerator.Context, boolean) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- commentLine(DiagramGenerator.Context, boolean) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- commentLine(DiagramGenerator.Context, boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Comment a line in the given context.
- compareTo(T, int) - Method in interface org.bsc.langgraph4j.state.AppenderChannel.RemoveIdentifier
-
Compares the specified element with the element at the given index.
- compareTo(T, int) - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Compares the hash code of this object with another element at a specific index.
- compile() - Method in class org.bsc.langgraph4j.StateGraph
-
Compiles the state graph into a compiled graph.
- compile(CompileConfig) - Method in class org.bsc.langgraph4j.StateGraph
-
Compiles the state graph into a compiled graph.
- compileConfig - Variable in class org.bsc.langgraph4j.CompiledGraph
- compileConfig() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
compileConfig
record component. - compileConfig() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
compileConfig
record component. - compileConfig(CompileConfig) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
- compileConfig(CompileConfig) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Sets the checkpoint saver for the server.
- compileConfig(CompileConfig) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Sets the checkpoint saver for the server.
- CompileConfig - Class in org.bsc.langgraph4j
-
class is a configuration container for defining compile settings and behaviors.
- CompileConfig.Builder - Class in org.bsc.langgraph4j
-
This class is a builder for
CompileConfig
. - CompiledGraph<State extends AgentState> - Class in org.bsc.langgraph4j
-
Represents a compiled graph of nodes and edges.
- CompiledGraph(StateGraph<State>, CompileConfig) - Constructor for class org.bsc.langgraph4j.CompiledGraph
-
Constructs a CompiledGraph with the given StateGraph.
- CompiledGraph.AsyncNodeGenerator<Output extends NodeOutput<State>> - Class in org.bsc.langgraph4j
-
Async Generator for streaming outputs.
- CompiledGraph.StreamMode - Enum Class in org.bsc.langgraph4j
- condition() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Returns the value of the
condition
record component. - CONDITIONAL - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- config() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- Container(String, List<String>, String) - Constructor for record class dev.langchain4j.image_to_diagram.state.Diagram.Container
-
Creates an instance of a
Container
record class. - containers() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns the value of the
containers
record component. - content() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns the value of the
content
record component. - Context(StringBuilder, String, boolean, boolean) - Constructor for record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Creates an instance of a
Context
record class. - converter() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
converter
record component.
D
- data() - Method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Returns the value of the
data
record component. - data() - Method in class org.bsc.langgraph4j.state.AgentState
-
Returns an unmodifiable view of the data map.
- declareConditionalEdge(DiagramGenerator.Context, int) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- declareConditionalEdge(DiagramGenerator.Context, int) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- declareConditionalEdge(DiagramGenerator.Context, int) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Declares a conditional edge in the context with a specified ordinal.
- declareConditionalStart(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- declareConditionalStart(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- declareConditionalStart(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Declares a conditional element in the configuration or template.
- declareNode(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- declareNode(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- declareNode(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Declares a node in the specified context with the given name.
- DEFAULT - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- DescribeDiagramImage - Class in dev.langchain4j.image_to_diagram.actions
-
This class implements the `NodeAction` interface for diagram image description.
- DescribeDiagramImage(ChatLanguageModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.DescribeDiagramImage
-
Constructs a `DescribeDiagramImage` instance with the given language model.
- description() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Container
-
Returns the value of the
description
record component. - description() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns the value of the
description
record component. - description() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Returns the value of the
description
record component. - description() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Returns the value of the
description
record component. - deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.GenericListDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
-
Deserializes a JSON representation of a ToolExecutionRequest.
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- deserialize(JsonNode) - Method in interface org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonDeserializer
- dev.langchain4j.adaptiverag - package dev.langchain4j.adaptiverag
- dev.langchain4j.image_to_diagram - package dev.langchain4j.image_to_diagram
- dev.langchain4j.image_to_diagram.actions - package dev.langchain4j.image_to_diagram.actions
- dev.langchain4j.image_to_diagram.actions.correction - package dev.langchain4j.image_to_diagram.actions.correction
- dev.langchain4j.image_to_diagram.serializer.gson - package dev.langchain4j.image_to_diagram.serializer.gson
- dev.langchain4j.image_to_diagram.state - package dev.langchain4j.image_to_diagram.state
- diagram() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Retrieves the diagram element associated with this object.
- Diagram - Class in dev.langchain4j.image_to_diagram.state
-
Represents a diagram which contains various elements such as participants, relations, and containers.
- Diagram.Container - Record Class in dev.langchain4j.image_to_diagram.state
-
Represents a container with a name, children, and a description.
- Diagram.Element - Record Class in dev.langchain4j.image_to_diagram.state
-
Represents an element in a structured format.
- Diagram.Participant - Record Class in dev.langchain4j.image_to_diagram.state
-
Represents a participant in an event.
- Diagram.Relation - Record Class in dev.langchain4j.image_to_diagram.state
-
Represents a relation between two entities with an optional description.
- diagramCode() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Returns a list of diagram code.
- DiagramCorrectionProcess - Class in dev.langchain4j.image_to_diagram
-
Represents the process for correcting diagrams from images using asynchronous node and edge actions.
- DiagramCorrectionProcess() - Constructor for class dev.langchain4j.image_to_diagram.DiagramCorrectionProcess
- DiagramGenerator - Class in org.bsc.langgraph4j
-
Abstract class for diagram generation.
- DiagramGenerator() - Constructor for class org.bsc.langgraph4j.DiagramGenerator
- DiagramGenerator.CallStyle - Enum Class in org.bsc.langgraph4j
- DiagramGenerator.Context - Record Class in org.bsc.langgraph4j
- DiagramGenerator.Context.Builder - Class in org.bsc.langgraph4j
- DiagramOutputParser - Class in dev.langchain4j.image_to_diagram
-
This class provides functionality to parse a JSON formatted string and convert it into a `Diagram.Element` object.
- DiagramOutputParser() - Constructor for class dev.langchain4j.image_to_diagram.DiagramOutputParser
- document() - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader.Arguments
-
Returns the value of the
document
record component. - documents() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag.State
- documents() - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader.Arguments
-
Returns the value of the
documents
record component. - doGet(HttpServletRequest, HttpServletResponse) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphInitServlet
-
Handles GET requests to retrieve the graph initialization data.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphStreamServlet
-
Handles POST requests to stream graph data.
- duplicateConditionalEdgeError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- duplicateEdgeError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- duplicateEdgeTargetError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- duplicateNodeError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
E
- Edge<State extends AgentState> - Record Class in org.bsc.langgraph4j.internal.edge
-
Represents an edge in a graph with a source ID and a target value.
- Edge(String) - Constructor for record class org.bsc.langgraph4j.internal.edge.Edge
- Edge(String, String, String, List<String>) - Constructor for record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Creates an instance of a
Edge
record class. - Edge(String, List<EdgeValue<State>>) - Constructor for record class org.bsc.langgraph4j.internal.edge.Edge
-
Creates an instance of a
Edge
record class. - Edge(String, EdgeValue<State>) - Constructor for record class org.bsc.langgraph4j.internal.edge.Edge
- edge_async(EdgeAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncEdgeAction
-
Creates an asynchronous edge action from a synchronous edge action.
- EdgeAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an edge action that operates on an agent state and returns a result.
- edgeBySourceId(String) - Method in class org.bsc.langgraph4j.StateGraph.Edges
- EdgeCondition<S extends AgentState> - Record Class in org.bsc.langgraph4j.internal.edge
-
Represents a condition associated with an edge in a graph.
- EdgeCondition(AsyncEdgeAction<S>, Map<String, String>) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Creates an instance of a
EdgeCondition
record class. - edgeMappingIsEmpty - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- EdgeMappings - Class in org.bsc.langgraph4j.utils
- EdgeMappings() - Constructor for class org.bsc.langgraph4j.utils.EdgeMappings
- EdgeMappings.Builder - Class in org.bsc.langgraph4j.utils
- edges() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Graph
-
Returns the value of the
edges
record component. - Edges() - Constructor for class org.bsc.langgraph4j.StateGraph.Edges
- Edges(Collection<Edge<State>>) - Constructor for class org.bsc.langgraph4j.StateGraph.Edges
- edgesByTargetId(String) - Method in class org.bsc.langgraph4j.StateGraph.Edges
- EdgeValue<State extends AgentState> - Record Class in org.bsc.langgraph4j.internal.edge
- EdgeValue(String) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeValue
- EdgeValue(String, EdgeCondition<State>) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Creates an instance of a
EdgeValue
record class. - EdgeValue(EdgeCondition<State>) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeValue
- Element(String, String, List<Diagram.Participant>, List<Diagram.Relation>, List<Diagram.Container>, List<String>) - Constructor for record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Creates an instance of a
Element
record class. - elements - Variable in class org.bsc.langgraph4j.StateGraph.Edges
- elements - Variable in class org.bsc.langgraph4j.StateGraph.Nodes
- END - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- END - Static variable in class org.bsc.langgraph4j.StateGraph
- entries() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns the value of the
entries
record component. - entryOf(K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
- entryPointNotExist - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.AnswerGrader.Arguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.AnswerGrader
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.Generation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader.Arguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.QuestionRewriter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.QuestionRouter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader.Arguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.adaptiverag.WebSearchTool
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Container
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.builder.Generator.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Graph
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Node
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Checks if this edge is equal to another object.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.bsc.langgraph4j.internal.node.Node
-
Checks if this node is equal to another object.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Deprecated.Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.quarkus.LangGraphFlow
-
Indicates whether some other object is "equal to" this one.
- Error(String, ErrorUmlType) - Constructor for exception dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction.Error
-
Constructs a new `Error` instance with the given message and error type.
- ERROR - Enum constant in enum class dev.langchain4j.image_to_diagram.ImageToDiagram.EvaluationResult
- EvaluateResult - Class in dev.langchain4j.image_to_diagram.actions.correction
-
Class declaration for EvaluateResult, which implements the AsyncNodeAction interface for ImageToDiagram.State.
- EvaluateResult - Class in dev.langchain4j.image_to_diagram.actions
-
The EvaluateResult class is designed to evaluate and process results asynchronously, specifically targeting the conversion of image data to diagram data using an AI chat model.
- EvaluateResult() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.EvaluateResult
-
Default constructor for EvaluateResult.
- EvaluateResult(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.EvaluateResult
-
Constructor for initializing the EvaluateResult with an OpenAiChatModel.
- evaluationError() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Returns an
Optional
containing the value associated with "evaluationError". - evaluationErrorType() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Retrieves the type of evaluation error.
- evaluationResult() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Retrieves the evaluation result as an
ImageToDiagram.EvaluationResult
. - EventuallyPerformCorrection - Class in dev.langchain4j.image_to_diagram.actions.correction
-
This is an example of a public class designed to eventually perform correction.
- EventuallyPerformCorrection() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.EventuallyPerformCorrection
- exception(Object...) - Method in enum class org.bsc.langgraph4j.StateGraph.Errors
-
Creates a new GraphStateException with the formatted error message.
- exceptSubStateGraphNodes() - Method in class org.bsc.langgraph4j.StateGraph.Nodes
- execute(ToolExecutionRequest) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- execute(ToolExecutionRequest) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.Executes the first matching tool
- execute(ToolExecutionRequest, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- execute(ToolExecutionRequest, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.Executes the first matching tool
- execute(ImageToDiagramProcess.ImageUrlOrData) - Method in class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
-
Executes the workflow using the provided image data and returns a stream of NodeOutput objects.
- execute(Collection<ToolExecutionRequest>) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- execute(Collection<ToolExecutionRequest>) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.Executes the first matching tool
- execute(Collection<ToolExecutionRequest>, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- execute(Collection<ToolExecutionRequest>, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.Executes the first matching tool
- execute(List<ChatMessage>) - Method in class org.bsc.langgraph4j.agentexecutor.Agent
-
Executes the agent's action based on the input and intermediate steps, returning a response.
- execute(List<ChatMessage>, StreamingChatResponseHandler) - Method in class org.bsc.langgraph4j.agentexecutor.Agent
-
Executes the agent's action based on the input and intermediate steps, using a streaming response handler.
- execute(List<Message>) - Method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.ChatService
- executeFunctions(List<AssistantMessage.ToolCall>) - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
- executeFunctions(List<AssistantMessage.ToolCall>, Map<String, Object>) - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
- executeTools(AgentExecutor.State, SpringAIToolService) - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor
-
Executes tools based on the provided state.
- ExecuteTools - Class in org.bsc.langgraph4j.agentexecutor.actions
-
The ExecuteTools class implements the NodeAction interface for handling actions related to executing tools within an agent's context.
- ExecuteTools(LC4jToolService) - Constructor for class org.bsc.langgraph4j.agentexecutor.actions.ExecuteTools
-
Constructs an ExecuteTools instance with the specified agent and tool node.
- executeWithCorrection(ImageToDiagramProcess.ImageUrlOrData) - Method in class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
-
Executes the workflow with correction for the given image data.
- executor() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Returns the value of the
executor
record component. - executor() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Deprecated.Returns the value of the
executor
record component. - EXTENSION - Static variable in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
F
- FileSystemSaver - Class in org.bsc.langgraph4j.checkpoint
-
A CheckpointSaver that stores Checkpoints in the filesystem.
- FileSystemSaver(Path, StateSerializer<? extends AgentState>) - Constructor for class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- finalResponse() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
-
Retrieves the agent final response.
- finishPointNotExist - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- formatId(String) - Method in class org.bsc.langgraph4j.internal.node.SubStateGraphNode
- formatId(String) - Method in interface org.bsc.langgraph4j.SubGraphNode
- formatId(String, String) - Static method in interface org.bsc.langgraph4j.SubGraphNode
-
Formats the given
subGraphNodeId
andnodeId
into a single string using a predefined prefix. - from() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Returns the value of the
from
record component. - from$() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
G
- generate(StateGraph.Nodes<State>, StateGraph.Edges<State>, String, boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Generate a textual representation of the given graph.
- generate(StateGraph.Nodes<State>, StateGraph.Edges<State>, DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Generates a context based on the given state graph.
- generateBuilderFromDefinition(GraphDefinition.Graph) - Method in class org.bsc.langgraph4j.builder.Generator
- generateBuilderImplementationFromDefinition(GraphDefinition.Graph) - Method in class org.bsc.langgraph4j.builder.Generator
- generation() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag.State
- generation() - Method in record class dev.langchain4j.adaptiverag.AnswerGrader.Arguments
-
Returns the value of the
generation
record component. - generation() - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader.Arguments
-
Returns the value of the
generation
record component. - Generation - Record Class in dev.langchain4j.adaptiverag
-
This class provides a service for generating answers to questions using natural language processing.
- Generation(String) - Constructor for record class dev.langchain4j.adaptiverag.Generation
-
Creates an instance of a
Generation
record class. - Generation.Service - Interface in dev.langchain4j.adaptiverag
-
Interface for service implementation that provides capabilities to answer questions based on given context.
- Generator - Class in org.bsc.langgraph4j.builder
- Generator() - Constructor for class org.bsc.langgraph4j.builder.Generator
- Generator.Result - Record Class in org.bsc.langgraph4j.builder
- GenericListDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- GenericListDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.GenericListDeserializer
- get(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- get(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- get(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- get(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Retrieves an optional checkpoint for the given configuration.
- getChannels() - Method in class org.bsc.langgraph4j.StateGraph
- getCheckpoints(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- getChroma() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag
- getConfig() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.config()
instead. - getContent() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Deprecated.Please use
GraphRepresentation.content()
instead. This method is no longer maintained and may be removed in future versions. - getDefault() - Method in class org.bsc.langgraph4j.state.AppenderChannel
-
Returns the default provider or
Optional.empty()
if no default provider is set. - getDefault() - Method in interface org.bsc.langgraph4j.state.Channel
-
a Supplier that provide a default value.
- getDefaultSerializer() - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- getFlow() - Method in class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- getFlow() - Method in class org.bsc.quarkus.impl.LangGraphFlowServiceImpl
- getGraph(GraphRepresentation.Type) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Generates a drawable graph representation of the state graph with default title.
- getGraph(GraphRepresentation.Type, String) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Generates a drawable graph representation of the state graph.
- getGraph(GraphRepresentation.Type, String) - Method in class org.bsc.langgraph4j.StateGraph
-
Generates a drawable graph representation of the state graph.
- getGraph(GraphRepresentation.Type, String, boolean) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Generates a drawable graph representation of the state graph.
- getGraph(GraphRepresentation.Type, String, boolean) - Method in class org.bsc.langgraph4j.StateGraph
-
Generates a drawable graph representation of the state graph.
- getId() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getInterruptAfter() - Method in class org.bsc.langgraph4j.CompileConfig
-
Deprecated.
- getInterruptBefore() - Method in class org.bsc.langgraph4j.CompileConfig
-
Deprecated.
- getModel() - Method in interface dev.langchain4j.image_to_diagram.ImageToDiagram
-
Returns an instance of the default
OpenAiChatModel
. - getNext() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.next()
instead. - getNextNodeId() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getNodeId() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getReducer() - Method in class org.bsc.langgraph4j.state.AppenderChannel
-
Returns an
Optional
containing the current reducer if it is non-null. - getReducer() - Method in interface org.bsc.langgraph4j.state.Channel
-
The Reducer, if provided, is invoked for each state property to compute value.
- getReference(String) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- getSerializer(Class<?>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- getSerializer(String) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- getState() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getState() - Method in class org.bsc.langgraph4j.NodeOutput
-
Deprecated.Use
NodeOutput.state()
instead. - getState(RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Same of
CompiledGraph.stateOf(RunnableConfig)
but throws an IllegalStateException if checkpoint is not found. - getStateFactory() - Method in class org.bsc.langgraph4j.StateGraph
- getStateHistory(RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
- getStateSerializer() - Method in class org.bsc.langgraph4j.StateGraph
- getStateType() - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- getType() - Method in exception dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction.Error
-
Gets the type of the error.
- getType() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Deprecated.Please use
GraphRepresentation.type()
instead. This method is no longer maintained and may be removed in future versions. - getTypeName() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper.Reference
- getVisionModel() - Method in interface dev.langchain4j.image_to_diagram.ImageToDiagram
-
Retrieves an instance of the
OpenAiChatModel
configured for vision tasks. - graph() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
graph
record component. - Graph(String, List<GraphDefinition.Node>, List<GraphDefinition.Edge>) - Constructor for record class org.bsc.langgraph4j.builder.GraphDefinition.Graph
-
Creates an instance of a
Graph
record class. - graphBuilder() - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutor
-
Deprecated.
- GraphBuilder() - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
-
Deprecated.
- GraphDefinition - Class in org.bsc.langgraph4j.builder
- GraphDefinition() - Constructor for class org.bsc.langgraph4j.builder.GraphDefinition
- GraphDefinition.Edge - Record Class in org.bsc.langgraph4j.builder
-
Represents an edge in the graph.
- GraphDefinition.Graph - Record Class in org.bsc.langgraph4j.builder
-
Represents the overall graph definition.
- GraphDefinition.Node - Record Class in org.bsc.langgraph4j.builder
-
Represents a node in the graph.
- GraphInitServlet(StateGraph<? extends AgentState>, String, List<LangGraphStreamingServer.ArgumentMetadata>) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphInitServlet
-
Constructs a GraphInitServlet.
- GraphInitServletProxy - Class in org.bsc.quarkus
- GraphInitServletProxy(LangGraphFlow) - Constructor for class org.bsc.quarkus.GraphInitServletProxy
- GraphRepresentation - Record Class in org.bsc.langgraph4j
-
The graph representation in diagram-as-code format.
- GraphRepresentation(GraphRepresentation.Type, String) - Constructor for record class org.bsc.langgraph4j.GraphRepresentation
-
Creates an instance of a
GraphRepresentation
record class. - GraphRepresentation.Type - Enum Class in org.bsc.langgraph4j
-
The supported types.
- GraphRunnerException - Exception in org.bsc.langgraph4j
-
Exception thrown when there is an error during the execution of a graph runner.
- GraphRunnerException(String) - Constructor for exception org.bsc.langgraph4j.GraphRunnerException
-
Constructs a new GraphRunnerException with the specified error message.
- GraphStateException - Exception in org.bsc.langgraph4j
-
Exception thrown when there is an error related to the state of a graph.
- GraphStateException(String) - Constructor for exception org.bsc.langgraph4j.GraphStateException
-
Constructs a new GraphStateException with the specified error message.
- GraphStreamServlet(StateGraph<? extends AgentState>, CompileConfig, List<LangGraphStreamingServer.ArgumentMetadata>) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphStreamServlet
-
Constructs a GraphStreamServlet.
- GraphStreamServletProxy - Class in org.bsc.quarkus
- GraphStreamServletProxy(LangGraphFlow) - Constructor for class org.bsc.quarkus.GraphStreamServletProxy
- gson - Variable in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- GsonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text.gson
-
Base Implementation of
PlainTextStateSerializer
using GSON library . - GsonStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- GsonStateSerializer(AgentStateFactory<State>, Gson) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
H
- HallucinationGrader - Record Class in dev.langchain4j.adaptiverag
-
Provides functionality to grade the groundedness of an LLM generation with respect to a set of facts.
- HallucinationGrader(String) - Constructor for record class dev.langchain4j.adaptiverag.HallucinationGrader
-
Creates an instance of a
HallucinationGrader
record class. - HallucinationGrader.Arguments - Record Class in dev.langchain4j.adaptiverag
-
Represents a set of facts and an associated LLM generation.
- HallucinationGrader.Score - Class in dev.langchain4j.adaptiverag
-
Binary score for hallucination present in generation answer.
- handler() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Deprecated.Returns the StreamingResponseHandler associated with this generator.
- handler() - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator
-
Returns the StreamingResponseHandler associated with this generator.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.AnswerGrader.Arguments
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.AnswerGrader
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.Generation
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader.Arguments
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.QuestionRewriter
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.QuestionRouter
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader.Arguments
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.adaptiverag.WebSearchTool
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Container
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.builder.Generator.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Graph
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Node
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns the hash code value for this edge.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns a hash code value for this object.
- hashCode() - Method in class org.bsc.langgraph4j.internal.node.Node
-
Returns the hash code value for this node.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Deprecated.Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns a hash code value for this object.
- HasVersions - Interface in org.bsc.langgraph4j.checkpoint
-
Represents an entity that can have different versions associated with it.
I
- id() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns the value of the
id
record component. - id() - Method in class org.bsc.langgraph4j.internal.node.Node
-
id
- id() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns the value of the
id
record component. - id() - Method in interface org.bsc.langgraph4j.SubGraphNode
-
node identifier
- id(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- illegalMultipleTargetsOnParallelNode - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- IMAGE - Enum constant in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
- imageData() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Retrieves the image data as an
ImageToDiagramProcess.ImageUrlOrData
. - ImageLoader - Class in dev.langchain4j.image_to_diagram
-
The `ImageLoader` class provides utility methods for loading and converting images to Base64 format.
- ImageLoader() - Constructor for class dev.langchain4j.image_to_diagram.ImageLoader
- ImageToDiagram - Interface in dev.langchain4j.image_to_diagram
-
Represents the functionality to convert images to diagrams.
- ImageToDiagram.EvaluationResult - Enum Class in dev.langchain4j.image_to_diagram
- ImageToDiagram.State - Class in dev.langchain4j.image_to_diagram
-
Represents the state of an agent, specifically tailored for managing diagram-related data and processes.
- ImageToDiagramProcess - Class in dev.langchain4j.image_to_diagram
-
Class for processing images to generate diagrams.
- ImageToDiagramProcess() - Constructor for class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
- ImageToDiagramProcess.ImageUrlOrData - Record Class in dev.langchain4j.image_to_diagram
-
Represents an image that can be identified by a URL or encapsulated as data.
- ImageUrlOrData(URI, String) - Constructor for record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Creates an instance of a
ImageUrlOrData
record class. - implementation() - Method in record class org.bsc.langgraph4j.builder.Generator.Result
-
Returns the value of the
implementation
record component. - init(ServletConfig) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphInitServlet
- init(ServletConfig) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphStreamServlet
- init(ServletConfig) - Method in class org.bsc.quarkus.GraphInitServletProxy
- init(ServletConfig) - Method in class org.bsc.quarkus.GraphStreamServletProxy
- InitData(String, String, List<LangGraphStreamingServer.ArgumentMetadata>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
- InitData(String, String, List<LangGraphStreamingServer.ArgumentMetadata>, List<LangGraphStreamingServer.ThreadEntry>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Creates an instance of a
InitData
record class. - InitDataSerializer(Class<LangGraphStreamingServer.InitData>) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitDataSerializer
- initServletBean() - Method in class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- inputArgs() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
inputArgs
record component. - inputArgs() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
inputArgs
record component. - interruptAfter(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the strings that cause an interrupt in the configuration.
- interruptBefore(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the actions to be performed before an interruption.
- interruptionNodeNotExist - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- interruptsAfter() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the array of interrupts that will occur after the specified node.
- interruptsAfter(Collection<String>) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the collection of strings that specify which interrupts should occur after.
- interruptsBefore() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the array of interrupts that will occur before the specified node.
- interruptsBefore(Collection<String>) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the collection of interrupts to be executed before the configuration.
- invalidEdgeIdentifier - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- invalidEdgeTarget - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- invalidNodeIdentifier - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- invoke(String, List<String>) - Method in interface dev.langchain4j.adaptiverag.Generation.Service
-
Retrieves and answers a question based on the provided context.
- invoke(Map<String, Object>) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Invokes the graph execution with the provided inputs and returns the final state.
- invoke(Map<String, Object>, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Invokes the graph execution with the provided inputs and returns the final state.
- isExecutionError() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Checks if an error of execution type has occurred.
- isParallel() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- isParallel() - Method in class org.bsc.langgraph4j.internal.node.Node
- isParallel() - Method in class org.bsc.langgraph4j.internal.node.ParallelNode
- isStreaming() - Method in class org.bsc.langgraph4j.agentexecutor.Agent
-
Checks if the agent is currently streaming.
- isSubGraph() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
isSubGraph
record component. - isSubGraph() - Method in class org.bsc.langgraph4j.NodeOutput
- isSubGraph(boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
J
- JacksonDeserializer<T> - Interface in org.bsc.langgraph4j.serializer.plain_text.jackson
- JacksonMessagesStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
-
Deprecated.
- JacksonMessagesStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.JacksonMessagesStateSerializer
-
Deprecated.
- JacksonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
-
Base Implementation of
PlainTextStateSerializer
using Jackson library. - JacksonStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- JacksonStateSerializer(AgentStateFactory<State>, ObjectMapper) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- JSON - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
- JSONStateSerializer - Class in dev.langchain4j.image_to_diagram.serializer.gson
- JSONStateSerializer() - Constructor for class dev.langchain4j.image_to_diagram.serializer.gson.JSONStateSerializer
L
- LangGraphFlow - Record Class in org.bsc.langgraph4j.studio.springboot
- LangGraphFlow - Record Class in org.bsc.quarkus
- LangGraphFlow(List<LangGraphStreamingServer.ArgumentMetadata>, String, CompileConfig, StateGraph<? extends AgentState>) - Constructor for record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Creates an instance of a
LangGraphFlow
record class. - LangGraphFlow(List<LangGraphStreamingServer.ArgumentMetadata>, String, CompileConfig, StateGraph<? extends AgentState>) - Constructor for record class org.bsc.quarkus.LangGraphFlow
-
Creates an instance of a
LangGraphFlow
record class. - LangGraphFlow.Builder - Class in org.bsc.langgraph4j.studio.springboot
- LangGraphFlow.Builder - Class in org.bsc.quarkus
- LangGraphFlowServiceImpl - Class in org.bsc.quarkus.impl
- LangGraphFlowServiceImpl() - Constructor for class org.bsc.quarkus.impl.LangGraphFlowServiceImpl
- LangGraphStreamingServer - Interface in org.bsc.langgraph4j.studio
-
Interface for a LangGraph Streaming Server.
- LangGraphStreamingServer.ArgumentMetadata - Record Class in org.bsc.langgraph4j.studio
-
Metadata for an argument in a request.
- LangGraphStreamingServer.ArgumentMetadata.ArgumentType - Enum Class in org.bsc.langgraph4j.studio
- LangGraphStreamingServer.GraphInitServlet - Class in org.bsc.langgraph4j.studio
-
Servlet for initializing the graph in mermaid format.
- LangGraphStreamingServer.GraphStreamServlet - Class in org.bsc.langgraph4j.studio
-
Servlet for handling graph stream requests.
- LangGraphStreamingServer.InitData - Record Class in org.bsc.langgraph4j.studio
-
Initialization data for the graph.
- LangGraphStreamingServer.InitDataSerializer - Class in org.bsc.langgraph4j.studio
-
Serializer for InitData objects.
- LangGraphStreamingServer.PersistentConfig - Record Class in org.bsc.langgraph4j.studio
-
Configuration for persistent session data.
- LangGraphStreamingServer.ThreadEntry - Record Class in org.bsc.langgraph4j.studio
-
Represents an entry in a thread with its outputs.
- LangGraphStreamingServerJetty - Class in org.bsc.langgraph4j.studio.jetty
-
Represents a streaming server for LangGraph using Jetty.
- LangGraphStreamingServerJetty.Builder - Class in org.bsc.langgraph4j.studio.jetty
-
Builder class for constructing LangGraphStreamingServerJetty instances.
- LangGraphStudioApp - Class in org.bsc.quarkus.impl
- LangGraphStudioApp() - Constructor for class org.bsc.quarkus.impl.LangGraphStudioApp
- last(List<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Returns the last value in the list, if present.
- lastMessage() - Method in class org.bsc.langgraph4j.prebuilt.MessagesState
-
Returns the last value in the list, if present.
- lastMinus(int) - Method in class org.bsc.langgraph4j.prebuilt.MessagesState
-
Returns the value at the specified position from the end of the list, if present.
- lastMinus(List<T>, int) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Returns the value at the specified position from the end of the list, if present.
- lastTwoDiagramsAreEqual() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Checks if the last two diagrams in the code are equal.
- lastVersionByThreadId(String) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves the last version associated with a specific thread ID.
- lastVersionByThreadId(String) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Retrieves the last version by thread ID.
- lastVersionByThreadId(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves the last version associated with a specific thread ID.
- LC4jJacksonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- LC4jJacksonStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.LC4jJacksonStateSerializer
- LC4jStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.serializer.std
- LC4jStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.LC4jStateSerializer
- LC4jToolService - Class in org.bsc.langgraph4j.langchain4j.tool
- LC4jToolService.Builder - Class in org.bsc.langgraph4j.langchain4j.tool
-
Builder for
LC4jToolService
- LC4jToolService.Specification - Record Class in org.bsc.langgraph4j.langchain4j.tool
- list(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- list(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- list(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- list(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Lists checkpoints based on the provided configuration.
- listOf(Class<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.
- listOf(T...) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.use the new Java Convenience Factory Methods for Collections
- LLMStreamingGenerator<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
Deprecated.use
StreamingChatGenerator
instead - LLMStreamingGenerator.Builder<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
Deprecated.Builder class for constructing instances of LLMStreamingGenerator.
- loadImageAsBase64(InputStream) - Static method in class dev.langchain4j.image_to_diagram.ImageLoader
-
Loads an image from an input stream and returns its Base64 encoded string representation.
- loadImageAsBase64(String) - Static method in class dev.langchain4j.image_to_diagram.ImageLoader
-
Loads an image from a resource path as a Base64 encoded string.
- loadPromptTemplate(String) - Static method in interface dev.langchain4j.image_to_diagram.ImageToDiagram
-
Loads a
PromptTemplate
from the specified resource name. - log - Static variable in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor
- log - Static variable in interface org.bsc.langgraph4j.studio.LangGraphStreamingServer
- log - Static variable in interface org.bsc.langgraph4j.utils.TryConsumer
M
- main(String[]) - Static method in class dev.langchain4j.adaptiverag.AdaptiveRag
- main(String[]) - Static method in class org.bsc.langgraph4j.builder.Generator
- main(String...) - Static method in class org.bsc.quarkus.impl.LangGraphStudioApp
- mapOf() - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.use the new Java Convenience Factory Methods for Collections
- mapOf(K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.use the new Java Convenience Factory Methods for Collections
- mapOf(K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.use the new Java Convenience Factory Methods for Collections
- mapOf(K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.use the new Java Convenience Factory Methods for Collections
- mapOf(K, V, K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.use the new Java Convenience Factory Methods for Collections
- mapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.use the new Java Convenience Factory Methods for Collections
- mapper() - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- mappings() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns the value of the
mappings
record component. - mapResult(Function<ChatResponse, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the mapping function for the builder.
- mapResult(Function<Response<T>, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the mapping function for the builder.
- MemorySaver - Class in org.bsc.langgraph4j.checkpoint
- MemorySaver() - Constructor for class org.bsc.langgraph4j.checkpoint.MemorySaver
- mergeMap(Map<K, V>, Map<K, V>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Merges two maps into a new map, doesn't accept duplicates.
- mergeMap(Map<K, V>, Map<K, V>, BinaryOperator<V>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Merges two maps into a new map, resolving key collisions using the specified merge function.
- mergeWith(Map<String, Object>, Map<String, Channel<?>>) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.
- MERMAID - Enum constant in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
A drawable graph using Mermaid syntax.
- MermaidGenerator - Class in org.bsc.langgraph4j.diagram
-
This class represents a MermaidGenerator that extends DiagramGenerator.
- MermaidGenerator() - Constructor for class org.bsc.langgraph4j.diagram.MermaidGenerator
- messages() - Method in class org.bsc.langgraph4j.prebuilt.MessagesState
-
Retrieves the list of messages.
- MessageSerializer - Class in org.bsc.langgraph4j.spring.ai.serializer.std
- MessageSerializer() - Constructor for class org.bsc.langgraph4j.spring.ai.serializer.std.MessageSerializer
- MessagesState<T> - Class in org.bsc.langgraph4j.prebuilt
-
Represents the agent's state as a collection of messages
- MessagesState(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.prebuilt.MessagesState
-
Constructs a new instance of MessagesState with the provided initial data.
- MessagesStateGraph<T> - Class in org.bsc.langgraph4j.prebuilt
-
Represents a state graph with messages for generic type T.
- MessagesStateGraph() - Constructor for class org.bsc.langgraph4j.prebuilt.MessagesStateGraph
-
Default constructor that initializes a new instance of
MessagesStateGraph
. - MessagesStateGraph(StateSerializer<MessagesState<T>>) - Constructor for class org.bsc.langgraph4j.prebuilt.MessagesStateGraph
-
Constructs a new instance of
MessagesStateGraph
. - mimeType() - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- mimeType() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- mimeType() - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- mimeType() - Method in interface org.bsc.langgraph4j.serializer.Serializer
- missingEntryPoint - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- missingNodeInEdgeMapping - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- missingNodeReferencedByEdge - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
N
- name() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Container
-
Returns the value of the
name
record component. - name() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Returns the value of the
name
record component. - name() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Graph
-
Returns the value of the
name
record component. - name() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Node
-
Returns the value of the
name
record component. - name() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
name
record component. - name$() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Node
- next() - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- next() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- nextNode() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns an
Optional
describing the next node in the sequence, or an emptyOptional
if there is no such node. - nextNode(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the next node in the configuration and returns this builder for method chaining.
- nextNodeId(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- node() - Method in class org.bsc.langgraph4j.NodeOutput
- Node<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
-
Represents a node in a graph, characterized by a unique identifier and a factory for creating actions to be executed by the node.
- Node(String) - Constructor for record class org.bsc.langgraph4j.builder.GraphDefinition.Node
-
Creates an instance of a
Node
record class. - Node(String) - Constructor for class org.bsc.langgraph4j.internal.node.Node
-
Constructor that accepts only the `id` and sets `actionFactory` to null.
- Node(String, Node.ActionFactory<State>) - Constructor for class org.bsc.langgraph4j.internal.node.Node
- node_async(NodeAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncNodeAction
-
Creates an asynchronous node action from a synchronous node action.
- node_async(NodeActionWithConfig<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncNodeActionWithConfig
-
Converts a synchronous
NodeActionWithConfig
to an asynchronous one. - Node.ActionFactory<State extends AgentState> - Interface in org.bsc.langgraph4j.internal.node
- NodeAction<T extends AgentState> - Interface in org.bsc.langgraph4j.action
- NodeActionWithConfig<S extends AgentState> - Interface in org.bsc.langgraph4j.action
- nodeId(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- NodeOutput<State extends AgentState> - Class in org.bsc.langgraph4j
-
Represents the output of a node in a graph.
- NodeOutput(String, State) - Constructor for class org.bsc.langgraph4j.NodeOutput
- nodes() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Graph
-
Returns the value of the
nodes
record component. - Nodes() - Constructor for class org.bsc.langgraph4j.StateGraph.Nodes
- Nodes(Collection<Node<State>>) - Constructor for class org.bsc.langgraph4j.StateGraph.Nodes
- NullableObjectSerializer<T> - Interface in org.bsc.langgraph4j.serializer.std
O
- object() - Method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
-
Retrieves the state serializer.
- objectInputWithMapper(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- ObjectInputWithMapper - Class in org.bsc.langgraph4j.serializer.std
- ObjectInputWithMapper(ObjectInput, SerializerMapper) - Constructor for class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- objectMapper - Variable in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- objectMapper() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- objectOutputWithMapper(ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- ObjectStreamStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.std
- ObjectStreamStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- objectsWithTools(List<Object>) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Deprecated.
- of(ToolSpecification, ToolExecutor) - Static method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
- of(ToolSpecification, ToolExecutor) - Static method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Deprecated.
- of(Object...) - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.
- of(String) - Static method in class dev.langchain4j.adaptiverag.ChromaStore
-
Creates a new instance of
ChromaStore
using the provided OpenAI API key. - of(String) - Static method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Creates a new instance of the
ImageUrlOrData
class with the provided data. - of(String, State) - Static method in class org.bsc.langgraph4j.NodeOutput
- of(URI) - Static method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Creates an instance of
ImageUrlOrData
from a given URL. - of(Collection<Object>) - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.
- of(Supplier<List<T>>) - Static method in class org.bsc.langgraph4j.state.AppenderChannel
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Channels.appender(Supplier)
instead - of(Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Channels.base(Supplier)
instead - of(AsyncNodeAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncNodeActionWithConfig
-
Adapts a simple AsyncNodeAction to an AsyncNodeActionWithConfig.
- of(Checkpoint, RunnableConfig, AgentStateFactory<State>) - Static method in class org.bsc.langgraph4j.state.StateSnapshot
- of(Reducer<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Channels.base(Supplier)
instead - of(Reducer<T>, Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
-
Deprecated, for removal: This API element is subject to removal in a future version.use
Channels.base(Reducer,Supplier)
instead - of(T) - Static method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Creates a new
RemoveByHash
instance with the specified value. - OK - Enum constant in enum class dev.langchain4j.image_to_diagram.ImageToDiagram.EvaluationResult
- onlySubStateGraphNodes() - Method in class org.bsc.langgraph4j.StateGraph.Nodes
- openApiKey() - Method in record class dev.langchain4j.adaptiverag.AnswerGrader
-
Returns the value of the
openApiKey
record component. - openApiKey() - Method in record class dev.langchain4j.adaptiverag.Generation
-
Returns the value of the
openApiKey
record component. - openApiKey() - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader
-
Returns the value of the
openApiKey
record component. - openApiKey() - Method in record class dev.langchain4j.adaptiverag.QuestionRewriter
-
Returns the value of the
openApiKey
record component. - openApiKey() - Method in record class dev.langchain4j.adaptiverag.QuestionRouter
-
Returns the value of the
openApiKey
record component. - openApiKey() - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader
-
Returns the value of the
openApiKey
record component. - org.bsc.langgraph4j - package org.bsc.langgraph4j
-
The
org.bsc.langgraph4j
package provides classes and interfaces for building stateful, multi-agent applications with LLMs. - org.bsc.langgraph4j.action - package org.bsc.langgraph4j.action
-
Provides interfaces and classes for defining actions that operate on agent states.
- org.bsc.langgraph4j.agentexecutor - package org.bsc.langgraph4j.agentexecutor
- org.bsc.langgraph4j.agentexecutor.actions - package org.bsc.langgraph4j.agentexecutor.actions
- org.bsc.langgraph4j.builder - package org.bsc.langgraph4j.builder
- org.bsc.langgraph4j.checkpoint - package org.bsc.langgraph4j.checkpoint
- org.bsc.langgraph4j.diagram - package org.bsc.langgraph4j.diagram
- org.bsc.langgraph4j.internal.edge - package org.bsc.langgraph4j.internal.edge
- org.bsc.langgraph4j.internal.node - package org.bsc.langgraph4j.internal.node
- org.bsc.langgraph4j.langchain4j.generators - package org.bsc.langgraph4j.langchain4j.generators
- org.bsc.langgraph4j.langchain4j.serializer.jackson - package org.bsc.langgraph4j.langchain4j.serializer.jackson
- org.bsc.langgraph4j.langchain4j.serializer.std - package org.bsc.langgraph4j.langchain4j.serializer.std
- org.bsc.langgraph4j.langchain4j.tool - package org.bsc.langgraph4j.langchain4j.tool
- org.bsc.langgraph4j.prebuilt - package org.bsc.langgraph4j.prebuilt
- org.bsc.langgraph4j.serializer - package org.bsc.langgraph4j.serializer
- org.bsc.langgraph4j.serializer.plain_text - package org.bsc.langgraph4j.serializer.plain_text
- org.bsc.langgraph4j.serializer.plain_text.gson - package org.bsc.langgraph4j.serializer.plain_text.gson
- org.bsc.langgraph4j.serializer.plain_text.jackson - package org.bsc.langgraph4j.serializer.plain_text.jackson
- org.bsc.langgraph4j.serializer.std - package org.bsc.langgraph4j.serializer.std
-
This package contains implementations of the
Serializer
interface that utilize Java's built-in serialization mechanism. - org.bsc.langgraph4j.spring.ai.agentexecutor - package org.bsc.langgraph4j.spring.ai.agentexecutor
- org.bsc.langgraph4j.spring.ai.agentexecutor.std - package org.bsc.langgraph4j.spring.ai.agentexecutor.std
- org.bsc.langgraph4j.spring.ai.serializer.std - package org.bsc.langgraph4j.spring.ai.serializer.std
- org.bsc.langgraph4j.spring.ai.tool - package org.bsc.langgraph4j.spring.ai.tool
- org.bsc.langgraph4j.state - package org.bsc.langgraph4j.state
-
Provides classes and interfaces for managing the state of agents in the langgraph4j framework.
- org.bsc.langgraph4j.streaming - package org.bsc.langgraph4j.streaming
- org.bsc.langgraph4j.studio - package org.bsc.langgraph4j.studio
- org.bsc.langgraph4j.studio.jetty - package org.bsc.langgraph4j.studio.jetty
- org.bsc.langgraph4j.studio.springboot - package org.bsc.langgraph4j.studio.springboot
- org.bsc.langgraph4j.utils - package org.bsc.langgraph4j.utils
- org.bsc.quarkus - package org.bsc.quarkus
- org.bsc.quarkus.impl - package org.bsc.quarkus.impl
P
- PARALLEL - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- PARALLEL_PREFIX - Static variable in class org.bsc.langgraph4j.internal.node.ParallelNode
- ParallelNode<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
- ParallelNode(String, List<AsyncNodeActionWithConfig<State>>, Map<String, Channel<?>>) - Constructor for class org.bsc.langgraph4j.internal.node.ParallelNode
- parse(String) - Method in class dev.langchain4j.image_to_diagram.DiagramOutputParser
-
Parses a JSON string and converts it into a Diagram.Element object.
- Participant(String, String, String) - Constructor for record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Creates an instance of a
Participant
record class. - participants() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns the value of the
participants
record component. - paths() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Returns the value of the
paths
record component. - paths$() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
- PersistentConfig(String, String) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Creates an instance of a
PersistentConfig
record class. - PlainTextStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text
- PlainTextStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- PLANTUML - Enum constant in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
A drawable graph using PlantUML syntax.
- PlantUMLAction - Class in dev.langchain4j.image_to_diagram.actions.correction
-
The `PlantUMLAction` class provides utility methods for validating PlantUML code.
- PlantUMLAction() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction
- PlantUMLAction.Error - Exception in dev.langchain4j.image_to_diagram.actions.correction
-
Represents an error that occurred during the PlantUML code processing.
- PlantUMLGenerator - Class in org.bsc.langgraph4j.diagram
- PlantUMLGenerator() - Constructor for class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- port(int) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the port for the server.
- PREFIX_FORMAT - Static variable in interface org.bsc.langgraph4j.SubGraphNode
- printConditionalEdge() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
printConditionalEdge
record component. - printConditionalEdge(boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
- put(RunnableConfig, Checkpoint) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- put(RunnableConfig, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- put(RunnableConfig, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- put(RunnableConfig, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Updates or inserts the given
RunnableConfig
with the specifiedCheckpoint
.
Q
- question() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag.State
- question() - Method in record class dev.langchain4j.adaptiverag.AnswerGrader.Arguments
-
Returns the value of the
question
record component. - question() - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader.Arguments
-
Returns the value of the
question
record component. - QuestionRewriter - Record Class in dev.langchain4j.adaptiverag
-
This class implements a
Function
to rewrite questions for better vectorstore retrieval. - QuestionRewriter(String) - Constructor for record class dev.langchain4j.adaptiverag.QuestionRewriter
-
Creates an instance of a
QuestionRewriter
record class. - QuestionRouter - Record Class in dev.langchain4j.adaptiverag
-
Router for user queries to the most relevant datasource.
- QuestionRouter(String) - Constructor for record class dev.langchain4j.adaptiverag.QuestionRouter
-
Creates an instance of a
QuestionRouter
record class. - QuestionRouter.Type - Enum Class in dev.langchain4j.adaptiverag
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the queue for the builder.
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the queue for the builder.
R
- read() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- read(byte[]) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- read(byte[], int, int) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.AiMessageSerializer
-
Deserializes an AiMessage object from the specified input stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ChatMesssageSerializer
-
Deserializes a ChatMessage object from the specified input stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.SystemMessageSerializer
-
Deserializes a SystemMessage object from the specified ObjectInput stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionRequestSerializer
-
Deserializes a ToolExecutionRequest object from the provided ObjectInput.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionResultMessageSerializer
-
Deserializes a ToolExecutionResultMessage object from the provided ObjectInput stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.UserMessageSerializer
-
Deserializes a UserMessage object from the specified ObjectInput.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- read(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- read(ObjectInput) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- read(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- read(ObjectInput) - Method in class org.bsc.langgraph4j.spring.ai.serializer.std.MessageSerializer
- read(Reader) - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- read(String) - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- readBoolean() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readByte() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readChar() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readDouble() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readFloat() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readFully(byte[]) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readFully(byte[], int, int) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readInt() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readLine() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readLong() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readNullableObject(ObjectInput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- readNullableUTF(ObjectInput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- readObject() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readObject(byte[]) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- readShort() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readUnsignedByte() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readUnsignedShort() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readUTF() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- Reducer<T> - Interface in org.bsc.langgraph4j.state
-
Represents a binary operator that takes two values of the same type and produces a value of the same type.
- ReducerAllowDuplicate() - Constructor for class org.bsc.langgraph4j.state.AppenderChannel.ReducerAllowDuplicate
- ReducerDisallowDuplicate() - Constructor for class org.bsc.langgraph4j.state.AppenderChannel.ReducerDisallowDuplicate
- Reference(String) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper.Reference
- register(Class<?>, Serializer<?>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- register(TypeMapper.Reference<T>) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- Relation(String, String, String) - Constructor for record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Creates an instance of a
Relation
record class. - relations() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns the value of the
relations
record component. - release(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- release(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
-
Releases the checkpoints associated with the given configuration.
- release(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- release(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Releases a
BaseCheckpointSaver.Tag
based on the providedRunnableConfig
. - releaseThread() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the current state of the thread release flag.
- releaseThread(boolean) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets whether the thread should be released according to the provided flag.
- RemoveByHash<T> - Record Class in org.bsc.langgraph4j.state
-
Represents a record that implements the
AppenderChannel.RemoveIdentifier<T>
interface. - RemoveByHash(T) - Constructor for record class org.bsc.langgraph4j.state.RemoveByHash
-
Creates an instance of a
RemoveByHash
record class. - required() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
required
record component. - Result(String, String) - Constructor for record class org.bsc.langgraph4j.builder.Generator.Result
-
Creates an instance of a
Result
record class. - RetrievalGrader - Record Class in dev.langchain4j.adaptiverag
-
The RetrievalGrader class implements a function to assess the relevance of a retrieved document to a user's question.
- RetrievalGrader(String) - Constructor for record class dev.langchain4j.adaptiverag.RetrievalGrader
-
Creates an instance of a
RetrievalGrader
record class. - RetrievalGrader.Arguments - Record Class in dev.langchain4j.adaptiverag
-
Represents a structure for holding the arguments needed to process a user's query.
- RetrievalGrader.Score - Class in dev.langchain4j.adaptiverag
-
A static class that represents a score in a binary format.
- ReviewResult - Class in dev.langchain4j.image_to_diagram.actions.correction
-
The ReviewResult class implements the AsyncNodeAction interface for processing ImageToDiagram.State objects.
- ReviewResult(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.ReviewResult
-
Constructor for ReviewResult initializing the model.
- RouteDiagramTranslation - Class in dev.langchain4j.image_to_diagram.actions
-
RouteDiagramTranslation class implements AsyncEdgeAction interface for processing ImageToDiagram.State and determining the type of diagram.
- RouteDiagramTranslation() - Constructor for class dev.langchain4j.image_to_diagram.actions.RouteDiagramTranslation
- RouteEvaluationResult - Class in dev.langchain4j.image_to_diagram.actions.correction
-
Represents the result of evaluating a route.
- RouteEvaluationResult() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.RouteEvaluationResult
- RunnableConfig - Class in org.bsc.langgraph4j
-
A final class representing configuration for a runnable task.
- RunnableConfig.Builder - Class in org.bsc.langgraph4j
-
A builder pattern class for constructing
RunnableConfig
objects.
S
- sb() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
sb
record component. - SCHEMA - Static variable in class org.bsc.langgraph4j.prebuilt.MessagesState
- Score() - Constructor for class dev.langchain4j.adaptiverag.AnswerGrader.Score
- Score() - Constructor for class dev.langchain4j.adaptiverag.HallucinationGrader.Score
- Score() - Constructor for class dev.langchain4j.adaptiverag.RetrievalGrader.Score
- search(String) - Method in class dev.langchain4j.adaptiverag.ChromaStore
-
Searches for text segments in the embedding index that match a given query.
- serialize(ToolExecutionRequest, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestSerializer
- serialize(AiMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageSerializer
- serialize(SystemMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageSerializer
- serialize(ToolExecutionResultMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageSerializer
- serialize(UserMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageSerializer
- serialize(LangGraphStreamingServer.InitData, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitDataSerializer
-
Serializes the InitData object to JSON.
- Serializer<T> - Interface in org.bsc.langgraph4j.serializer
- SerializerMapper - Class in org.bsc.langgraph4j.serializer.std
- SerializerMapper() - Constructor for class org.bsc.langgraph4j.serializer.std.SerializerMapper
- service(ServletRequest, ServletResponse) - Method in class org.bsc.quarkus.GraphInitServletProxy
- service(ServletRequest, ServletResponse) - Method in class org.bsc.quarkus.GraphStreamServletProxy
- sessionId() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns the value of the
sessionId
record component. - setMaxIterations(int) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Sets the maximum number of iterations for the graph execution.
- setSubGraph(boolean) - Method in class org.bsc.langgraph4j.NodeOutput
- shape() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Returns the value of the
shape
record component. - shouldContinue(AgentExecutor.State) - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor
-
Determines whether the game should continue based on the current state.
- skip(long) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- skipBytes(int) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- SNAPSHOTS - Enum constant in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
- source() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Returns the value of the
source
record component. - sourceId() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns the value of the
sourceId
record component. - specification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Adds a tool specification to the node
- specification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Deprecated.Adds a tool specification to the node
- specification(Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Adds all the methods annotated with
Tool
to the node - specification(Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Deprecated.Adds all the methods annotated with
Tool
to the node - specification(LC4jToolService.Specification) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Adds a tool specification to the node
- specification(ToolNode.Specification) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Deprecated.Adds a tool specification to the node
- Specification(ToolSpecification, ToolExecutor) - Constructor for record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Creates an instance of a
Specification
record class. - Specification(ToolSpecification, ToolExecutor) - Constructor for record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Deprecated.Creates an instance of a
Specification
record class. - SpringAIStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.spring.ai.serializer.std
-
This class is responsible for serializing and deserializing the state of an agent executor.
- SpringAIStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.spring.ai.serializer.std.SpringAIStateSerializer
-
Constructor that initializes the serializer with a supplier for creating new AgentExecutor.State instances and registers various serializers for different types.
- SpringAIToolService - Class in org.bsc.langgraph4j.spring.ai.tool
-
Service class responsible for managing tools and their callbacks.
- SpringAIToolService(List<ToolCallback>) - Constructor for class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
- start() - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty
-
Starts the streaming server asynchronously.
- start() - Method in interface org.bsc.langgraph4j.studio.LangGraphStreamingServer
-
Starts the streaming server.
- START - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- START - Static variable in class org.bsc.langgraph4j.StateGraph
- startingNode(String) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the starting node for the builder.
- startingNode(String) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the starting node for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the starting state for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the starting state for the builder.
- state() - Method in class org.bsc.langgraph4j.NodeOutput
- state(Map<String, Object>) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- state(AgentState) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- State(Map<String, Object>) - Constructor for class dev.langchain4j.adaptiverag.AdaptiveRag.State
- State(Map<String, Object>) - Constructor for class dev.langchain4j.image_to_diagram.ImageToDiagram.State
-
Constructs a new `State` object with the provided initialization data.
- State(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
-
Constructs a new State with the given initialization data.
- State(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.State
-
Constructs a new State object using the initial data provided in the initData map.
- stateFactory() - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- stateGraph - Variable in class org.bsc.langgraph4j.CompiledGraph
- stateGraph() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
stateGraph
record component. - stateGraph() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
stateGraph
record component. - stateGraph(StateGraph<State>) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the state graph for the server.
- stateGraph(StateGraph<State>) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Sets the state graph for the server.
- stateGraph(StateGraph<State>) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Sets the state graph for the server.
- StateGraph<State extends AgentState> - Class in org.bsc.langgraph4j
-
Represents a state graph with nodes and edges.
- StateGraph(Map<String, Channel<?>>, StateSerializer<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
- StateGraph(Map<String, Channel<?>>, AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
- StateGraph(StateSerializer<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified serializer.
- StateGraph(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified state factory.
- StateGraph.Edges<State extends AgentState> - Class in org.bsc.langgraph4j
- StateGraph.Errors - Enum Class in org.bsc.langgraph4j
-
Enum representing various error messages related to graph state.
- StateGraph.Nodes<State extends AgentState> - Class in org.bsc.langgraph4j
- stateOf(Map<String, Object>) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- stateOf(RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Get the StateSnapshot of the given RunnableConfig.
- stateSerializer(StateSerializer<AgentExecutor.State>) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Sets the state serializer for the graph builder.
- stateSerializer(StateSerializer<AgentExecutor.State>) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.Builder
-
Sets the state serializer for the graph builder.
- StateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer
- StateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.StateSerializer
- StateSnapshot<State extends AgentState> - Class in org.bsc.langgraph4j.state
- StaticResources - Class in org.bsc.quarkus
- StaticResources() - Constructor for class org.bsc.quarkus.StaticResources
- STD - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
- stream(Map<String, Object>) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- stream(Map<String, Object>, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- StreamingChatGenerator<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators
- StreamingChatGenerator.Builder<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators
-
Builder class for constructing instances of LLMStreamingGenerator.
- streamingChatLanguageModel(StreamingChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.Agent.Builder
- StreamingOutput<State extends AgentState> - Class in org.bsc.langgraph4j.streaming
- StreamingOutput(String, String, State) - Constructor for class org.bsc.langgraph4j.streaming.StreamingOutput
- streamingServletBean() - Method in class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- streamMode() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns the stream mode of the compiled graph.
- streamMode(CompiledGraph.StreamMode) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the stream mode of the configuration.
- streamSnapshots(Map<String, Object>, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- STRING - Enum constant in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
- stub() - Method in record class org.bsc.langgraph4j.builder.Generator.Result
-
Returns the value of the
stub
record component. - SubCompiledGraphNode<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
- SubCompiledGraphNode(String, CompiledGraph<State>) - Constructor for class org.bsc.langgraph4j.internal.node.SubCompiledGraphNode
- SubCompiledGraphNodeAction<State extends AgentState> - Record Class in org.bsc.langgraph4j.internal.node
-
Represents an action to perform a subgraph on a given state with a specific configuration.
- SubCompiledGraphNodeAction(CompiledGraph<State>) - Constructor for record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Creates an instance of a
SubCompiledGraphNodeAction
record class. - subGraph() - Method in class org.bsc.langgraph4j.internal.node.SubCompiledGraphNode
- subGraph() - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Returns the value of the
subGraph
record component. - subGraph() - Method in class org.bsc.langgraph4j.internal.node.SubStateGraphNode
- subGraph() - Method in interface org.bsc.langgraph4j.SubGraphNode
-
Returns a subgraph of the current state graph containing all reachable states from the current state.
- SUBGRAPH_PREFIX - Static variable in class org.bsc.langgraph4j.diagram.MermaidGenerator
- SubGraphNode<State extends AgentState> - Interface in org.bsc.langgraph4j
-
Defines the interface for a sub-graph node in an agent's state graph.
- SubStateGraphNode<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
- SubStateGraphNode(String, StateGraph<State>) - Constructor for class org.bsc.langgraph4j.internal.node.SubStateGraphNode
- SystemMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- SystemMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- SystemMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- SystemMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The SystemMessageSerializer class implements the Serializer interface for the SystemMessage type.
- SystemMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageSerializer
- SystemMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.SystemMessageSerializer
T
- Tag(String, Collection<Checkpoint>) - Constructor for record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Creates an instance of a
Tag
record class. - target() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Returns the value of the
target
record component. - target() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- targets() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns the value of the
targets
record component. - tavilyApiKey() - Method in record class dev.langchain4j.adaptiverag.WebSearchTool
-
Returns the value of the
tavilyApiKey
record component. - THREAD_ID_DEFAULT - Static variable in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- ThreadEntry(String, List<? extends NodeOutput<? extends AgentState>>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Creates an instance of a
ThreadEntry
record class. - threadId() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns the value of the
threadId
record component. - threadId() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns the thread ID as an
Optional
. - threadId() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns the value of the
threadId
record component. - threadId(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the ID of the thread.
- threads() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
threads
record component. - title() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns the value of the
title
record component. - title() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
title
record component. - title() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
title
record component. - title() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
title
record component. - title() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
title
record component. - title(String) - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
- title(String) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the title for the server.
- title(String) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Sets the title for the server.
- title(String) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Sets the title for the server.
- titleToSnakeCase() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Converts a given title string to snake_case format by replacing all non-alphanumeric characters with underscores.
- to() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Returns the value of the
to
record component. - to(String) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- to(String[]) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- to(String, String) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- to(List<String>) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- to$() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
- toEND() - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- toEND(String) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- tool(ToolSpecification) - Method in class org.bsc.langgraph4j.agentexecutor.Agent.Builder
- ToolExecutionRequestDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionRequestDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
- ToolExecutionRequestSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionRequestSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The ToolExecutionRequestSerializer class implements the Serializer interface for the ToolExecutionRequest type.
- ToolExecutionRequestSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestSerializer
- ToolExecutionRequestSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionRequestSerializer
- ToolExecutionResultMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionResultMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageDeserializer
- ToolExecutionResultMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionResultMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
This class is responsible for serializing and deserializing instances of ToolExecutionResultMessage.
- ToolExecutionResultMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageSerializer
- ToolExecutionResultMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionResultMessageSerializer
- ToolNode - Class in org.bsc.langgraph4j.langchain4j.tool
-
Deprecated, for removal: This API element is subject to removal in a future version.use
LC4jToolService
- ToolNode.Builder - Class in org.bsc.langgraph4j.langchain4j.tool
-
Deprecated.
- ToolNode.Specification - Record Class in org.bsc.langgraph4j.langchain4j.tool
-
Deprecated.
- tools() - Method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.ChatService
- tools(Collection<? extends ToolSpecification>) - Method in class org.bsc.langgraph4j.agentexecutor.Agent.Builder
- toolSpecification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Sets the tool specification with executor for the graph builder.
- toolSpecification(Object) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Sets the tool specification for the graph builder.
- toolSpecification(LC4jToolService.Specification) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Sets the tool specification for the graph builder.
- toolSpecifications() - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Returns a list of
ToolSpecification
s that can be executed by this node - toolSpecifications() - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.Returns a list of
ToolSpecification
s that can be executed by this node - toString() - Method in record class dev.langchain4j.adaptiverag.AnswerGrader.Arguments
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.AnswerGrader
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.Generation
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader.Arguments
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.HallucinationGrader
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.QuestionRewriter
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.QuestionRouter
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader.Arguments
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.RetrievalGrader
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.adaptiverag.WebSearchTool
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Container
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Returns a string representation of this record class.
- toString() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.builder.Generator.Result
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Edge
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Graph
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.builder.GraphDefinition.Node
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- toString() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns a string representation of this object by returning the string built in
DiagramGenerator.Context.sb
. - toString() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.internal.node.Node
- toString() - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Deprecated.Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.NodeOutput
- toString() - Method in class org.bsc.langgraph4j.RunnableConfig
- toString() - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- toString() - Method in class org.bsc.langgraph4j.state.AgentState
-
Returns a string representation of the agent state.
- toString() - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- toString() - Method in class org.bsc.langgraph4j.streaming.StreamingOutput
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns a string representation of this record class.
- TranslateGenericDiagramToPlantUML - Class in dev.langchain4j.image_to_diagram.actions
-
TranslateGenericDiagramToPlantUML class implementation.
- TranslateGenericDiagramToPlantUML(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.TranslateGenericDiagramToPlantUML
-
Constructor to initialize the TranslateGenericDiagramToPlantUML object with a provided OpenAiChatModel instance.
- TranslateSequenceDiagramToPlantUML - Class in dev.langchain4j.image_to_diagram.actions
-
The `TranslateSequenceDiagramToPlantUML` class implements the NodeAction<ImageToDiagram.State> interface.
- TranslateSequenceDiagramToPlantUML(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.TranslateSequenceDiagramToPlantUML
-
Constructor for `TranslateSequenceDiagramToPlantUML`.
- Try(TryConsumer<T, Ex>) - Static method in interface org.bsc.langgraph4j.utils.TryConsumer
- tryAccept(T) - Method in interface org.bsc.langgraph4j.utils.TryConsumer
- TryConsumer<T,
Ex extends Throwable> - Interface in org.bsc.langgraph4j.utils - type() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Element
-
Returns the value of the
type
record component. - type() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns the value of the
type
record component. - type() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
type
record component. - TYPE_PROPERTY - Static variable in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- typeMapper - Variable in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- typeMapper() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- TypeMapper - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
- TypeMapper() - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- TypeMapper.Reference<T> - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
U
- UNKNOWN - Enum constant in enum class dev.langchain4j.image_to_diagram.ImageToDiagram.EvaluationResult
- unregister(Class<? extends Serializer<?>>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- unregister(TypeMapper.Reference<T>) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- unsupportedConditionalEdgeOnParallelNode - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- update(String, Object, Object) - Method in class org.bsc.langgraph4j.state.AppenderChannel
-
Updates the value for a given key in the channel.
- update(String, Object, Object) - Method in interface org.bsc.langgraph4j.state.Channel
-
Update the state property with the given key and returns the new value.
- updateState(Map<String, Object>, Map<String, Object>, Map<String, Channel<?>>) - Static method in class org.bsc.langgraph4j.state.AgentState
-
Updates a state with the provided partial state.
- updateState(Map<String, Object>, Map<String, Channel<?>>) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- updateState(RunnableConfig, Map<String, Object>) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Update the state of the graph with the given values.
- updateState(RunnableConfig, Map<String, Object>, String) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Update the state of the graph with the given values.
- updateState(AgentState, Map<String, Object>, Map<String, Channel<?>>) - Static method in class org.bsc.langgraph4j.state.AgentState
-
Updates a state with the provided partial state.
- url() - Method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Returns the value of the
url
record component. - UserMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- UserMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- UserMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- UserMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The UserMessageSerializer class implements the NullableObjectSerializer interface for the UserMessage type.
- UserMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageSerializer
- UserMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.UserMessageSerializer
V
- validate(String) - Static method in class dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction
-
Validates PlantUML code and returns a `CompletableFuture`.
- validate(StateGraph.Nodes<State>) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- validateNewValues(List<?>) - Method in class org.bsc.langgraph4j.state.AppenderChannel
- validateWithSingleLineError(String) - Static method in class dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction
-
Validates PlantUML code with a single line error and returns a `CompletableFuture`.
- value() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns the value of the
value
record component. - value() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Returns the value of the
value
record component. - value() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Deprecated.Returns the value of the
value
record component. - value() - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Returns the value of the
value
record component. - value(String) - Method in class org.bsc.langgraph4j.state.AgentState
-
Retrieves the value associated with the given key, if present.
- value(String, Supplier<T>) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.
- value(String, T) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.This method is deprecated and may be removed in future versions.
- valueOf(String) - Static method in enum class dev.langchain4j.adaptiverag.QuestionRouter.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.image_to_diagram.ImageToDiagram.EvaluationResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.StateGraph.Errors
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.langchain4j.adaptiverag.QuestionRouter.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.langchain4j.image_to_diagram.ImageToDiagram.EvaluationResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.StateGraph.Errors
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VALUES - Enum constant in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
- vectorstore - Enum constant in enum class dev.langchain4j.adaptiverag.QuestionRouter.Type
- VersionedMemorySaver - Class in org.bsc.langgraph4j.checkpoint
-
VersionedMemorySaver is a class that implements
BaseCheckpointSaver
andHasVersions
. - VersionedMemorySaver() - Constructor for class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Default constructor for the
VersionedMemorySaver
class. - versionsByThreadId(String) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves a collection of integer versions associated with the specified thread ID.
- versionsByThreadId(String) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Returns a collection of versions associated with the specified thread ID.
- versionsByThreadId(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves the collection of versions associated with a specific thread ID from the given
RunnableConfig
.
W
- web_search - Enum constant in enum class dev.langchain4j.adaptiverag.QuestionRouter.Type
- WebSearchTool - Record Class in dev.langchain4j.adaptiverag
-
The `WebSearchTool` class provides a solution for performing web searches based on user queries.
- WebSearchTool(String) - Constructor for record class dev.langchain4j.adaptiverag.WebSearchTool
-
Creates an instance of a
WebSearchTool
record class. - withCheckPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig
-
Updates the checkpoint ID of the configuration.
- withIdUpdated(Function<String, String>) - Method in class org.bsc.langgraph4j.internal.node.Node
- withSourceAndTargetIdsUpdated(Node<State>, Function<String, String>, Function<String, EdgeValue<State>>) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- withStreamMode(CompiledGraph.StreamMode) - Method in class org.bsc.langgraph4j.RunnableConfig
-
Create a new RunnableConfig with the same attributes as this one but with a different
CompiledGraph.StreamMode
. - workflow() - Method in class dev.langchain4j.image_to_diagram.DiagramCorrectionProcess
-
Executes the workflow for diagram correction using the default JSONStateSerializer.
- workflow() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
-
Generates a workflow graph using the StateGraph framework with specific nodes and conditional edges.
- workflow(StateSerializer<ImageToDiagram.State>) - Method in class dev.langchain4j.image_to_diagram.DiagramCorrectionProcess
-
Executes the workflow for diagram correction using a specified state serializer.
- workflowWithCorrection() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
-
This method orchestrates a workflow for processing diagrams.
- write(ToolExecutionRequest, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionRequestSerializer
-
Serializes the given ToolExecutionRequest object to the provided ObjectOutput.
- write(AiMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.AiMessageSerializer
-
Serializes the given AiMessage object to the specified output stream.
- write(ChatMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ChatMesssageSerializer
-
Serializes the given ChatMessage object to the specified output stream.
- write(SystemMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.SystemMessageSerializer
-
Serializes the given SystemMessage object to the specified ObjectOutput stream.
- write(ToolExecutionResultMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionResultMessageSerializer
-
Serializes the given ToolExecutionResultMessage object to the provided ObjectOutput stream.
- write(UserMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.UserMessageSerializer
-
Serializes the given UserMessage object to the specified ObjectOutput.
- write(Message, ObjectOutput) - Method in class org.bsc.langgraph4j.spring.ai.serializer.std.MessageSerializer
- write(State, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- write(State, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- write(State, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- write(T, ObjectOutput) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- writeNullableObject(Object, ObjectOutput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- writeNullableUTF(String, ObjectOutput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- writeObject(T) - Method in interface org.bsc.langgraph4j.serializer.Serializer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AgentExecutor.Builder