Uses of Class
dev.langchain4j.image_to_diagram.ImageToDiagram.State
Packages that use ImageToDiagram.State
Package
Description
-
Uses of ImageToDiagram.State in dev.langchain4j.image_to_diagram
Methods in dev.langchain4j.image_to_diagram that return types with arguments of type ImageToDiagram.StateModifier and TypeMethodDescriptionorg.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>>
ImageToDiagramProcess.execute
(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
(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.Method parameters in dev.langchain4j.image_to_diagram with type arguments of type ImageToDiagram.StateModifier 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
Methods in dev.langchain4j.image_to_diagram.actions with parameters of type ImageToDiagram.StateModifier 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
Methods in dev.langchain4j.image_to_diagram.actions.correction with parameters of type ImageToDiagram.StateModifier 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.