From 093e236ac4db65d71293bb7d990b65d6ee487768 Mon Sep 17 00:00:00 2001 From: jongin Date: Mon, 31 Mar 2025 18:12:09 +0900 Subject: [PATCH] fix ChatModel docs Fixed deprecated getContent() to getText() in ChatModel documentation. Signed-off-by: jongin --- .../src/main/antora/modules/ROOT/pages/api/chatmodel.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatmodel.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatmodel.adoc index 3fc8e65e04b..ab297c8e336 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatmodel.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatmodel.adoc @@ -85,7 +85,7 @@ The interface is defined as follows: ```java public interface Content { - String getContent(); + String getText(); Map getMetadata(); }