diff --git a/src/main/java/io/github/amithkoujalgi/ollama4j/core/OllamaAPI.java b/src/main/java/io/github/amithkoujalgi/ollama4j/core/OllamaAPI.java index 83727f2..066460f 100644 --- a/src/main/java/io/github/amithkoujalgi/ollama4j/core/OllamaAPI.java +++ b/src/main/java/io/github/amithkoujalgi/ollama4j/core/OllamaAPI.java @@ -257,7 +257,7 @@ public class OllamaAPI { * @param imageFiles the list of image files to use for the question * @return OllamaResult - that includes response text and time taken for response */ - public OllamaResult askWithImages(String model, String promptText, List imageFiles) + public OllamaResult askWithImageFiles(String model, String promptText, List imageFiles) throws OllamaBaseException, IOException, InterruptedException { List images = new ArrayList<>(); for (File imageFile : imageFiles) {