Class InputMessage

java.lang.Object
io.agentscope.core.tracing.telemetry.model.InputMessage

@JsonClassDescription("Input message") public class InputMessage extends Object
Represents an input message sent to the model.
  • Method Details

    • getRole

      @JsonPropertyDescription("Role of the entity that created the message") public String getRole()
    • getParts

      @JsonPropertyDescription("List of message parts that make up the message content") public List<MessagePart> getParts()
    • getName

      @JsonPropertyDescription("The name of the participant") public String getName()
    • create

      public static InputMessage create(String role, List<MessagePart> parts, String name)
    • create

      public static InputMessage create(Role role, List<MessagePart> parts, String name)