forked from Mirror/ollama4j
Merge pull request #33 from anjeongkyun/fix/prompt-builder-docs
This commit is contained in:
commit
32169ded18
@ -42,7 +42,7 @@ public class AskPhi {
|
||||
.addSeparator()
|
||||
.add("How do I read a file in Go and print its contents to stdout?");
|
||||
|
||||
OllamaResult response = ollamaAPI.generate(model, promptBuilder.build());
|
||||
OllamaResult response = ollamaAPI.generate(model, promptBuilder.build(), new OptionsBuilder().build());
|
||||
System.out.println(response.getResponse());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user