Class RouteDiagramTranslation
java.lang.Object
dev.langchain4j.image_to_diagram.actions.RouteDiagramTranslation
- All Implemented Interfaces:
Function<ImageToDiagram.State,
,CompletableFuture<String>> AsyncEdgeAction<ImageToDiagram.State>
public class RouteDiagramTranslation
extends Object
implements AsyncEdgeAction<ImageToDiagram.State>
-
Constructor Details
-
RouteDiagramTranslation
public RouteDiagramTranslation()
-
-
Method Details
-
apply
Description copied from interface:AsyncEdgeAction
Applies this action to the given agent state.- Specified by:
apply
in interfaceAsyncEdgeAction<ImageToDiagram.State>
- Specified by:
apply
in interfaceFunction<ImageToDiagram.State,
CompletableFuture<String>> - Parameters:
state
- the agent state- Returns:
- a CompletableFuture representing the result of the action
-