Class OutputMessage

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

@JsonClassDescription("Output message") public class OutputMessage extends Object
  • Method Details

    • getRole

      @JsonPropertyDescription("Role of response") 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()
    • getFinishReason

      @JsonPropertyDescription("Reason for finishing the generation") public String getFinishReason()
    • create

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

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