Class AgentExchangeTimelineResponse

java.lang.Object
com.flowable.platform.service.agent.AgentExchangeTimelineResponse

public class AgentExchangeTimelineResponse extends Object
Response object representing a single exchange within an agent invocation. An exchange represents a message or interaction between the user, assistant, tool, or chat model.
Author:
Filip Hrisafov
  • Field Details

  • Constructor Details

    • AgentExchangeTimelineResponse

      public AgentExchangeTimelineResponse()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getStartTime

      public Instant getStartTime()
    • setStartTime

      public void setStartTime(Instant startTime)
    • getEndTime

      public Instant getEndTime()
    • setEndTime

      public void setEndTime(Instant endTime)
    • getDuration

      public Duration getDuration()
    • setDuration

      public void setDuration(Duration duration)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getSubType

      public String getSubType()
    • setSubType

      public void setSubType(String subType)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • getPromptTokenCount

      public Integer getPromptTokenCount()
    • setPromptTokenCount

      public void setPromptTokenCount(Integer promptTokenCount)
    • getOutputTokenCount

      public Integer getOutputTokenCount()
    • setOutputTokenCount

      public void setOutputTokenCount(Integer outputTokenCount)
    • getTransactionOrder

      public Integer getTransactionOrder()
    • setTransactionOrder

      public void setTransactionOrder(Integer transactionOrder)
    • getParts

    • setParts

      public void setParts(List<AgentExchangePartTimelineResponse> parts)