Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(T) - Method in interface org.bsc.langgraph4j.utils.TryConsumer
- action() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
-
Returns the value of the
action
record component. - action() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
-
Returns the value of the
action
record component. - action() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Outcome
-
Returns the value of the
action
record component. - action() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Step
-
Returns the value of the
action
record component. - Action(AssistantMessage.ToolCall, String) - Constructor for record class org.bsc.spring.agentexecutor.AgentExecutor.Action
-
Creates an instance of a
Action
record class. - AdaptiveRag - Class in dev.langchain4j.adaptiverag
- AdaptiveRag(String, String) - Constructor for class dev.langchain4j.adaptiverag.AdaptiveRag
- 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, boolean) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.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, boolean) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input string argument to the server configuration.
- 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
- addSubgraph(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.
- Agent - Class in org.bsc.langgraph4j.agentexecutor
-
Represents an agent that can process chat messages and execute actions using specified tools.
- Agent() - Constructor for class org.bsc.langgraph4j.agentexecutor.Agent
- AGENT_OUTCOME - Static variable in class org.bsc.spring.agentexecutor.AgentExecutor.State
- AgentAction - Record Class in org.bsc.langgraph4j.agentexecutor.state
-
Represents result of an action performed by an agent.
- AgentAction(ToolExecutionRequest, String) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
-
Creates an instance of a
AgentAction
record class. - AgentExecutor - Class in org.bsc.spring.agentexecutor
- AgentExecutor - Interface in org.bsc.langgraph4j.agentexecutor
-
Interface representing an Agent Executor.
- AgentExecutor(AgentService) - Constructor for class org.bsc.spring.agentexecutor.AgentExecutor
- AgentExecutor.Action - Record Class in org.bsc.spring.agentexecutor
- AgentExecutor.Finish - Record Class in org.bsc.spring.agentexecutor
- AgentExecutor.GraphBuilder - Class in org.bsc.langgraph4j.agentexecutor
-
Builder class for constructing a graph of agent execution.
- AgentExecutor.GraphBuilder - Class in org.bsc.spring.agentexecutor
- AgentExecutor.Outcome - Record Class in org.bsc.spring.agentexecutor
- 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.spring.agentexecutor
- AgentExecutor.Step - Record Class in org.bsc.spring.agentexecutor
- AgentFinish - Record Class in org.bsc.langgraph4j.agentexecutor.state
-
Represents the result of an agent's finish operation.
- AgentFinish(Map<String, Object>, String) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
-
Creates an instance of a
AgentFinish
record class. - agentFunction(String) - Method in class org.bsc.spring.agentexecutor.ToolService
- AgentFunctionCallbackWrapper<I,
O> - Class in org.bsc.spring.agentexecutor.function - AgentFunctionCallbackWrapper(String, String, String, Class<I>, Function<O, String>, ObjectMapper, BiFunction<I, ToolContext, O>) - Constructor for class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper
- AgentFunctionCallbackWrapper.Builder<I,
O> - Class in org.bsc.spring.agentexecutor.function - agentFunctionsCallback() - Method in class org.bsc.spring.agentexecutor.ToolService
- agentOutcome() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
-
Retrieves the agent outcome.
- agentOutcome() - Method in class org.bsc.spring.agentexecutor.AgentExecutor.State
- AgentOutcome - Record Class in org.bsc.langgraph4j.agentexecutor.state
-
Represents the outcome of an agent's action.
- AgentOutcome(AgentAction, AgentFinish) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
-
Creates an instance of a
AgentOutcome
record class. - AgentService - Class in org.bsc.spring.agentexecutor
- AgentService(ChatClient.Builder, ToolService) - Constructor for class org.bsc.spring.agentexecutor.AgentService
- 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.spring.agentexecutor.serializer.std
- AgentStateSerializer() - Constructor for class org.bsc.spring.agentexecutor.serializer.std.AgentStateSerializer
- 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.std.AiMessageSerializer
- AnswerGrader - Class in dev.langchain4j.adaptiverag
- AnswerGrader() - Constructor for class dev.langchain4j.adaptiverag.AnswerGrader
- AnswerGrader.Arguments - Class in dev.langchain4j.adaptiverag
- AnswerGrader.Score - Class in dev.langchain4j.adaptiverag
-
Binary score to assess answer addresses question.
- apiKey() - Method in record class org.bsc.spring.agentexecutor.function.WeatherConfig
-
Returns the value of the
apiKey
record component. - apiUrl() - Method in record class org.bsc.spring.agentexecutor.function.WeatherConfig
-
Returns the value of the
apiUrl
record component. - append(Object) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Appends a value or a collection of values to the list.
- appendableValue(String) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.
- AppendableValue<T> - Interface in org.bsc.langgraph4j.state
-
Deprecated.
- AppendableValueRW<T> - Class in org.bsc.langgraph4j.state
-
Deprecated.
- AppendableValueRW() - Constructor for class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Constructs an AppendableValueRW with an empty list of values.
- AppendableValueRW(Collection<T>) - Constructor for class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Constructs an AppendableValueRW with the given initial collection of values.
- AppenderChannel<T> - Class in org.bsc.langgraph4j.state
- 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
- 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
- apply(AnswerGrader.Arguments) - Method in class dev.langchain4j.adaptiverag.AnswerGrader
- apply(HallucinationGrader.Arguments) - Method in class dev.langchain4j.adaptiverag.HallucinationGrader
- apply(RetrievalGrader.Arguments) - Method in class dev.langchain4j.adaptiverag.RetrievalGrader
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.correction.EvaluateResult
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.correction.ReviewResult
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.correction.RouteEvaluationResult
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.DescribeDiagramImage
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.EvaluateResult
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.RouteDiagramTranslation
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.TranslateGenericDiagramToPlantUML
- apply(ImageToDiagram.State) - Method in class dev.langchain4j.image_to_diagram.actions.TranslateSequenceDiagramToPlantUML
- apply(ImageToDiagram.State, RunnableConfig) - Method in class dev.langchain4j.image_to_diagram.actions.correction.EventuallyPerformCorrection
- apply(I, ToolContext) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper
- apply(String) - Method in class dev.langchain4j.adaptiverag.QuestionRewriter
- apply(String) - Method in class dev.langchain4j.adaptiverag.QuestionRouter
- apply(String) - Method in class dev.langchain4j.adaptiverag.WebSearchTool
- apply(String, List<String>) - Method in class dev.langchain4j.adaptiverag.Generation
- 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(WeatherFunction.Request) - Method in class org.bsc.spring.agentexecutor.function.WeatherFunction
- 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(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
-
Creates an instance of a
ArgumentMetadata
record class. - Arguments() - Constructor for class dev.langchain4j.adaptiverag.AnswerGrader.Arguments
- Arguments() - Constructor for class dev.langchain4j.adaptiverag.HallucinationGrader.Arguments
- Arguments() - Constructor for class dev.langchain4j.adaptiverag.RetrievalGrader.Arguments
- 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
- AsyncNodeGenerator(Map<String, Object>, RunnableConfig) - Constructor for class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- available() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
B
- BaseCheckpointSaver - Interface 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.AgentExecutor.GraphBuilder
-
Builds the state graph.
- build() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- build() - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- build() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Builds and returns an instance of LLMStreamingGenerator.
- build() - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Builds the node
- build() - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- build() - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Builds and returns a LangGraphStreamingServerJetty instance.
- build() - Method in class org.bsc.spring.agentexecutor.AgentExecutor.GraphBuilder
- build() - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- builder() - Static method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- builder() - Static method in class org.bsc.langgraph4j.CompileConfig
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Creates a new Builder instance for LLMStreamingGenerator.
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
- builder() - Static method in class org.bsc.langgraph4j.RunnableConfig
- builder() - Static method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty
-
Creates a new Builder for LangGraphStreamingServerJetty.
- builder(BiFunction<I, ToolContext, O>) - Static method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper
- builder(Function<I, O>) - Static method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper
- builder(RunnableConfig) - Static method in class org.bsc.langgraph4j.RunnableConfig
- Builder() - Constructor for class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.CompileConfig.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
- Builder(BiFunction<I, ToolContext, O>) - Constructor for class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- Builder(Function<I, O>) - Constructor for class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- 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
- buildToolResponseMessage(ToolResponseMessage.ToolResponse) - Method in class org.bsc.spring.agentexecutor.ToolService
C
- call(String) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper
- call(String, ToolContext) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper
- call(DiagramGenerator.Context, String, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
- call(DiagramGenerator.Context, String, String, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
- 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.
- chatLanguageModel(ChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
-
Sets the chat language model for the graph builder.
- chatLanguageModel(StreamingChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
-
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
- 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
- checkPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- checkpointSaver() - Method in class org.bsc.langgraph4j.CompileConfig
- checkpointSaver(BaseCheckpointSaver) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- checkpointSaver(BaseCheckpointSaver) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the checkpoint saver for the server.
- 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
- chunk() - Method in class org.bsc.langgraph4j.streaming.StreamingOutput
- city() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Request
-
Returns the value of the
city
record component. - 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
- 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 - Class in org.bsc.langgraph4j
- CompileConfig.Builder - Class in org.bsc.langgraph4j
- 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.spring.agentexecutor.function.WeatherFunction.Current
-
Returns the value of the
condition
record component. - Condition(String) - Constructor for record class org.bsc.spring.agentexecutor.function.WeatherFunction.Condition
-
Creates an instance of a
Condition
record class. - 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. - Context() - Constructor for class org.bsc.langgraph4j.DiagramGenerator.Context
- convertResponse(ToolResponseMessage.ToolResponse) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper
- country() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Returns the value of the
country
record component. - current() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Response
-
Returns the value of the
current
record component. - Current(String, WeatherFunction.Condition, String, String) - Constructor for record class org.bsc.spring.agentexecutor.function.WeatherFunction.Current
-
Creates an instance of a
Current
record class. - currentWeatherFunction() - Method in class org.bsc.spring.agentexecutor.function.FunctionsConfiguration
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
- 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
- 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
- DemoConsoleController - Class in org.bsc.spring
- DemoConsoleController(AgentExecutor) - Constructor for class org.bsc.spring.DemoConsoleController
- DescribeDiagramImage - Class in dev.langchain4j.image_to_diagram.actions
- DescribeDiagramImage(ChatLanguageModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.DescribeDiagramImage
- 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. - 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
- Diagram - Class in dev.langchain4j.image_to_diagram.state
- Diagram() - Constructor for class dev.langchain4j.image_to_diagram.state.Diagram
- Diagram.Container - Record Class in dev.langchain4j.image_to_diagram.state
- Diagram.Element - Record Class in dev.langchain4j.image_to_diagram.state
- Diagram.Participant - Record Class in dev.langchain4j.image_to_diagram.state
- Diagram.Relation - Record Class in dev.langchain4j.image_to_diagram.state
- diagramCode() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
- DiagramCorrectionProcess - Class in dev.langchain4j.image_to_diagram
- DiagramCorrectionProcess() - Constructor for class dev.langchain4j.image_to_diagram.DiagramCorrectionProcess
- DiagramGenerator - Class in org.bsc.langgraph4j
- DiagramGenerator() - Constructor for class org.bsc.langgraph4j.DiagramGenerator
- DiagramGenerator.Context - Class in org.bsc.langgraph4j
- DiagramOutputParser - Class in dev.langchain4j.image_to_diagram
- DiagramOutputParser() - Constructor for class dev.langchain4j.image_to_diagram.DiagramOutputParser
- documents() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag.State
- 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.
E
- 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.
- EdgeValue<State extends AgentState> - Class in org.bsc.langgraph4j
- EdgeValue() - Constructor for class org.bsc.langgraph4j.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. - 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. - 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.agentexecutor.state.AgentAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
-
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.spring.agentexecutor.AgentExecutor.Action
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Finish
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Outcome
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Step
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.function.WeatherConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Condition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Current
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Request
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Response
-
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
- ERROR - Enum constant in enum class dev.langchain4j.image_to_diagram.ImageToDiagram.EvaluationResult
- EvaluateResult - Class in dev.langchain4j.image_to_diagram.actions.correction
- EvaluateResult - Class in dev.langchain4j.image_to_diagram.actions
- EvaluateResult() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.EvaluateResult
- EvaluateResult(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.EvaluateResult
- evaluationError() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
- evaluationErrorType() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
- evaluationResult() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
- EventuallyPerformCorrection - Class in dev.langchain4j.image_to_diagram.actions.correction
- EventuallyPerformCorrection() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.EventuallyPerformCorrection
- execute(ToolExecutionRequest, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
- execute(ImageToDiagramProcess.ImageUrlOrData) - Method in class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
- execute(Collection<ToolExecutionRequest>, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
- execute(ToolExecutionRequest) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
- execute(String, List<IntermediateStep>) - Method in class org.bsc.langgraph4j.agentexecutor.Agent
-
Executes the agent's action based on the input and intermediate steps, returning a response.
- execute(String, List<IntermediateStep>, StreamingResponseHandler<AiMessage>) - 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(String, List<AgentExecutor.Step>) - Method in class org.bsc.spring.agentexecutor.AgentService
- execute(Collection<ToolExecutionRequest>) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
- executeFunction(AssistantMessage.ToolCall) - Method in class org.bsc.spring.agentexecutor.ToolService
- executeFunction(AssistantMessage.ToolCall, Map<String, Object>) - Method in class org.bsc.spring.agentexecutor.ToolService
- 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(Agent, ToolNode) - 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
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
- finish() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
-
Returns the value of the
finish
record component. - finish() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Outcome
-
Returns the value of the
finish
record component. - Finish(Map<String, Object>) - Constructor for record class org.bsc.spring.agentexecutor.AgentExecutor.Finish
-
Creates an instance of a
Finish
record class. - FunctionsConfiguration - Class in org.bsc.spring.agentexecutor.function
- FunctionsConfiguration(WeatherConfig) - Constructor for class org.bsc.spring.agentexecutor.function.FunctionsConfiguration
G
- generate(StateGraph<State>, String, boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Generate a textual representation of the given graph.
- generate(StateGraph<State>, DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
- generation() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag.State
- Generation - Class in dev.langchain4j.adaptiverag
- Generation() - Constructor for class dev.langchain4j.adaptiverag.Generation
- Generation.Service - Interface in dev.langchain4j.adaptiverag
- 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
- getChannels() - Method in class org.bsc.langgraph4j.StateGraph
- getCheckpoints(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- getCheckpoints(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- getConfig() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.config()
instead. - getDefault() - Method in class org.bsc.langgraph4j.state.AppenderChannel
- 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
- getEntryPoint() - Method in class org.bsc.langgraph4j.CompiledGraph
-
Deprecated.
- getEntryPoint() - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.
- getFinishPoint() - Method in class org.bsc.langgraph4j.CompiledGraph
-
Deprecated.
- getFinishPoint() - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.
- getFunctionResult(ToolResponseMessage.ToolResponse) - Method in class org.bsc.spring.agentexecutor.ToolService
- 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.
- getLast(LinkedList<Checkpoint>, RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- getModel() - Method in interface dev.langchain4j.image_to_diagram.ImageToDiagram
- getNext() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.next()
instead. - getReducer() - Method in class org.bsc.langgraph4j.state.AppenderChannel
- getReducer() - Method in interface org.bsc.langgraph4j.state.Channel
-
The Reducer, if provided, is invoked for each state property to compute value.
- 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.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
- getStateType() - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- getType() - Method in exception dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction.Error
- getVisionModel() - Method in interface dev.langchain4j.image_to_diagram.ImageToDiagram
- graph() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
graph
record component. - graphBuilder() - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutor
-
Creates a new GraphBuilder instance.
- graphBuilder() - Method in class org.bsc.spring.agentexecutor.AgentExecutor
- GraphBuilder() - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
- GraphBuilder() - Constructor for class org.bsc.spring.agentexecutor.AgentExecutor.GraphBuilder
- GraphInitServlet(StateGraph<? extends AgentState>, String, List<LangGraphStreamingServer.ArgumentMetadata>) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphInitServlet
-
Constructs a GraphInitServlet.
- GraphRepresentation - Class in org.bsc.langgraph4j
-
The graph representation in diagram-as-a-code format.
- GraphRepresentation() - Constructor for class org.bsc.langgraph4j.GraphRepresentation
- 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>, BaseCheckpointSaver) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphStreamServlet
-
Constructs a GraphStreamServlet.
- 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 - Class in dev.langchain4j.adaptiverag
- HallucinationGrader() - Constructor for class dev.langchain4j.adaptiverag.HallucinationGrader
- HallucinationGrader.Arguments - Class in dev.langchain4j.adaptiverag
- 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
-
Returns the StreamingResponseHandler associated with this generator.
- 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.agentexecutor.state.AgentAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
-
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.spring.agentexecutor.AgentExecutor.Action
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Finish
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Outcome
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Step
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.function.WeatherConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Condition
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Current
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Request
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Response
-
Returns a hash code value for this object.
- humidity() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Current
-
Returns the value of the
humidity
record component.
I
- id() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns the value of the
id
record component. - id(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- IMAGE - Enum constant in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
- imageData() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
- ImageLoader - Class in dev.langchain4j.image_to_diagram
- ImageLoader() - Constructor for class dev.langchain4j.image_to_diagram.ImageLoader
- ImageToDiagram - Interface in dev.langchain4j.image_to_diagram
- ImageToDiagram.EvaluationResult - Enum Class in dev.langchain4j.image_to_diagram
- ImageToDiagram.State - Class in dev.langchain4j.image_to_diagram
- ImageToDiagramProcess - Class in dev.langchain4j.image_to_diagram
- ImageToDiagramProcess() - Constructor for class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
- ImageToDiagramProcess.ImageUrlOrData - Record Class in dev.langchain4j.image_to_diagram
- ImageUrlOrData(URI, String) - Constructor for record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Creates an instance of a
ImageUrlOrData
record class. - 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
- input() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
-
Retrieves the input value.
- input() - Method in class org.bsc.spring.agentexecutor.AgentExecutor.State
- INPUT - Static variable in class org.bsc.spring.agentexecutor.AgentExecutor.State
- INTERMEDIATE_STEPS - Static variable in class org.bsc.spring.agentexecutor.AgentExecutor.State
- IntermediateStep - Record Class in org.bsc.langgraph4j.agentexecutor.state
-
Represents an intermediate step in a process, encapsulating an action taken by an agent and the corresponding observation made.
- IntermediateStep(AgentAction, String) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
-
Creates an instance of a
IntermediateStep
record class. - intermediateSteps() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
-
Retrieves the list of intermediate steps.
- intermediateSteps() - Method in class org.bsc.spring.agentexecutor.AgentExecutor.State
- interruptAfter(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- interruptBefore(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- invoke(String, List<String>) - Method in interface dev.langchain4j.adaptiverag.Generation.Service
- 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.
- isEmpty() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Checks if the value list is empty.
- isEmpty() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Checks if the list of values is empty.
- isExecutionError() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagram.State
- isStreaming() - Method in class org.bsc.langgraph4j.agentexecutor.Agent
-
Checks if the agent is currently streaming.
J
- JacksonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
-
Base Implementation of
PlainTextStateSerializer
using Jackson library. - JacksonStateSerializer(AgentStateFactory<State>, ObjectMapper) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- JacksonStateSerializer(AgentStateFactory<State>) - 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 - Class in org.bsc.langgraph4j.agentexecutor.serializer.jackson
-
JSONStateSerializer is a class that extends JacksonStateSerializer for serializing and deserializing the state of an AgentExecutor using JSON format.
- JSONStateSerializer() - Constructor for class dev.langchain4j.image_to_diagram.serializer.gson.JSONStateSerializer
- JSONStateSerializer() - Constructor for class org.bsc.langgraph4j.agentexecutor.serializer.jackson.JSONStateSerializer
-
Constructs a new JSONStateSerializer and registers custom deserializers for various agent-related classes.
L
- 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.
- last() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the last value in the list, if present.
- last() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns the last value in the list, if present.
- last(List<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Returns the last value in the list, if present.
- lastMinus(int) - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the value at the specified position from the end of the list, if present.
- lastMinus(int) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.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
- lat() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Returns the value of the
lat
record component. - 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
- listOf(Class<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
- listOf(T...) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a list containing the provided elements.
- LLMStreamingGenerator<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
LLMStreamingGenerator is a class that extends AsyncGenerator to handle streaming outputs for a given type T and state that extends AgentState.
- LLMStreamingGenerator.Builder<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
Builder class for constructing instances of LLMStreamingGenerator.
- loadImageAsBase64(InputStream) - Static method in class dev.langchain4j.image_to_diagram.ImageLoader
- loadImageAsBase64(String) - Static method in class dev.langchain4j.image_to_diagram.ImageLoader
- loadPromptTemplate(String) - Static method in interface dev.langchain4j.image_to_diagram.ImageToDiagram
- location() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Response
-
Returns the value of the
location
record component. - Location(String, String, String, Long, Long) - Constructor for record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Creates an instance of a
Location
record class. - log - Static variable in interface org.bsc.langgraph4j.studio.LangGraphStreamingServer
- log - Static variable in interface org.bsc.langgraph4j.utils.TryConsumer
- log() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
-
Returns the value of the
log
record component. - log() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
-
Returns the value of the
log
record component. - log() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Action
-
Returns the value of the
log
record component. - lon() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Returns the value of the
lon
record component.
M
- main(String[]) - Static method in class dev.langchain4j.adaptiverag.AdaptiveRag
- main(String[]) - Static method in class org.bsc.spring.SpringAiDemoApplication
- mapOf() - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates an empty map.
- mapOf(K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing a single key-value pair.
- mapOf(K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing two key-value pairs.
- mapOf(K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing three key-value pairs.
- mapOf(K, V, K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing three key-value pairs.
- mapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing three key-value pairs.
- mapper() - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- mapResult(Function<Response<T>, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Sets the mapping function for the builder.
- MemorySaver - Class in org.bsc.langgraph4j.checkpoint
- MemorySaver() - Constructor for class org.bsc.langgraph4j.checkpoint.MemorySaver
- 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
- 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
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.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
name
record component. - name() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Returns the value of the
name
record component. - 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
- nextNode(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- nextNodeId(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- node() - Method in class org.bsc.langgraph4j.NodeOutput
- 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
- 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
- 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
- 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.GraphBuilder
-
Deprecated.
- observation() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
-
Returns the value of the
observation
record component. - observation() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Step
-
Returns the value of the
observation
record component. - of(Object...) - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.
- of(String) - Static method in class dev.langchain4j.adaptiverag.ChromaStore
- of(String) - Static method in record class dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
- 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
- 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
- of(Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
- 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
- of(Reducer<T>, Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
- OK - Enum constant in enum class dev.langchain4j.image_to_diagram.ImageToDiagram.EvaluationResult
- 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.agentexecutor.serializer.jackson - package org.bsc.langgraph4j.agentexecutor.serializer.jackson
- org.bsc.langgraph4j.agentexecutor.serializer.std - package org.bsc.langgraph4j.agentexecutor.serializer.std
- org.bsc.langgraph4j.agentexecutor.state - package org.bsc.langgraph4j.agentexecutor.state
- org.bsc.langgraph4j.checkpoint - package org.bsc.langgraph4j.checkpoint
- org.bsc.langgraph4j.diagram - package org.bsc.langgraph4j.diagram
- org.bsc.langgraph4j.langchain4j.generators - package org.bsc.langgraph4j.langchain4j.generators
- 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.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.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.utils - package org.bsc.langgraph4j.utils
- org.bsc.spring - package org.bsc.spring
- org.bsc.spring.agentexecutor - package org.bsc.spring.agentexecutor
- org.bsc.spring.agentexecutor.function - package org.bsc.spring.agentexecutor.function
- org.bsc.spring.agentexecutor.serializer.std - package org.bsc.spring.agentexecutor.serializer.std
- Outcome(AgentExecutor.Action, AgentExecutor.Finish) - Constructor for record class org.bsc.spring.agentexecutor.AgentExecutor.Outcome
-
Creates an instance of a
Outcome
record class.
P
- parse(String) - Method in class dev.langchain4j.image_to_diagram.DiagramOutputParser
- 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. - 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
- PlantUMLAction() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction
- PlantUMLAction.Error - Exception in dev.langchain4j.image_to_diagram.actions.correction
- 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.
- 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
Q
- question() - Method in class dev.langchain4j.adaptiverag.AdaptiveRag.State
- QuestionRewriter - Class in dev.langchain4j.adaptiverag
- QuestionRewriter() - Constructor for class dev.langchain4j.adaptiverag.QuestionRewriter
- QuestionRouter - Class in dev.langchain4j.adaptiverag
-
Router for user queries to the most relevant datasource.
- QuestionRouter() - Constructor for class dev.langchain4j.adaptiverag.QuestionRouter
- QuestionRouter.Type - Enum Class in dev.langchain4j.adaptiverag
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.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.agentexecutor.serializer.jackson.JSONStateSerializer
-
Deserializes an AgentExecutor.State object from an input stream in JSON format.
- 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(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
- readExternal(ObjectInput) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.
- 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
- region() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Returns the value of the
region
record component. - register(Class<?>, Serializer<?>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- 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. - Request(String) - Constructor for record class org.bsc.spring.agentexecutor.function.WeatherFunction.Request
-
Creates an instance of a
Request
record class. - required() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
required
record component. - Response(WeatherFunction.Location, WeatherFunction.Current) - Constructor for record class org.bsc.spring.agentexecutor.function.WeatherFunction.Response
-
Creates an instance of a
Response
record class. - RetrievalGrader - Class in dev.langchain4j.adaptiverag
- RetrievalGrader() - Constructor for class dev.langchain4j.adaptiverag.RetrievalGrader
- RetrievalGrader.Arguments - Class in dev.langchain4j.adaptiverag
- RetrievalGrader.Score - Class in dev.langchain4j.adaptiverag
- returnValues() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
-
Returns the value of the
returnValues
record component. - returnValues() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Finish
-
Returns the value of the
returnValues
record component. - ReviewResult - Class in dev.langchain4j.image_to_diagram.actions.correction
- ReviewResult(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.ReviewResult
- RouteDiagramTranslation - Class in dev.langchain4j.image_to_diagram.actions
- RouteDiagramTranslation() - Constructor for class dev.langchain4j.image_to_diagram.actions.RouteDiagramTranslation
- RouteEvaluationResult - Class in dev.langchain4j.image_to_diagram.actions.correction
- RouteEvaluationResult() - Constructor for class dev.langchain4j.image_to_diagram.actions.correction.RouteEvaluationResult
- run(String...) - Method in class org.bsc.spring.DemoConsoleController
- RunnableConfig - Class in org.bsc.langgraph4j
- RunnableConfig.Builder - Class in org.bsc.langgraph4j
S
- 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
- 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
- sessionId() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns the value of the
sessionId
record component. - setConditionalEntryPoint(AsyncEdgeAction<State>, Map<String, String>) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.use addConditionalEdge(START, consition, mappings)
- setEntryPoint(String) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.use addEdge(START, nodeId)
- setFinishPoint(String) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.use use addEdge(nodeId, END)
- setMaxIterations(int) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Sets the maximum number of iterations for the graph execution.
- shape() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Participant
-
Returns the value of the
shape
record component. - size() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the size of the value list.
- size() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns the size of the list of values.
- 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. - specification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Adds a tool specification to the node
- specification(Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Adds all the methods annotated with
Tool
to the node - specification(ToolNode.Specification) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Adds a tool specification to the node
- Specification() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
- SpringAiDemoApplication - Class in org.bsc.spring
- SpringAiDemoApplication() - Constructor for class org.bsc.spring.SpringAiDemoApplication
- 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 - Static variable in class org.bsc.langgraph4j.StateGraph
- startingNode(String) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Sets the starting node for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.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
- 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.spring.agentexecutor.AgentExecutor.State
- stateFactory() - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- stateGraph(StateGraph<State>) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.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(StateSerializer<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified serializer.
- 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(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified state factory.
- 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.GraphBuilder
-
Sets the state serializer for the graph builder.
- stateSerializer(StateSerializer<AgentExecutor.State>) - Method in class org.bsc.spring.agentexecutor.AgentExecutor.GraphBuilder
- 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
- STD - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
- STDStateSerializer - Class in org.bsc.langgraph4j.agentexecutor.serializer.std
-
The STDStateSerializer class is responsible for serializing the state of the AgentExecutor.
- STDStateSerializer() - Constructor for class org.bsc.langgraph4j.agentexecutor.serializer.std.STDStateSerializer
-
Constructs a new instance of STDStateSerializer.
- Step(AgentExecutor.Action, String) - Constructor for record class org.bsc.spring.agentexecutor.AgentExecutor.Step
-
Creates an instance of a
Step
record class. - 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.
- StreamingOutput<State extends AgentState> - Class in org.bsc.langgraph4j.streaming
- StreamingOutput(String, String, State) - Constructor for class org.bsc.langgraph4j.streaming.StreamingOutput
- streamMode() - Method in class org.bsc.langgraph4j.RunnableConfig
- streamMode(CompiledGraph.StreamMode) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- 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
- SUBGRAPH_PREFIX - Static variable in class org.bsc.langgraph4j.diagram.MermaidGenerator
- 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.std.SystemMessageSerializer
T
- target() - Method in record class dev.langchain4j.image_to_diagram.state.Diagram.Relation
-
Returns the value of the
target
record component. - temp_f() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Current
-
Returns the value of the
temp_f
record component. - text() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Condition
-
Returns the value of the
text
record component. - 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 class org.bsc.langgraph4j.RunnableConfig
- 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
- 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.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
title
record component. - title(String) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the title for the server.
- titleToSnakeCase() - Method in class org.bsc.langgraph4j.DiagramGenerator.Context
- toolCall() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Action
-
Returns the value of the
toolCall
record component. - toolExecutionRequest() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
-
Returns the value of the
toolExecutionRequest
record component. - 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.std.ToolExecutionRequestSerializer
- 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.std.ToolExecutionResultMessageSerializer
- ToolNode - Class in org.bsc.langgraph4j.langchain4j.tool
-
A node in the graph that executes a tool
- ToolNode.Builder - Class in org.bsc.langgraph4j.langchain4j.tool
-
Builder for
ToolNode
- ToolNode.Specification - Class in org.bsc.langgraph4j.langchain4j.tool
- toolService - Variable in class org.bsc.spring.agentexecutor.AgentService
- ToolService - Class in org.bsc.spring.agentexecutor
- ToolService(ApplicationContext) - Constructor for class org.bsc.spring.agentexecutor.ToolService
- toolSpecification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
-
Sets the tool specification with executor for the graph builder.
- toolSpecification(Object) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
-
Sets the tool specification for the graph builder.
- toolSpecification(ToolNode.Specification) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
-
Sets the tool specification for the graph builder.
- toolSpecifications() - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Returns a list of
ToolSpecification
s that can be executed by this node - 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.agentexecutor.state.AgentAction
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.DiagramGenerator.Context
- toString() - Method in class org.bsc.langgraph4j.NodeOutput
- 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 class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns a string representation of the list of values.
- 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.spring.agentexecutor.AgentExecutor.Action
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Finish
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Outcome
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.AgentExecutor.Step
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.function.WeatherConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Condition
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Current
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Location
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Request
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Response
-
Returns a string representation of this record class.
- TranslateGenericDiagramToPlantUML - Class in dev.langchain4j.image_to_diagram.actions
- TranslateGenericDiagramToPlantUML(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.TranslateGenericDiagramToPlantUML
- TranslateSequenceDiagramToPlantUML - Class in dev.langchain4j.image_to_diagram.actions
- TranslateSequenceDiagramToPlantUML(OpenAiChatModel) - Constructor for class dev.langchain4j.image_to_diagram.actions.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.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
type
record component.
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
- update(String, Object, Object) - Method in class org.bsc.langgraph4j.state.AppenderChannel
- 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. - 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.std.UserMessageSerializer
V
- validate(String) - Static method in class dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction
- validateWithSingleLineError(String) - Static method in class dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction
- 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.
- 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.GraphRepresentation.Type
-
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.GraphRepresentation.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the list of values.
- values() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns an unmodifiable list of values.
- 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
W
- WeatherConfig - Record Class in org.bsc.spring.agentexecutor.function
- WeatherConfig(String, String) - Constructor for record class org.bsc.spring.agentexecutor.function.WeatherConfig
-
Creates an instance of a
WeatherConfig
record class. - WeatherFunction - Class in org.bsc.spring.agentexecutor.function
- WeatherFunction(WeatherConfig) - Constructor for class org.bsc.spring.agentexecutor.function.WeatherFunction
- WeatherFunction.Condition - Record Class in org.bsc.spring.agentexecutor.function
- WeatherFunction.Current - Record Class in org.bsc.spring.agentexecutor.function
- WeatherFunction.Location - Record Class in org.bsc.spring.agentexecutor.function
- WeatherFunction.Request - Record Class in org.bsc.spring.agentexecutor.function
- WeatherFunction.Response - Record Class in org.bsc.spring.agentexecutor.function
- weatherFunctionCallback() - Method in class org.bsc.spring.agentexecutor.function.FunctionsConfiguration
- web_search - Enum constant in enum class dev.langchain4j.adaptiverag.QuestionRouter.Type
- WebSearchTool - Class in dev.langchain4j.adaptiverag
- WebSearchTool() - Constructor for class dev.langchain4j.adaptiverag.WebSearchTool
- wind_mph() - Method in record class org.bsc.spring.agentexecutor.function.WeatherFunction.Current
-
Returns the value of the
wind_mph
record component. - withCheckPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig
- withDescription(String) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- withInputType(Class<I>) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- withInputTypeSchema(String) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- withName(String) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- withObjectMapper(ObjectMapper) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- withResponseConverter(Function<O, String>) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- withSchemaType(FunctionCallbackContext.SchemaType) - Method in class org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
- 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
- workflow() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
- workflow(StateSerializer<ImageToDiagram.State>) - Method in class dev.langchain4j.image_to_diagram.DiagramCorrectionProcess
- workflowWithCorrection() - Method in class dev.langchain4j.image_to_diagram.ImageToDiagramProcess
- 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(AgentExecutor.State, ObjectOutput) - Method in class org.bsc.langgraph4j.agentexecutor.serializer.jackson.JSONStateSerializer
-
Serializes the given AgentExecutor.State object to an output stream in JSON format.
- 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
- writeExternal(ObjectOutput) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.
- 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
Channel
instead