Package dev.langchain4j.image_to_diagram
Class ImageToDiagramProcess
java.lang.Object
dev.langchain4j.image_to_diagram.ImageToDiagramProcess
- All Implemented Interfaces:
ImageToDiagram
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.langchain4j.image_to_diagram.ImageToDiagram
ImageToDiagram.EvaluationResult, ImageToDiagram.State
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>>
execute
(@NonNull ImageToDiagramProcess.ImageUrlOrData imageData) org.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>>
executeWithCorrection
(@NonNull ImageToDiagramProcess.ImageUrlOrData imageData) workflow()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.langchain4j.image_to_diagram.ImageToDiagram
getModel, getVisionModel
-
Constructor Details
-
ImageToDiagramProcess
public ImageToDiagramProcess()
-
-
Method Details
-
workflow
- Throws:
Exception
-
workflowWithCorrection
- Throws:
Exception
-
execute
public org.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>> execute(@NonNull @NonNull ImageToDiagramProcess.ImageUrlOrData imageData) throws Exception - Throws:
Exception
-
executeWithCorrection
public org.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>> executeWithCorrection(@NonNull @NonNull ImageToDiagramProcess.ImageUrlOrData imageData) throws Exception - Throws:
Exception
-