Uses of Class
dev.langchain4j.invocation.InvocationContext.Builder
Packages that use InvocationContext.Builder
-
Uses of InvocationContext.Builder in dev.langchain4j.invocation
Methods in dev.langchain4j.invocation that return InvocationContext.BuilderModifier and TypeMethodDescriptionstatic InvocationContext.Builder
InvocationContext.builder()
Creates a new instance of theBuilder
class for constructing instances ofDefaultInvocationContext
.InvocationContext.Builder.chatMemoryId
(Object memoryId) Sets the memory identifier for the builder.InvocationContext.Builder.interfaceName
(String interfaceName) Sets the name of the interface associated with the builder.InvocationContext.Builder.invocationId
(UUID invocationId) Sets the invocation ID.InvocationContext.Builder.invocationParameters
(InvocationParameters invocationParameters) Sets the invocation parameters for the builder.InvocationContext.Builder.methodArgument
(Object methodArgument) Adds a single method argument to the builder's list of method arguments.InvocationContext.Builder.methodArguments
(List<Object> methodArguments) Sets the method arguments for the builder.InvocationContext.Builder.methodName
(String methodName) Sets the name of the method associated with the builder.Sets the timestamp for the builder.InvocationContext.Builder.timestampNow()
Updates the builder's timestamp to the current system time.default InvocationContext.Builder
InvocationContext.toBuilder()
Converts the current instance ofDefaultInvocationContext
into aInvocationContext.Builder
, pre-populated with the current values of the instance.Constructors in dev.langchain4j.invocation with parameters of type InvocationContext.Builder