Skip to content

Commit 1795d85

Browse files
authored
fix ChatModel docs (#2605)
Fixed deprecated getContent() to getText() in ChatModel documentation. Signed-off-by: jongin <jonginwon1203@gmail.com>
1 parent 457a106 commit 1795d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatmodel.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The interface is defined as follows:
8585
```java
8686
public interface Content {
8787

88-
String getContent();
88+
String getText();
8989

9090
Map<String, Object> getMetadata();
9191
}

0 commit comments

Comments
 (0)