livekit-plugins-azure 1.0.13__py3-none-any.whl → 1.0.14__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.
@@ -34,6 +34,8 @@ from livekit.agents.types import (
34
34
  )
35
35
  from livekit.agents.utils import is_given
36
36
 
37
+ from .log import logger
38
+
37
39
 
38
40
  @dataclass
39
41
  class STTOptions:
@@ -111,6 +113,10 @@ class STT(stt.STT):
111
113
  "AZURE_SPEECH_HOST or AZURE_SPEECH_KEY and AZURE_SPEECH_REGION or speech_auth_token and AZURE_SPEECH_REGION or AZURE_SPEECH_KEY and speech_endpoint must be set" # noqa: E501
112
114
  )
113
115
 
116
+ if speech_region and speech_endpoint:
117
+ logger.warning("speech_region and speech_endpoint both are set, using speech_endpoint")
118
+ speech_region = NOT_GIVEN
119
+
114
120
  self._config = STTOptions(
115
121
  speech_key=speech_key,
116
122
  speech_region=speech_region,
@@ -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.13"
15
+ __version__ = "1.0.14"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livekit-plugins-azure
3
- Version: 1.0.13
3
+ Version: 1.0.14
4
4
  Summary: Agent Framework plugin for services from Azure
5
5
  Project-URL: Documentation, https://docs.livekit.io
6
6
  Project-URL: Website, https://livekit.io/
@@ -18,8 +18,8 @@ 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: azure-cognitiveservices-speech>=1.41.0
22
- Requires-Dist: livekit-agents>=1.0.13
21
+ Requires-Dist: azure-cognitiveservices-speech>=1.43.0
22
+ Requires-Dist: livekit-agents>=1.0.14
23
23
  Description-Content-Type: text/markdown
24
24
 
25
25
  # LiveKit Plugins Azure
@@ -0,0 +1,9 @@
1
+ livekit/plugins/azure/__init__.py,sha256=8YPW1EAltd4oip3WItsMy17EMekroUzTPLFRIwLP2Wc,1082
2
+ livekit/plugins/azure/log.py,sha256=MeD0unQJ72aDc9K8zUi9LgUBls6h2WUALryOjAumrKs,68
3
+ livekit/plugins/azure/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ livekit/plugins/azure/stt.py,sha256=fHaH4vXQARigMahzmrjKsNwrF9olI5qxWVTqskxBbRI,14360
5
+ livekit/plugins/azure/tts.py,sha256=e4BccMEnx7Qukij5t1H47w6XzFLeZIPlUVhjZ5yJAFg,19280
6
+ livekit/plugins/azure/version.py,sha256=ipZ3HJ5F3NogmAOdi1JSMnT3ao6g9rJnOfG5ofL-YH4,601
7
+ livekit_plugins_azure-1.0.14.dist-info/METADATA,sha256=ncBINlZPJhnszFBE7falmMSwaarsvTHlQP_LOCKgg2k,1396
8
+ livekit_plugins_azure-1.0.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ livekit_plugins_azure-1.0.14.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- livekit/plugins/azure/__init__.py,sha256=8YPW1EAltd4oip3WItsMy17EMekroUzTPLFRIwLP2Wc,1082
2
- livekit/plugins/azure/log.py,sha256=MeD0unQJ72aDc9K8zUi9LgUBls6h2WUALryOjAumrKs,68
3
- livekit/plugins/azure/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- livekit/plugins/azure/stt.py,sha256=vEB5w03F4dyu_BxQ849JMRgGuzTMNmtLDlUvWi44fvQ,14150
5
- livekit/plugins/azure/tts.py,sha256=e4BccMEnx7Qukij5t1H47w6XzFLeZIPlUVhjZ5yJAFg,19280
6
- livekit/plugins/azure/version.py,sha256=JVkcFG_R5di_rgaHhJCoRjR0VoKb_WAoym39rsaV9H8,601
7
- livekit_plugins_azure-1.0.13.dist-info/METADATA,sha256=GluWsuPNOSgErhX6Yra5vPNXt44PWfkD4kYtzLijw4o,1396
8
- livekit_plugins_azure-1.0.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
- livekit_plugins_azure-1.0.13.dist-info/RECORD,,