Package com.chatmotorapi.api
Interface MotorMessage
- All Known Implementing Classes:
MotorContentPartImage
,MotorContentPartText
,MotorSystemMessage
,MotorUserMessage
public interface MotorMessage
Represents a generic message structure for interactions within the ChatMotor
system. This interface serves as a base for defining various types of
messages that can be sent to or processed by the ChatMotor.
Implementations of this interface should define specific message types and
details that are appropriate for different communication scenarios within the
ChatMotor system. Examples might include text messages, command messages, or
any other structured data that needs to be conveyed within a motor request.
-
Method Summary
Modifier and Type Method Description String
getContent()
Retrieves the system prompt text or user prompt text held by this message.
-
Method Details
-
getContent
String getContent()Retrieves the system prompt text or user prompt text held by this message.- Returns:
- The system prompt text or user prompt text held by this message.
-