Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AiMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- AiMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageDeserializer
- AiMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- AiMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The AiMessageSerializer class implements the Serializer interface for the AiMessage type.
- AiMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageSerializer
- AiMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.AiMessageSerializer
B
- build() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Builds and returns an instance of LLMStreamingGenerator.
- build() - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Builds and returns an instance of LLMStreamingGenerator.
- build() - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
-
Builds the node
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Deprecated.Creates a new Builder instance for LLMStreamingGenerator.
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator
-
Creates a new Builder instance for LLMStreamingGenerator.
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Builder
C
- ChatMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ChatMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ChatMessageSerializer
- 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
D
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.GenericListDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
-
Deserializes a JSON representation of a ToolExecutionRequest.
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
E
- equals(Object) - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Indicates whether some other object is "equal to" this one.
- execute(ToolExecutionRequest) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
- execute(ToolExecutionRequest, Object) - 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
- execute(Collection<ToolExecutionRequest>, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.ToolNode
-
Executes the first matching tool
- executor() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Returns the value of the
executor
record component.
G
- GenericListDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- GenericListDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.GenericListDeserializer
H
- handler() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Deprecated.Returns the StreamingResponseHandler associated with this generator.
- handler() - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator
-
Returns the StreamingResponseHandler associated with this generator.
- hashCode() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Returns a hash code value for this object.
J
- JacksonMessagesStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- JacksonMessagesStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.JacksonMessagesStateSerializer
L
- LLMStreamingGenerator<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
Deprecated.
- LLMStreamingGenerator.Builder<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
Deprecated.Builder class for constructing instances of LLMStreamingGenerator.
M
- mapResult(Function<ChatResponse, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the mapping function for the builder.
- mapResult(Function<Response<T>, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the mapping function for the builder.
O
- of(ToolSpecification, ToolExecutor) - Static method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
- 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.jackson - package org.bsc.langgraph4j.langchain4j.serializer.jackson
- org.bsc.langgraph4j.langchain4j.serializer.std - package org.bsc.langgraph4j.langchain4j.serializer.std
- org.bsc.langgraph4j.langchain4j.tool - package org.bsc.langgraph4j.langchain4j.tool
Q
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the queue for the builder.
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the queue for the builder.
R
- read(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
- serialize(ToolExecutionRequest, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestSerializer
- serialize(AiMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageSerializer
- serialize(ChatMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ChatMessageSerializer
- serialize(SystemMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageSerializer
- serialize(UserMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageSerializer
- 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(ToolSpecification, ToolExecutor) - Constructor for record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Creates an instance of a
Specification
record class. - startingNode(String) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the starting node for the builder.
- startingNode(String) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the starting node for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the starting state for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the starting state for the builder.
- StreamingChatGenerator<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators
- StreamingChatGenerator.Builder<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators
-
Builder class for constructing instances of LLMStreamingGenerator.
- SystemMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- SystemMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- SystemMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- SystemMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The SystemMessageSerializer class implements the Serializer interface for the SystemMessage type.
- SystemMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageSerializer
- SystemMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.SystemMessageSerializer
T
- ToolExecutionRequestDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionRequestDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
- ToolExecutionRequestSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionRequestSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The ToolExecutionRequestSerializer class implements the Serializer interface for the ToolExecutionRequest type.
- ToolExecutionRequestSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestSerializer
- ToolExecutionRequestSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionRequestSerializer
- 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 - Record 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 - toString() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Returns a string representation of this record class.
U
- UserMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- UserMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- UserMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- UserMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The UserMessageSerializer class implements the NullableObjectSerializer interface for the UserMessage type.
- UserMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageSerializer
- UserMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.UserMessageSerializer
V
- value() - Method in record class org.bsc.langgraph4j.langchain4j.tool.ToolNode.Specification
-
Returns the value of the
value
record component.
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|Serialized Form
StreamingChatGenerator
instead