sentiment.ConversationBucketer

Groups transcript messages into per-session, time-aligned buckets worth scoring.

Usage

Source

sentiment.ConversationBucketer()

Sessions below MIN_USER_TURNS_PER_SESSION and windows lacking a substantive user turn or any assistant turn are dropped.