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:
58
58
default = None , metadata = config (exclude = lambda f : f is None )
59
59
)
60
60
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 )
62
62
)
63
63
multichannel : Optional [bool ] = field (
64
64
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:
85
85
default = None , metadata = config (exclude = lambda f : f is None )
86
86
)
87
87
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 )
89
89
)
90
90
multichannel : Optional [bool ] = field (
91
91
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:
21
21
"""
22
22
23
23
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 )
25
25
)
26
26
encoding : Optional [str ] = field (
27
27
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():
28
28
29
29
# STEP 2 Call the transcribe_url method on the prerecorded class
30
30
options : PrerecordedOptions = PrerecordedOptions (
31
- model = "nova" ,
31
+ model = "nova-2 " ,
32
32
smart_format = True ,
33
33
summarize = "v2" ,
34
34
)
Original file line number Diff line number Diff line change 16
16
}
17
17
18
18
options : PrerecordedOptions = PrerecordedOptions (
19
- model = "nova" ,
19
+ model = "nova-2 " ,
20
20
smart_format = True ,
21
21
summarize = "v2" ,
22
22
)
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def main():
39
39
}
40
40
41
41
options : PrerecordedOptions = PrerecordedOptions (
42
- model = "nova" ,
42
+ model = "nova-2 " ,
43
43
smart_format = True ,
44
44
utterances = True ,
45
45
punctuate = True ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def main():
40
40
}
41
41
42
42
options = PrerecordedOptions (
43
- model = "nova" ,
43
+ model = "nova-2 " ,
44
44
)
45
45
46
46
response = deepgram .listen .prerecorded .v ("1" ).transcribe_file (payload , options )
You can’t perform that action at this time.
0 commit comments