Skip to content

start_transcript: keyterms - #128

Merged
lalit-videodb merged 1 commit into
release-0-5-5from
lalit/transcript-keyterms
Nov 30, 2026
Merged

lalit-videodb merged 1 commit into
release-0-5-5from
lalit/transcript-keyterms

Conversation

@lalit-videodb

Copy link
Copy Markdown
Collaborator

RTStream.start_transcript() takes keyterms: names, acronyms or terms the transcriber should recognise and spell as given.

rtstream.start_transcript(
    language_code="es",
    model_name="pro",
    speaker_labels=True,
    keyterms=["Pedraz", "Biedma", "AEMET"],
)
  • Up to 100 strings of at most 50 characters each. The server validates the limits.
  • It needs model_name="pro". With any other model the server returns an error.
  • Without the argument the request is unchanged: the field is only sent when the list is not empty.

Checked locally with a mocked connection: the list is sent as keyterms, and a call without it, or with an empty list, sends no such field.

Server: Spext/videodb-server #1259. It is merged but not on prod yet, so do not publish before it is.

@lalit-videodb lalit-videodb mentioned this pull request Nov 26, 2026
@lalit-videodb
lalit-videodb merged commit 5408ab3 into release-0-5-5 Nov 30, 2026
1 check failed
@lalit-videodb
lalit-videodb deleted the lalit/transcript-keyterms branch November 30, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant