Index
All Classes and Interfaces|All Packages
A
- 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
B
- 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
- 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() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
C
- 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
E
- execute(ToolExecutionRequest, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
- 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(Collection<ToolExecutionRequest>) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
H
- handler() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Returns the StreamingResponseHandler associated with this generator.
L
- 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.
M
- mapResult(Function<Response<T>, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Sets the mapping function for the builder.
O
- of(Object...) - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.
- of(Collection<Object>) - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Deprecated.
- 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
Q
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Sets the queue for the builder.
R
- 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.
S
- 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
- 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.
- 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
- 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
- toolSpecifications() - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Returns a list of
ToolSpecification
s that can be executed by this node
U
- 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
W
- 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.
All Classes and Interfaces|All Packages
ToolNode.builder()