Package com.basis.api.admin
Class BBjAdminAIChatMessage
java.lang.Object
com.basis.api.admin.BBjAdminAIChatMessage
- All Implemented Interfaces:
Serializable
Represents a single message in a multi-turn conversation used with
BBjAdminAIPromptRequest.
Use the static factory methods to create messages:
BBjAdminAIChatMessage msg = BBjAdminAIChatMessage.user("What tables are in the database?");
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BBjAdminAIChatMessageCreates an assistant-role message.The text content of this message.getRole()The role of this message.static BBjAdminAIChatMessageCreates a system-role message.toString()static BBjAdminAIChatMessageCreates a user-role message.
-
Field Details
-
ROLE_SYSTEM
A system-level instruction message.- See Also:
-
ROLE_USER
A message from the human user.- See Also:
-
ROLE_ASSISTANT
A reply generated by the AI assistant.- See Also:
-
-
Method Details