Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionuse
InterruptibleActioninsteadUseToolResponseBuilder.buildAndReturn(Object)instead. This method will be removed in a future version.this method does nothingthis method do nothing because currently this saver don't use cache anymorethis method do nothing because currently this saver don't use cache anymorethis method do nothing because currently this saver don't use cache anymoreuseCompiledGraph.invoke(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.invoke(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.stream(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.stream(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.streamSnapshots(GraphInput, RunnableConfig)instead to have more control over the execution configuration and to prepare for future changes that may require a config parameter.This method is deprecated and may be removed in future versions.useaddNode( String, CompiledGraph<State> )insteaduseadd( String id, StateGraph<State> )insteaduseStreamingOutput.isStreamingEnd()instead
-
Deprecated Interfaces
-
Deprecated Record ClassesRecord ClassDescriptionuse
Map.Entry<dev.langchain4j.agent.tool.ToolSpecification,insteaddev.langchain4j.service.tool.ToolExecutor>
-
Deprecated MethodsMethodDescriptionUse
ToolResponseBuilder.buildAndReturn(Object)instead. This method will be removed in a future version.this method does nothingthis method do nothing because currently this saver don't use cache anymorethis method do nothing because currently this saver don't use cache anymorethis method do nothing because currently this saver don't use cache anymoreuseCompiledGraph.invoke(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.invoke(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.stream(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.stream(GraphInput, RunnableConfig)instead to have more control over the execution configuration.useCompiledGraph.streamSnapshots(GraphInput, RunnableConfig)instead to have more control over the execution configuration and to prepare for future changes that may require a config parameter.Please useGraphRepresentation.content()instead. This method is no longer maintained and may be removed in future versions.Please useGraphRepresentation.type()instead. This method is no longer maintained and may be removed in future versions.UseBaseReactAgentBuilder.chatModel(ChatModel)and configure streaming options withBaseReactAgentBuilder.streaming(boolean).UseBaseReactAgentBuilder.chatModel(ChatModel)and configure streaming options withBaseReactAgentBuilder.streaming(boolean)andBaseReactAgentBuilder.emitStreamingEnd(boolean).This method is deprecated and may be removed in future versions.useaddNode( String, CompiledGraph<State> )insteaduseadd( String id, StateGraph<State> )insteaduseStreamingOutput.isStreamingEnd()instead