Auto-transcribe uploads, one-button generate all, accept-all tags - #24
Merged
Merged
Conversation
…ccept-all tags - Video and audio now queue their own transcription on upload when a Deepgram key is configured, mirroring the existing transcribe -> embed auto-chain instead of requiring a manual Transcribe click first. - New "Generate all" job/endpoint runs summarize, describe and autotag in turn over one asset. Summarize runs before describe so describe's own "don't repeat an existing summary" check has something to check against; autotag runs last so it can read both. - Description, Summary and Tags each get a small AI icon button beside their label instead of a full-width button below the field; "Generate all" sits at the top of the panel. EnrichmentButton gained an iconOnly mode shared by all of them. - SuggestionPanel no longer owns a trigger button (that moved beside the Tags label); it gained an "Accept all" control and now watches both autotag and generate_all jobs for the reload signal. - Raised the description/summary truncation limit from 2000 to 6000 characters and told each prompt the limit, so a reply that used to be cut off mid-sentence now either fits or the model stops itself in time. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019RTuL5VnMWCM6j7hDiw46X
davior
marked this pull request as ready for review
September 17, 2026 16:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses a batch of AI-enrichment feedback:
ingest_uploadchains a transcribe job the same way transcription already chains into embedding — guarded on a Deepgram key actually being configured, so an unconfigured library gets no spurious activity rows.generate_alljob kind runs summarize → describe → autotag serially over one asset (backend/app/enrichment/generate_all.py), with its own endpoint (POST /api/assets/{id}/generate-all). Order is summarize-then-describe (not the UI order) becausedescribe's prompt already knows to skip repeating an existing summary — running summarize first is what gives that check something to check against. Autotag runs last so it can read both.EnrichmentButtongained aniconOnlymode;TagInputgained alabelAdornmentslot. "Generate all" sits at the top of the panel.SuggestionPanelno longer owns its own trigger (that moved to the icon button beside Tags) and now offers one click to accept every pending tag/title suggestion, watching bothautotagandgenerate_alljobs for the reload signal.Test plan
cd backend && pytest -q— 754 passed, same 6 pre-existing failures (missingffmpegon PATH / an unrelated httpx typing issue) confirmed viagit stashbaseline, no new failures.cd frontend && npm test && npm run build— 256 passed, typecheck + build clean.npm run lint/prettier --checkclean on changed files.🤖 Generated with Claude Code
https://claude.ai/code/session_019RTuL5VnMWCM6j7hDiw46X
Generated by Claude Code