Package dev.langchain4j.image_to_diagram
Interface ImageToDiagram
- All Known Implementing Classes:
DiagramCorrectionProcess
,ImageToDiagramProcess
public interface ImageToDiagram
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static class
-
Method Summary
Modifier and TypeMethodDescriptionorg.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>>
dev.langchain4j.model.openai.OpenAiChatModel
getLLM()
default dev.langchain4j.model.input.PromptTemplate
loadPromptTemplate
(String resourceName)
-
Method Details
-
getLLM
dev.langchain4j.model.openai.OpenAiChatModel getLLM() -
loadPromptTemplate
default dev.langchain4j.model.input.PromptTemplate loadPromptTemplate(String resourceName) throws Exception - Throws:
Exception
-
execute
org.bsc.async.AsyncGenerator<NodeOutput<ImageToDiagram.State>> execute(Map<String, Object> inputs) throws Exception- Throws:
Exception
-