livekit-plugins-aws 1.1.7__tar.gz → 1.2.0__tar.gz
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.
Potentially problematic release.
This version of livekit-plugins-aws might be problematic. Click here for more details.
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/PKG-INFO +2 -2
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/experimental/realtime/realtime_model.py +4 -1
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/llm.py +5 -1
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/version.py +1 -1
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/pyproject.toml +1 -1
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/.gitignore +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/README.md +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/__init__.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/experimental/realtime/__init__.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/experimental/realtime/events.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/experimental/realtime/pretty_printer.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/experimental/realtime/turn_tracker.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/log.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/models.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/py.typed +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/stt.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/tts.py +0 -0
- {livekit_plugins_aws-1.1.7 → livekit_plugins_aws-1.2.0}/livekit/plugins/aws/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: livekit-plugins-aws
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: LiveKit Agents Plugin for services from AWS
|
|
5
5
|
Project-URL: Documentation, https://docs.livekit.io
|
|
6
6
|
Project-URL: Website, https://livekit.io/
|
|
@@ -20,7 +20,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
20
20
|
Requires-Python: >=3.9.0
|
|
21
21
|
Requires-Dist: aioboto3>=14.1.0
|
|
22
22
|
Requires-Dist: amazon-transcribe>=0.6.2
|
|
23
|
-
Requires-Dist: livekit-agents>=1.
|
|
23
|
+
Requires-Dist: livekit-agents>=1.2.0
|
|
24
24
|
Provides-Extra: realtime
|
|
25
25
|
Requires-Dist: aws-sdk-bedrock-runtime==0.0.2; (python_version >= '3.12') and extra == 'realtime'
|
|
26
26
|
Requires-Dist: boto3>1.35.10; extra == 'realtime'
|
|
@@ -239,6 +239,7 @@ class RealtimeModel(llm.RealtimeModel):
|
|
|
239
239
|
turn_detection=True,
|
|
240
240
|
user_transcription=True,
|
|
241
241
|
auto_tool_reply_generation=True,
|
|
242
|
+
audio_output=True,
|
|
242
243
|
)
|
|
243
244
|
)
|
|
244
245
|
self.model_id = "amazon.nova-sonic-v1:0"
|
|
@@ -1233,7 +1234,9 @@ class RealtimeSession( # noqa: F811
|
|
|
1233
1234
|
def interrupt(self) -> None:
|
|
1234
1235
|
logger.warning("interrupt is not supported by Nova Sonic's Realtime API")
|
|
1235
1236
|
|
|
1236
|
-
def truncate(
|
|
1237
|
+
def truncate(
|
|
1238
|
+
self, *, message_id: str, audio_end_ms: int, audio_transcript: NotGivenOr[str] = NOT_GIVEN
|
|
1239
|
+
) -> None:
|
|
1237
1240
|
logger.warning("truncate is not supported by Nova Sonic's Realtime API")
|
|
1238
1241
|
|
|
1239
1242
|
@utils.log_exceptions(logger=logger)
|
|
@@ -19,7 +19,7 @@ from dataclasses import dataclass
|
|
|
19
19
|
from typing import Any, cast
|
|
20
20
|
|
|
21
21
|
import aioboto3 # type: ignore
|
|
22
|
-
from botocore.config import Config
|
|
22
|
+
from botocore.config import Config # type: ignore
|
|
23
23
|
|
|
24
24
|
from livekit.agents import APIConnectionError, APIStatusError, llm
|
|
25
25
|
from livekit.agents.llm import (
|
|
@@ -113,6 +113,10 @@ class LLM(llm.LLM):
|
|
|
113
113
|
additional_request_fields=additional_request_fields,
|
|
114
114
|
)
|
|
115
115
|
|
|
116
|
+
@property
|
|
117
|
+
def model(self) -> str:
|
|
118
|
+
return self._opts.model
|
|
119
|
+
|
|
116
120
|
def chat(
|
|
117
121
|
self,
|
|
118
122
|
*,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|