@Preview(value="3.1") public class SystemMessage extends ChatMessageBase<SystemMessage>
metadata
构造器和说明 |
---|
SystemMessage() |
SystemMessage(java.lang.String content) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getContent()
内容
|
ChatRole |
getRole()
角色
|
java.lang.String |
toString() |
addMetadata, addMetadata, getMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
augment, fromJson, isThinking, ofAssistant, ofSystem, ofTool, ofUser, ofUser, ofUser, ofUser, template, toJson
public SystemMessage()
public SystemMessage(java.lang.String content)
public ChatRole getRole()
public java.lang.String getContent()
ChatMessage
public java.lang.String toString()
toString
在类中 java.lang.Object