API Layer

api.routers.transcript

API routes for transcript operations.

async lingua_loop.api.routers.transcript.get_transcript(video_id: str, language_code: SupportedLanguageCodes, session=Depends(dependency=<function get_async_session>, use_cache=True, scope=None))[source]

Get a transcript for the given video ID and language code.

async lingua_loop.api.routers.transcript.score_transcription(request: ScoreRequest, session: AsyncSession = Depends(dependency=<function get_async_session>, use_cache=True, scope=None))[source]

Score a user’s transcription against the reference text.