Package ai.vectros.types
Class ChatMessage
java.lang.Object
ai.vectros.types.ChatMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatMessage.RoleStagebuilder()booleangetRole()inthashCode()toString()
-
Method Details
-
getRole
- Returns:
- The role of this message.
systemis extracted and used as the system prompt;userandassistantare sent as conversation turns.
-
getContent
- Returns:
- The text content of the message.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-