diff --git a/docs/docs/apis-generate/prompt-builder.md b/docs/docs/apis-generate/prompt-builder.md index 7950e0e..a798808 100644 --- a/docs/docs/apis-generate/prompt-builder.md +++ b/docs/docs/apis-generate/prompt-builder.md @@ -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()); } }