Package de.espirit.firstspirit.ai.dto
Interface MessagePartText
- All Superinterfaces:
MessagePart
Message content type representing a textual content.
- Since:
- 5.2.240708
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull MessagePartText
Creates a newMessagePartText
.@NotNull String
getText()
The textual content of this message part.
-
Method Details
-
create
Creates a newMessagePartText
.- Parameters:
text
- The textual content.- Returns:
- The new instance.
- Since:
- 5.2.240708
-
getText
The textual content of this message part.- Returns:
- The textual content.
- Since:
- 5.2.240708
-