livekit-plugins-speechmatics 1.0.0rc3__py3-none-any.whl → 1.0.0rc5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- livekit/plugins/speechmatics/types.py +7 -4
- livekit/plugins/speechmatics/version.py +1 -1
- {livekit_plugins_speechmatics-1.0.0rc3.dist-info → livekit_plugins_speechmatics-1.0.0rc5.dist-info}/METADATA +3 -3
- {livekit_plugins_speechmatics-1.0.0rc3.dist-info → livekit_plugins_speechmatics-1.0.0rc5.dist-info}/RECORD +5 -5
- {livekit_plugins_speechmatics-1.0.0rc3.dist-info → livekit_plugins_speechmatics-1.0.0rc5.dist-info}/WHEEL +0 -0
@@ -6,7 +6,7 @@ from typing import Any, Optional
|
|
6
6
|
|
7
7
|
@dataclass
|
8
8
|
class TranscriptionConfig:
|
9
|
-
"""Real-time: Defines transcription parameters."""
|
9
|
+
"""Real-time: Defines transcription parameters. See https://docs.speechmatics.com/rt-api-ref#transcription-config"""
|
10
10
|
|
11
11
|
language: str = "en"
|
12
12
|
"""ISO 639-1 language code. eg. `en`"""
|
@@ -39,13 +39,16 @@ class TranscriptionConfig:
|
|
39
39
|
entity. Fixed means that max_delay specified ignores any potential
|
40
40
|
entity that would not be completed within that threshold."""
|
41
41
|
|
42
|
-
streaming_mode: Optional[bool] = None
|
43
|
-
"""Indicates if we run the engine in streaming mode, or regular RT mode."""
|
44
|
-
|
45
42
|
enable_partials: Optional[bool] = None
|
46
43
|
"""Indicates if partials for transcription, where words are produced
|
47
44
|
immediately, is enabled."""
|
48
45
|
|
46
|
+
audio_filtering_config: Optional[dict] = None
|
47
|
+
"""Puts a lower limit on the volume of processed audio by using the volume_threshold setting."""
|
48
|
+
|
49
|
+
transcript_filtering_config: Optional[dict] = None
|
50
|
+
"""Removes disfluencies with the remove_disfluencies setting."""
|
51
|
+
|
49
52
|
def asdict(self) -> dict[Any, Any]:
|
50
53
|
"""Returns model as a dict while excluding None values recursively."""
|
51
54
|
return asdict(self, dict_factory=lambda x: {k: v for (k, v) in x if v is not None})
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: livekit-plugins-speechmatics
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.0rc5
|
4
4
|
Summary: Agent Framework plugin for Speechmatics
|
5
5
|
Project-URL: Documentation, https://docs.livekit.io
|
6
6
|
Project-URL: Website, https://livekit.io/
|
7
7
|
Project-URL: Source, https://github.com/livekit/agents
|
8
|
-
Author-email: LiveKit <
|
8
|
+
Author-email: LiveKit <hello@livekit.io>
|
9
9
|
License-Expression: Apache-2.0
|
10
10
|
Keywords: audio,livekit,realtime,video,webrtc
|
11
11
|
Classifier: Intended Audience :: Developers
|
@@ -18,7 +18,7 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
18
18
|
Classifier: Topic :: Multimedia :: Video
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
20
20
|
Requires-Python: >=3.9.0
|
21
|
-
Requires-Dist: livekit-agents>=1.0.0.
|
21
|
+
Requires-Dist: livekit-agents>=1.0.0.rc5
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
# LiveKit Plugins Speechmatics
|
@@ -2,9 +2,9 @@ livekit/plugins/speechmatics/__init__.py,sha256=u1BkFot3ggFvlbdohgrWSvPgcfqO79ds
|
|
2
2
|
livekit/plugins/speechmatics/log.py,sha256=O1iyAF7cHUu_iMXh6l7KRwwWeDB5QyABI_qzAb0cs04,75
|
3
3
|
livekit/plugins/speechmatics/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
livekit/plugins/speechmatics/stt.py,sha256=a7bYVtH20i2WDbUTp9qRZRqCUrLwW6Yyf1hOAzth7QA,11695
|
5
|
-
livekit/plugins/speechmatics/types.py,sha256=
|
5
|
+
livekit/plugins/speechmatics/types.py,sha256=LG9ZL_r9f0LMmKPaWqCNzOU6wQJmXp8w7S23xuQaHO8,4829
|
6
6
|
livekit/plugins/speechmatics/utils.py,sha256=t9ZDg5byXji8GLlpKs2XSNGpmZ5-hm88kmx-UHu2XqU,1825
|
7
|
-
livekit/plugins/speechmatics/version.py,sha256=
|
8
|
-
livekit_plugins_speechmatics-1.0.
|
9
|
-
livekit_plugins_speechmatics-1.0.
|
10
|
-
livekit_plugins_speechmatics-1.0.
|
7
|
+
livekit/plugins/speechmatics/version.py,sha256=I4g88kS-o_aTG2S_0rZltHKLaHGIxa8N5TAPmOAGmtM,604
|
8
|
+
livekit_plugins_speechmatics-1.0.0rc5.dist-info/METADATA,sha256=HlC3Sc-p0xOLI5acOZaDV_dpyzQWGID5ORrPL8Pre_M,1980
|
9
|
+
livekit_plugins_speechmatics-1.0.0rc5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
livekit_plugins_speechmatics-1.0.0rc5.dist-info/RECORD,,
|
File without changes
|