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