Uses of Class
dev.langchain4j.image_to_diagram.ImageToDiagram.State
Package
Description
-
Uses of ImageToDiagram.State in dev.langchain4j.image_to_diagram
Modifier and TypeMethodDescriptionorg.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>>
ImageToDiagramProcess.execute
(@NonNull ImageToDiagramProcess.ImageUrlOrData imageData) Executes the workflow using the provided image data and returns a stream of NodeOutput objects.org.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>>
ImageToDiagramProcess.executeWithCorrection
(@NonNull ImageToDiagramProcess.ImageUrlOrData imageData) Executes the workflow with correction for the given image data.DiagramCorrectionProcess.workflow()
Executes the workflow for diagram correction using the default JSONStateSerializer.DiagramCorrectionProcess.workflow
(StateSerializer<ImageToDiagram.State> stateSerializer) Executes the workflow for diagram correction using a specified state serializer.ImageToDiagramProcess.workflow()
Generates a workflow graph using the StateGraph framework with specific nodes and conditional edges.ImageToDiagramProcess.workflowWithCorrection()
This method orchestrates a workflow for processing diagrams.Modifier and TypeMethodDescriptionDiagramCorrectionProcess.workflow
(StateSerializer<ImageToDiagram.State> stateSerializer) Executes the workflow for diagram correction using a specified state serializer. -
Uses of ImageToDiagram.State in dev.langchain4j.image_to_diagram.actions
Modifier and TypeMethodDescriptionDescribeDiagramImage.apply
(ImageToDiagram.State state) Applies the provided image to create a diagram.EvaluateResult.apply
(ImageToDiagram.State state) Converts an ImageToDiagram state to a diagram using theDiagramCorrectionProcess
.RouteDiagramTranslation.apply
(ImageToDiagram.State state) Applies the transformation to convert anImageToDiagram.State
to a diagram type.TranslateGenericDiagramToPlantUML.apply
(ImageToDiagram.State state) Applies the translation logic to the given ImageToDiagram.State object.TranslateSequenceDiagramToPlantUML.apply
(ImageToDiagram.State state) Converts a sequence diagram from an image to PlantUML code. -
Uses of ImageToDiagram.State in dev.langchain4j.image_to_diagram.actions.correction
Modifier and TypeMethodDescriptionEvaluateResult.apply
(ImageToDiagram.State state) Applies the async action to the given state, evaluating the diagram code.EventuallyPerformCorrection.apply
(ImageToDiagram.State t, RunnableConfig config) Converts an image to a diagram asynchronously.ReviewResult.apply
(ImageToDiagram.State state) Asynchronously applies the logic to a given ImageToDiagram.State object.RouteEvaluationResult.apply
(ImageToDiagram.State state) Determines the evaluation result based on the current state of the image-to-diagram conversion process.