Skip to content

Commit

Permalink
docs: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVitale committed Oct 2, 2024
1 parent 2ac27e9 commit 621d360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions 01-chat-models/chat-models-mistral-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class ChatController {

@GetMapping("/chat")
String chat(@RequestParam(defaultValue = "What did Gandalf say to the Balrog?") String question) {
return chatClient.prompt()
.user(question)
return chatClient
.prompt(question)
.call()
.content();
}
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Samples showing how to build Java applications powered by Generative AI and Larg

* Java 23
* Docker/Podman
* [Mistral AI](https://console.mistral.ai) API Key (optional)
* [OpenAI](https://platform.openai.com) API Key (optional)
* [Ollama](https://ollama.ai) (optional)

## Content

Expand Down

0 comments on commit 621d360

Please sign in to comment.