Package dev.langchain4j.image_to_diagram
Class DiagramCorrectionProcess
java.lang.Object
dev.langchain4j.image_to_diagram.DiagramCorrectionProcess
- 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 TypeMethodDescriptionworkflow()
workflow
(StateSerializer<ImageToDiagram.State> stateSerializer) 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
-
DiagramCorrectionProcess
public DiagramCorrectionProcess()
-
-
Method Details
-
workflow
- Throws:
Exception
-
workflow
public StateGraph<ImageToDiagram.State> workflow(StateSerializer<ImageToDiagram.State> stateSerializer) throws Exception - Throws:
Exception
-