diff --git a/src/gradient_labs/conversation.py b/src/gradient_labs/conversation.py index d6193a0..fb6c057 100644 --- a/src/gradient_labs/conversation.py +++ b/src/gradient_labs/conversation.py @@ -158,16 +158,31 @@ class ConversationHandOffEvent: """ Details of the conversation the event relates to. """ - - # reason_code is the code that describes why the agent wants to hand off this - # conversation. reason_code: str - - # Reason is a human-legible description of the Reason code. + """ + reason_code is the code that describes why the agent wants to hand off this + conversation. + """ + reason: str + """ + reason is a human-legible description of the Reason code. + """ + + note: Optional[str] = None + """ + Note is a human-legible summary of the conversation so far, for a smooth hand-off. + """ + + intent: Optional[str] = None + """ + Intent is the most recent intent that was classified from the customer's conversation, if any. + """ - # Target defines where the agent wants to hand this conversation to. target: Optional[str] = None + """ + Target defines where the agent wants to hand this conversation to. + """ @dataclass_json