Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.gateway.server.speech

Speech routes: transcription and synthesis jobs with their event streams and audio, voices, and engine model selection.

Speech routes: transcription and synthesis jobs with their event streams and
audio, voices, and engine model selection.
raw docstring

handlersclj

Handlers for this namespace's routes, keyed by the gateway contract's [method path].

Handlers for this namespace's routes, keyed by the gateway contract's `[method path]`.
sourceraw docstring

speech-inline-max-charsclj

Above this many characters POST /v1/sessions/:sid/speech answers a JOB instead of the audio itself.

CHARACTERS, not an estimated duration: the gateway cannot know how long a line takes to speak without speaking it, and a client must be able to predict WHICH of the two answers it will get before it sends. The number is published as features.speech.inline_max_chars, so the rule is the server's and the expectation is the client's. A couple of sentences is the whole latency budget of a spoken acknowledgement; past that a progress stream beats a held socket.

Above this many characters `POST /v1/sessions/:sid/speech` answers a JOB instead of
the audio itself.

CHARACTERS, not an estimated duration: the gateway cannot know how long a line takes
to speak without speaking it, and a client must be able to predict WHICH of the two
answers it will get before it sends. The number is published as
`features.speech.inline_max_chars`, so the rule is the server's and the expectation
is the client's. A couple of sentences is the whole latency budget of a spoken
acknowledgement; past that a progress stream beats a held socket.
sourceraw docstring

speech-max-charsclj

The longest line the gateway will speak at all. A runaway reply must not become a multi-minute synthesis holding a thread and a temp file, so past this POST …/speech answers 413 and the caller splits the text itself.

The longest line the gateway will speak at all. A runaway reply must not become a
multi-minute synthesis holding a thread and a temp file, so past this `POST …/speech`
answers 413 and the caller splits the text itself.
sourceraw docstring

speech-state->jsonclj

(speech-state->json st)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close