From 621d360c223b55e403c848caa6939fc3ec60439e Mon Sep 17 00:00:00 2001 From: Thomas Vitale Date: Wed, 2 Oct 2024 21:54:51 +0200 Subject: [PATCH] docs: Update README.md --- 01-chat-models/chat-models-mistral-ai/README.md | 4 ++-- README.md | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/01-chat-models/chat-models-mistral-ai/README.md b/01-chat-models/chat-models-mistral-ai/README.md index f0ef70d..9f72afd 100644 --- a/01-chat-models/chat-models-mistral-ai/README.md +++ b/01-chat-models/chat-models-mistral-ai/README.md @@ -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(); } diff --git a/README.md b/README.md index 347a7ad..ad035c2 100644 --- a/README.md +++ b/README.md @@ -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