Class EvaluateResult
java.lang.Object
dev.langchain4j.image_to_diagram.actions.EvaluateResult
- All Implemented Interfaces:
Function<ImageToDiagram.State,
,CompletableFuture<Map<String, Object>>> AsyncNodeAction<ImageToDiagram.State>
-
Constructor Details
-
EvaluateResult
public EvaluateResult(dev.langchain4j.model.openai.OpenAiChatModel model)
-
-
Method Details
-
apply
Description copied from interface:AsyncNodeAction
Applies this action to the given agent state.- Specified by:
apply
in interfaceAsyncNodeAction<ImageToDiagram.State>
- Specified by:
apply
in interfaceFunction<ImageToDiagram.State,
CompletableFuture<Map<String, Object>>> - Parameters:
state
- the agent state- Returns:
- a CompletableFuture representing the result of the action
-