Skip to content

Skip empty transcript summarization using dedicated flag#847

Open
dembrane-sam-bot wants to merge 2 commits into
mainfrom
sam/skip-empty-summarization-v2
Open

Skip empty transcript summarization using dedicated flag#847
dembrane-sam-bot wants to merge 2 commits into
mainfrom
sam/skip-empty-summarization-v2

Conversation

@dembrane-sam-bot

Copy link
Copy Markdown
Contributor

Instead of writing summary='empty' which has unintended UI consequences (such as showing 'empty' as the literal summary text to users), this PR introduces a dedicated has_empty_transcript boolean field on the conversation model.

When a finished conversation has an empty transcript, we flag has_empty_transcript = True in the DB and return early. The catch-up scheduler then excludes any conversations where has_empty_transcript == True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant