Skip to content

Commit 90dea65

Browse files
committedDec 29, 2024
docs(EvaluateResult.java): improve javadoc
1 parent 490a69d commit 90dea65

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
 

‎samples/image-to-diagram/src/main/java/dev/langchain4j/image_to_diagram/actions/EvaluateResult.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
* It implements the AsyncNodeAction interface, which allows for asynchronous processing
1919
* of a State object into a Map. The class leverages the OpenAiChatModel for its operations.
2020
*/
21-
2221
@Slf4j
2322
public class EvaluateResult implements AsyncNodeAction<ImageToDiagram.State> {
2423

@@ -36,11 +35,11 @@ public EvaluateResult(OpenAiChatModel model) {
3635

3736
/**
3837
* 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>>}
4039
* that represents the result of the asynchronous processing.
4140
*
4241
* @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.
4443
*/
4544
@Override
4645
public CompletableFuture<Map<String, Object>> apply(ImageToDiagram.State state) {

0 commit comments

Comments
 (0)
Please sign in to comment.