blib/lib/Langertha/Engine/Whisper.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 33.3% 1 / 3 totaltotal 80.0% 16 / 20 CC 1 SCAR 1.8
CC
1
Cov
92%
default_model
2.0
BEGIN
1.0
default_transcription_model
1.0
CRAP 1.2
« blib/lib/Langertha/Engine/AKIOpenAI.pm ↑ Summary blib/lib/Langertha/Engine/Scaleway.pm »
1 package Langertha::Engine::Whisper;
2 # ABSTRACT: Whisper compatible transcription server
3 11 our $VERSION = '0.505';
4 11 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 11 extends 'Langertha::Engine::TranscriptionBase';
7  
8  
9 4 ▶sub default_transcription_model { '' }
Subroutine default_transcription_model: called CC=1 SCAR=0.0
Pod undocumented
10  
11 0 ▶sub default_model { '' }
Subroutine default_model: not called CC=1 SCAR=6.9
Pod undocumented
12  
13 2 ▶sub api_key_env { undef }
Subroutine api_key_env: called CC=1 SCAR=0.0
Pod documented
14  
15 11 has '+url' => (
16 required => 1,
17 );
18  
19 6 ▶sub _build_api_key { 'whisper' }
Subroutine _build_api_key: called CC=1 SCAR=0.0
20  
21 11 __PACKAGE__->meta->make_immutable;
22  
23  
24 11 1;
25  
26 __END__
« blib/lib/Langertha/Engine/AKIOpenAI.pm ↑ Summary blib/lib/Langertha/Engine/Scaleway.pm »