From 1795d85fb3bac4cdf8fa3f633b52766999aac285 Mon Sep 17 00:00:00 2001 From: JongIn Won Date: Mon, 31 Mar 2025 19:38:05 +0900 Subject: [PATCH] fix ChatModel docs (#2605) 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 3fc8e65e0..ab297c8e3 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(); }