livekit-plugins-aws 1.0.19__tar.gz → 1.0.21__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.0.19 → livekit_plugins_aws-1.0.21}/.gitignore +1 -0
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/PKG-INFO +8 -10
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/README.md +3 -5
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/__init__.py +16 -0
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/llm.py +2 -2
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/version.py +1 -1
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/pyproject.toml +4 -4
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/log.py +0 -0
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/models.py +0 -0
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/py.typed +0 -0
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/stt.py +0 -0
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/livekit/plugins/aws/tts.py +0 -0
- {livekit_plugins_aws-1.0.19 → livekit_plugins_aws-1.0.21}/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.0.
|
|
3
|
+
Version: 1.0.21
|
|
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/
|
|
@@ -18,19 +18,17 @@ 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: aioboto3
|
|
22
|
-
Requires-Dist: amazon-transcribe
|
|
23
|
-
Requires-Dist: boto3
|
|
24
|
-
Requires-Dist: livekit-agents>=1.0.
|
|
21
|
+
Requires-Dist: aioboto3>=14.1.0
|
|
22
|
+
Requires-Dist: amazon-transcribe>=0.6.2
|
|
23
|
+
Requires-Dist: boto3>=1.37.1
|
|
24
|
+
Requires-Dist: livekit-agents>=1.0.21
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
|
|
27
|
-
# LiveKit
|
|
27
|
+
# AWS plugin for LiveKit Agents
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Support for AWS AI including Bedrock, Polly, and Transcribe.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
- aws transcribe for stt
|
|
33
|
-
- aws bedrock for llm
|
|
31
|
+
See [https://docs.livekit.io/agents/integrations/aws/](https://docs.livekit.io/agents/integrations/aws/) for more information.
|
|
34
32
|
|
|
35
33
|
## Installation
|
|
36
34
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
# LiveKit
|
|
1
|
+
# AWS plugin for LiveKit Agents
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Support for AWS AI including Bedrock, Polly, and Transcribe.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
- aws transcribe for stt
|
|
7
|
-
- aws bedrock for llm
|
|
5
|
+
See [https://docs.livekit.io/agents/integrations/aws/](https://docs.livekit.io/agents/integrations/aws/) for more information.
|
|
8
6
|
|
|
9
7
|
## Installation
|
|
10
8
|
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
+
"""AWS plugin for LiveKit Agents
|
|
16
|
+
|
|
17
|
+
Support for AWS AI including Bedrock, Polly, and Transcribe.
|
|
18
|
+
|
|
19
|
+
See https://docs.livekit.io/agents/integrations/aws/ for more information.
|
|
20
|
+
"""
|
|
21
|
+
|
|
15
22
|
from .llm import LLM
|
|
16
23
|
from .stt import STT, SpeechStream
|
|
17
24
|
from .tts import TTS, ChunkedStream
|
|
@@ -28,3 +35,12 @@ class AWSPlugin(Plugin):
|
|
|
28
35
|
|
|
29
36
|
|
|
30
37
|
Plugin.register_plugin(AWSPlugin())
|
|
38
|
+
|
|
39
|
+
# Cleanup docs of unexported modules
|
|
40
|
+
_module = dir()
|
|
41
|
+
NOT_IN_ALL = [m for m in _module if m not in __all__]
|
|
42
|
+
|
|
43
|
+
__pdoc__ = {}
|
|
44
|
+
|
|
45
|
+
for n in NOT_IN_ALL:
|
|
46
|
+
__pdoc__[n] = False
|
|
@@ -161,7 +161,7 @@ class LLM(llm.LLM):
|
|
|
161
161
|
return LLMStream(
|
|
162
162
|
self,
|
|
163
163
|
chat_ctx=chat_ctx,
|
|
164
|
-
tools=tools,
|
|
164
|
+
tools=tools or [],
|
|
165
165
|
session=self._session,
|
|
166
166
|
conn_options=conn_options,
|
|
167
167
|
extra_kwargs=opts,
|
|
@@ -176,7 +176,7 @@ class LLMStream(llm.LLMStream):
|
|
|
176
176
|
chat_ctx: ChatContext,
|
|
177
177
|
session: aioboto3.Session,
|
|
178
178
|
conn_options: APIConnectOptions,
|
|
179
|
-
tools: list[FunctionTool]
|
|
179
|
+
tools: list[FunctionTool],
|
|
180
180
|
extra_kwargs: dict[str, Any],
|
|
181
181
|
) -> None:
|
|
182
182
|
super().__init__(llm, chat_ctx=chat_ctx, tools=tools, conn_options=conn_options)
|
|
@@ -23,10 +23,10 @@ classifiers = [
|
|
|
23
23
|
"Programming Language :: Python :: 3 :: Only",
|
|
24
24
|
]
|
|
25
25
|
dependencies = [
|
|
26
|
-
"livekit-agents>=1.0.
|
|
27
|
-
"aioboto3
|
|
28
|
-
"amazon-transcribe
|
|
29
|
-
"boto3
|
|
26
|
+
"livekit-agents>=1.0.21",
|
|
27
|
+
"aioboto3>=14.1.0",
|
|
28
|
+
"amazon-transcribe>=0.6.2",
|
|
29
|
+
"boto3>=1.37.1",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[project.urls]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|