We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec78f8 commit 9381ab6Copy full SHA for 9381ab6
spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/openai.adoc
@@ -63,7 +63,7 @@ public class ChatController {
63
64
@GetMapping("/open-ai/generate")
65
public Map generate(@RequestParam(value = "message", defaultValue = "Tell me a joke") String message) {
66
- return Map.of("generation", chatClient.generate(message));
+ return Map.of("generation", chatClient.call(message));
67
}
68
69
@GetMapping("/open-ai/generateStream")
0 commit comments