Schemas
Models module of the Wordcab Transcribe.
AudioRequest
Bases: BaseRequest
Request model for the ASR audio file and url endpoint.
Source code in src/wordcab_transcribe/models.py
Config
Pydantic config class.
Source code in src/wordcab_transcribe/models.py
AudioResponse
Bases: BaseResponse
Response model for the ASR audio file and url endpoint.
Source code in src/wordcab_transcribe/models.py
Config
Pydantic config class.
Source code in src/wordcab_transcribe/models.py
BaseRequest
Bases: BaseModel
Base request model for the API.
Source code in src/wordcab_transcribe/models.py
Config
Pydantic config class.
Source code in src/wordcab_transcribe/models.py
validate_each_vocab_value(value)
Validate the value of each vocab field.
Source code in src/wordcab_transcribe/models.py
BaseResponse
Bases: BaseModel
Base response model, not meant to be used directly.
Source code in src/wordcab_transcribe/models.py
CortexError
Bases: BaseModel
Error model for the Cortex API.
Source code in src/wordcab_transcribe/models.py
CortexPayload
Bases: BaseModel
Request object for Cortex endpoint.
Source code in src/wordcab_transcribe/models.py
Config
Pydantic config class.
Source code in src/wordcab_transcribe/models.py
CortexUrlResponse
Bases: AudioResponse
Response model for the audio_url type of the Cortex endpoint.
Source code in src/wordcab_transcribe/models.py
Config
Pydantic config class.
Source code in src/wordcab_transcribe/models.py
CortexYoutubeResponse
Bases: YouTubeResponse
Response model for the YouTube type of the Cortex endpoint.
Source code in src/wordcab_transcribe/models.py
Config
Pydantic config class.
Source code in src/wordcab_transcribe/models.py
DiarizationOutput
DiarizationRequest
DiarizationSegment
MultiChannelSegment
MultiChannelTranscriptionOutput
PongResponse
Bases: BaseModel
Response model for the ping endpoint.
Source code in src/wordcab_transcribe/models.py
ProcessTimes
Bases: BaseModel
The execution times of the different processes.
Source code in src/wordcab_transcribe/models.py
Timestamps
Token
TokenData
TranscribeRequest
Bases: BaseModel
Request model for the transcribe endpoint.
Source code in src/wordcab_transcribe/models.py
TranscriptionOutput
UrlSchema
Utterance
Bases: BaseModel
Utterance model for the API.
Source code in src/wordcab_transcribe/models.py
Word
YouTubeResponse
Bases: BaseResponse
Response model for the ASR YouTube endpoint.
Source code in src/wordcab_transcribe/models.py
Config
Pydantic config class.
Source code in src/wordcab_transcribe/models.py
Created: 2023-10-12