Expand description
What was said, and where: the transcript search RPCs.
search_transcripts, count_transcripts and search_video_transcript are
the public functions docs/rpc.md documents; this module is the one place
in the workspace they are called from. The binding list is why. The page
call takes ten arguments and the count six of the same filters in a
different order, so a second copy of the call is how a page size ends up
bound to p_require_all - the mistake the API’s own comment describes, and
one no test would have to fail for it to reach production.
Every argument is passed by name (p_query => $1), which is what rpc.md
tells outside callers to do. Both consumers then exercise the convention
the contract documents rather than a positional call only this code knows
is correct.
Structs§
- Transcript
CueRow - A row of
search_transcripts: one matching utterance, and where it is. - Transcript
Moment Row - A row of
search_video_transcript: one matching cue in one video, with themomentnumber the function assigns - cues more than ten seconds apart begin a new moment, so the rolling repeats around one mention group. - Transcript
Query - One transcript search: the filters the page and the count share, plus the page and the sort.
Enums§
- Transcript
Sort - What a transcript search is ordered by.
- Transcript
Source - Which caption pool a track came from.
Constants§
- DEFAULT_
PAGE_ SIZE - What
rpc.mddocuments as the default page size, and what the CLI uses.