Module speech_generation

Source
Expand description

§Speech generation functionality and route handler.

Enums§

SpeechGenerationResponder
Represents different types of speech generation responses.

Functions§

handle_error
Helper function to handle speech generation errors and logging them.
match_responses
Matches and processes different types of model responses into appropriate speech generation responses.
parse_request
Parses and validates a speech generation request.
process_non_streaming_response
Process non-streaming speech generation responses.
speech_generation
Speech generation endpoint handler.