File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
advanced/prerecorded/direct_invocation Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class LiveOptions:
5858 default = None , metadata = config (exclude = lambda f : f is None )
5959 )
6060 model : Optional [str ] = field (
61- default = None , metadata = config (exclude = lambda f : f is None )
61+ default = "nova-2" , metadata = config (exclude = lambda f : f is None )
6262 )
6363 multichannel : Optional [bool ] = field (
6464 default = None , metadata = config (exclude = lambda f : f is None )
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class PrerecordedOptions:
8585 default = None , metadata = config (exclude = lambda f : f is None )
8686 )
8787 model : Optional [str ] = field (
88- default = None , metadata = config (exclude = lambda f : f is None )
88+ default = "nova-2" , metadata = config (exclude = lambda f : f is None )
8989 )
9090 multichannel : Optional [bool ] = field (
9191 default = None , metadata = config (exclude = lambda f : f is None )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class SpeakOptions:
2121 """
2222
2323 model : Optional [str ] = field (
24- default = None , metadata = config (exclude = lambda f : f is None )
24+ default = "aura-asteria-en" , metadata = config (exclude = lambda f : f is None )
2525 )
2626 encoding : Optional [str ] = field (
2727 default = None , metadata = config (exclude = lambda f : f is None )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def main():
2828
2929 # STEP 2 Call the transcribe_url method on the prerecorded class
3030 options : PrerecordedOptions = PrerecordedOptions (
31- model = "nova" ,
31+ model = "nova-2 " ,
3232 smart_format = True ,
3333 summarize = "v2" ,
3434 )
Original file line number Diff line number Diff line change 1616}
1717
1818options : PrerecordedOptions = PrerecordedOptions (
19- model = "nova" ,
19+ model = "nova-2 " ,
2020 smart_format = True ,
2121 summarize = "v2" ,
2222)
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def main():
3939 }
4040
4141 options : PrerecordedOptions = PrerecordedOptions (
42- model = "nova" ,
42+ model = "nova-2 " ,
4343 smart_format = True ,
4444 utterances = True ,
4545 punctuate = True ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def main():
4040 }
4141
4242 options = PrerecordedOptions (
43- model = "nova" ,
43+ model = "nova-2 " ,
4444 )
4545
4646 response = deepgram .listen .prerecorded .v ("1" ).transcribe_file (payload , options )
You can’t perform that action at this time.
0 commit comments