demo: add video voice semantic search smoke#750
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing: superseded by PR #751 (video visual extraction). Voice-based audio path remains available via existing audio_extract_text if needed later. |
Summary
Adds a minimal Drive9-native video voice semantic-search demo:
scripts/verify_local_video_voice_search_demo.pyfor local stub and provider smoke testsscripts/drive9-server-local-env.shThis PR is intentionally a draft and should not be merged until qiffang reviews the direction. It proves voice-in-video search through the existing
audio_extract_text -> files.content_text -> grep/FTS/vectorpath, not visual scene retrieval or timestamped segment search.Validation
python3 -m py_compile scripts/verify_local_video_voice_search_demo.py scripts/verify_local_video_voice_search_demo_test.py scripts/verify_local_audio_extract.pypython3 -m unittest scripts/verify_local_video_voice_search_demo_test.pybash -n scripts/drive9-server-local-env.shpython3 scripts/verify_local_video_voice_search_demo.py --helpgit diff --cached --checkgo test ./cmd/drive9-server -run Audio -count=1go test ./cmd/drive9-server-local -run Audio -count=1Notes
I did not run the live
drive9-server-localstub demo because it requires local TiDB/server runtime setup. The script is wired to use the existing local audio verifier helpers once that runtime is started.