Uses of Record Class
dev.langchain4j.image_to_diagram.ImageToDiagramProcess.ImageUrlOrData
-
Uses of ImageToDiagramProcess.ImageUrlOrData in dev.langchain4j.image_to_diagram
Modifier and TypeMethodDescriptionCreates a new instance of theImageUrlOrData
class with the provided data.Creates an instance ofImageUrlOrData
from a given URL.Modifier and TypeMethodDescriptionImageToDiagram.State.imageData()
Retrieves the image data as anImageToDiagramProcess.ImageUrlOrData
.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.