File tree 1 file changed +2
-3
lines changed
samples/image-to-diagram/src/main/java/dev/langchain4j/image_to_diagram/actions
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 18
18
* It implements the AsyncNodeAction interface, which allows for asynchronous processing
19
19
* of a State object into a Map. The class leverages the OpenAiChatModel for its operations.
20
20
*/
21
-
22
21
@ Slf4j
23
22
public class EvaluateResult implements AsyncNodeAction <ImageToDiagram .State > {
24
23
@@ -36,11 +35,11 @@ public EvaluateResult(OpenAiChatModel model) {
36
35
37
36
/**
38
37
* Overrides the apply method from AsyncNodeAction, which takes an ImageToDiagram.State object
39
- * and processes it asynchronously using a DiagramCorrectionProcess. The method returns a CompletableFuture<Map<String, Object>>
38
+ * and processes it asynchronously using a DiagramCorrectionProcess. The method returns a {@code CompletableFuture<Map<String, Object>>}
40
39
* that represents the result of the asynchronous processing.
41
40
*
42
41
* @param state The ImageToDiagram.State object containing the data to be processed.
43
- * @return A CompletableFuture<Map<String, Object>> representing the outcome of the asynchronous operation.
42
+ * @return A {@code CompletableFuture<Map<String, Object>>} representing the outcome of the asynchronous operation.
44
43
*/
45
44
@ Override
46
45
public CompletableFuture <Map <String , Object >> apply (ImageToDiagram .State state ) {
You can’t perform that action at this time.
0 commit comments