livekit-plugins-deepgram 1.0.0rc4__py3-none-any.whl → 1.0.0rc6__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.
@@ -378,8 +378,11 @@ class SpeechStream(stt.SpeechStream):
378
378
  ) -> None:
379
379
  super().__init__(stt=stt, conn_options=conn_options, sample_rate=opts.sample_rate)
380
380
 
381
- if opts.detect_language and opts.language is None:
382
- raise ValueError("language detection is not supported in streaming mode")
381
+ if opts.detect_language or opts.language is None:
382
+ raise ValueError(
383
+ "language detection is not supported in streaming mode, "
384
+ "please disable it and specify a language"
385
+ )
383
386
 
384
387
  self._opts = opts
385
388
  self._api_key = api_key
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = '1.0.0.rc4'
15
+ __version__ = '1.0.0.rc6'
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livekit-plugins-deepgram
3
- Version: 1.0.0rc4
3
+ Version: 1.0.0rc6
4
4
  Summary: Agent Framework plugin for services using Deepgram's API.
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 <support@livekit.io>
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[codecs]>=1.0.0.rc4
21
+ Requires-Dist: livekit-agents[codecs]>=1.0.0.rc6
22
22
  Requires-Dist: numpy>=1.26
23
23
  Description-Content-Type: text/markdown
24
24
 
@@ -3,9 +3,9 @@ livekit/plugins/deepgram/_utils.py,sha256=0O3O77qURXjYYCenl5McE85fcBApaQvQl5zKQz
3
3
  livekit/plugins/deepgram/log.py,sha256=isjd2-ROJXiDFhRRnqRmYxv16U5H9dBV6ut2g5bU7q0,71
4
4
  livekit/plugins/deepgram/models.py,sha256=TdytPIBC5X6POp6QbfHqOIVee_7u6MQ1S7umlst6pNQ,1223
5
5
  livekit/plugins/deepgram/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- livekit/plugins/deepgram/stt.py,sha256=IvFUh1GCG8yIkYTNd5b29vCO0eqsecFk2qDi3nk8nxQ,30535
6
+ livekit/plugins/deepgram/stt.py,sha256=AnOfwX5cjD9-ox6r0uMmZa8Xp_S2tcIdN0UPbQM9On8,30625
7
7
  livekit/plugins/deepgram/tts.py,sha256=mIkm-jrPpDrqX_Fm3yvfSymWvaXPkzG6SAAQRojJHzg,15505
8
- livekit/plugins/deepgram/version.py,sha256=j59nZMZZ8g3asKADdj9zt64g9i53Uq4ib4H0zY4FnPM,604
9
- livekit_plugins_deepgram-1.0.0rc4.dist-info/METADATA,sha256=qTXziw6zz_1J_YXNQIZhwZ7ncO2KvXJNFGKTE-_lqNc,1357
10
- livekit_plugins_deepgram-1.0.0rc4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
- livekit_plugins_deepgram-1.0.0rc4.dist-info/RECORD,,
8
+ livekit/plugins/deepgram/version.py,sha256=PDOEKN5zsYLQdbfAm5Di6G1sFYANNA0LqJR8zZzeghg,604
9
+ livekit_plugins_deepgram-1.0.0rc6.dist-info/METADATA,sha256=HVTRa7ue2dfzHo04rwgd9lle5DBQq31I13iTIa03Ii8,1355
10
+ livekit_plugins_deepgram-1.0.0rc6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
+ livekit_plugins_deepgram-1.0.0rc6.dist-info/RECORD,,