-
public final class ConversationEvent.AgentResponseCorrection extends ConversationEvent
Event representing a correction to the agent's response after interruption
-
-
Field Summary
Fields Modifier and Type Field Description private final StringoriginalAgentResponseprivate final StringcorrectedAgentResponseprivate final IntegereventId
-
Constructor Summary
Constructors Constructor Description ConversationEvent.AgentResponseCorrection(String originalAgentResponse, String correctedAgentResponse, Integer eventId)
-
Method Summary
Modifier and Type Method Description final StringgetOriginalAgentResponse()final StringgetCorrectedAgentResponse()final IntegergetEventId()-
-
Constructor Detail
-
ConversationEvent.AgentResponseCorrection
ConversationEvent.AgentResponseCorrection(String originalAgentResponse, String correctedAgentResponse, Integer eventId)
- Parameters:
originalAgentResponse- The original agent response textcorrectedAgentResponse- The corrected agent response texteventId- Server event id used to correlate this message in the transcript
-
-
Method Detail
-
getOriginalAgentResponse
final String getOriginalAgentResponse()
-
getCorrectedAgentResponse
final String getCorrectedAgentResponse()
-
getEventId
final Integer getEventId()
-
-
-
-