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>

public class EvaluateResult extends Object implements AsyncNodeAction<ImageToDiagram.State>
The EvaluateResult class is designed to evaluate and process results asynchronously, specifically targeting the conversion of image data to diagram data using an AI chat model. It implements the AsyncNodeAction interface, which allows for asynchronous processing of a State object into a Map. The class leverages the OpenAiChatModel for its operations.