Skip to content

Commit

Permalink
Update to latest snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVitale committed Dec 19, 2024
1 parent 2015067 commit 31c8a7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ String chatGenericOptions(String question) {
@GetMapping("/chat/provider-options")
String chatProviderOptions(String question) {
return chatModel.call(new Prompt(question, OllamaOptions.builder()
.withRepeatPenalty(1.5)
.repeatPenalty(1.5)
.build()))
.getResult().getOutput().getText();
}
Expand Down

0 comments on commit 31c8a7e

Please sign in to comment.