Class Message

  • All Implemented Interfaces:

    @Serializable() 
    public final class Message
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String role
      private final String content
      private final String format
      private final String turnId
    • Constructor Summary

      Constructors 
      Constructor Description
      Message(String role, String content, String format, String turnId)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getRole()
      final String getContent()
      final String getFormat()
      final String getTurnId()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Message

        Message(String role, String content, String format, String turnId)