Updated readme

This commit is contained in:
Amith Koujalgi 2023-12-17 15:07:49 +05:30
parent ab89dfcefe
commit b64bb0163f

View File

@ -351,7 +351,7 @@ public class Main {
OllamaAPI ollamaAPI = new OllamaAPI(host); OllamaAPI ollamaAPI = new OllamaAPI(host);
ollamaAPI.setRequestTimeoutSeconds(10); ollamaAPI.setRequestTimeoutSeconds(10);
OllamaResult response = ollamaAPI.askWithImageURLs(OllamaModelType.LLAVA, OllamaResult response = ollamaAPI.askWithImageFiles(OllamaModelType.LLAVA,
"What's in this image?", "What's in this image?",
List.of( List.of(
"/path/to/image")); "/path/to/image"));