video-accessibility/backend/app/services
Vadym Samoilenko 6bf88474ee feat(embed): switch embeddings to Vertex AI text-multilingual-embedding-002
Replace AI Studio gemini-embedding-001 with Vertex AI text-multilingual-embedding-002
via google-genai SDK (vertexai=True). Vertex AI uses ADC (already configured) and
has significantly higher per-project quotas than AI Studio per-user limits.
Same 768-dim output; multilingual model better suited for 50+ language glossaries.
Add gcp_location config field (default us-central1).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 18:41:32 +01:00
..
audit_logger.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
caption_aligner.py fix(pipeline): fix 5 QA tickets — caption alignment, glossary, source_has_ad render, filler words, NL error surfacing 2026-05-08 18:36:59 +01:00
cloud_run_dispatch.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
cost_tracker.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
descriptive_transcript.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
elevenlabs_voices.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
emailer.py test: fix all unit tests — 168 passing, 0 failures 2026-04-30 14:02:04 +01:00
embedding_service.py feat(embed): switch embeddings to Vertex AI text-multilingual-embedding-002 2026-05-13 18:41:32 +01:00
ffmpeg_http_service.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
gcs.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
gemini.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
gemini_tts.py refactor(tts): switch Gemini TTS from AI Studio API to Cloud TTS API 2026-05-08 17:16:32 +01:00
glossary_service.py fix(glossary,vtt): 4 bugs — locale fallback, ingestion source, cue settings, overlap on save 2026-05-13 16:58:13 +01:00
language_qc.py fix(qc): dispatch TTS+render for source-only jobs when accessible_video_mp4 is requested 2026-05-08 16:58:39 +01:00
membership_service.py fix(membership): correct \$unwind option preserveNullAndEmpty → preserveNullAndEmptyArrays 2026-05-01 18:58:07 +01:00
microsoft_auth.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
secrets_manager.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
tts.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
validation.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
video_renderer.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
vtt_retimer.py fix: use actual freeze segment durations for VTT subtitle retiming 2026-01-05 15:52:57 -06:00
vtt_versioning.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
websocket.py fix(authz): MT-3/6/7/8 org isolation + P1 English-first QC enforcement 2026-05-01 11:43:10 +01:00
websocket_publisher.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
whisper_http_service.py chore(lint): fix all ruff errors — 0 warnings remaining 2026-05-13 17:13:08 +01:00
whisper_service.py feat(pause-insert): adaptive buffer, forward-snap, timeline drag + share link fix 2026-05-01 16:09:09 +01:00
zip_download.py feat: DCMP compliance, descriptive transcript, new languages, QA bug fixes 2026-03-27 11:50:43 +00:00