livekit-plugins-google 1.1.4__py3-none-any.whl → 1.1.5__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/google/llm.py +5 -0
- livekit/plugins/google/version.py +1 -1
- {livekit_plugins_google-1.1.4.dist-info → livekit_plugins_google-1.1.5.dist-info}/METADATA +3 -3
- {livekit_plugins_google-1.1.4.dist-info → livekit_plugins_google-1.1.5.dist-info}/RECORD +5 -5
- {livekit_plugins_google-1.1.4.dist-info → livekit_plugins_google-1.1.5.dist-info}/WHEEL +0 -0
livekit/plugins/google/llm.py
CHANGED
@@ -62,6 +62,7 @@ class _LLMOptions:
|
|
62
62
|
automatic_function_calling_config: NotGivenOr[types.AutomaticFunctionCallingConfigOrDict]
|
63
63
|
gemini_tools: NotGivenOr[list[_LLMTool]]
|
64
64
|
http_options: NotGivenOr[types.HttpOptions]
|
65
|
+
seed: NotGivenOr[int]
|
65
66
|
|
66
67
|
|
67
68
|
class LLM(llm.LLM):
|
@@ -86,6 +87,7 @@ class LLM(llm.LLM):
|
|
86
87
|
] = NOT_GIVEN,
|
87
88
|
gemini_tools: NotGivenOr[list[_LLMTool]] = NOT_GIVEN,
|
88
89
|
http_options: NotGivenOr[types.HttpOptions] = NOT_GIVEN,
|
90
|
+
seed: NotGivenOr[int] = NOT_GIVEN,
|
89
91
|
) -> None:
|
90
92
|
"""
|
91
93
|
Create a new instance of Google GenAI LLM.
|
@@ -176,6 +178,7 @@ class LLM(llm.LLM):
|
|
176
178
|
automatic_function_calling_config=automatic_function_calling_config,
|
177
179
|
gemini_tools=gemini_tools,
|
178
180
|
http_options=http_options,
|
181
|
+
seed=seed,
|
179
182
|
)
|
180
183
|
self._client = Client(
|
181
184
|
api_key=gemini_api_key,
|
@@ -262,6 +265,8 @@ class LLM(llm.LLM):
|
|
262
265
|
extra["presence_penalty"] = self._opts.presence_penalty
|
263
266
|
if is_given(self._opts.frequency_penalty):
|
264
267
|
extra["frequency_penalty"] = self._opts.frequency_penalty
|
268
|
+
if is_given(self._opts.seed):
|
269
|
+
extra["seed"] = self._opts.seed
|
265
270
|
|
266
271
|
# Add thinking config if thinking_budget is provided
|
267
272
|
if is_given(self._opts.thinking_config):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: livekit-plugins-google
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.5
|
4
4
|
Summary: Agent Framework plugin for services from Google Cloud
|
5
5
|
Project-URL: Documentation, https://docs.livekit.io
|
6
6
|
Project-URL: Website, https://livekit.io/
|
@@ -21,8 +21,8 @@ Requires-Python: >=3.9.0
|
|
21
21
|
Requires-Dist: google-auth<3,>=2
|
22
22
|
Requires-Dist: google-cloud-speech<3,>=2
|
23
23
|
Requires-Dist: google-cloud-texttospeech<3,>=2.27
|
24
|
-
Requires-Dist: google-genai>=v1.
|
25
|
-
Requires-Dist: livekit-agents>=1.1.
|
24
|
+
Requires-Dist: google-genai>=v1.23.0
|
25
|
+
Requires-Dist: livekit-agents>=1.1.5
|
26
26
|
Description-Content-Type: text/markdown
|
27
27
|
|
28
28
|
# Google AI plugin for LiveKit Agents
|
@@ -1,5 +1,5 @@
|
|
1
1
|
livekit/plugins/google/__init__.py,sha256=XIyZ-iFnRBpaLtOJgVwojlB-a8GjdDugVFcjBpMEww8,1412
|
2
|
-
livekit/plugins/google/llm.py,sha256=
|
2
|
+
livekit/plugins/google/llm.py,sha256=PqRQk6E2XfWkTdDrtEtcHjknGZMGbkQgVLr8uTg7F-s,18960
|
3
3
|
livekit/plugins/google/log.py,sha256=GI3YWN5YzrafnUccljzPRS_ZALkMNk1i21IRnTl2vNA,69
|
4
4
|
livekit/plugins/google/models.py,sha256=hOpfbN_qdQ1ZTpCN9m9dvG2eb6WgQ3KE3WRpIeeM_T0,1569
|
5
5
|
livekit/plugins/google/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -7,11 +7,11 @@ livekit/plugins/google/stt.py,sha256=ssDMH5U1vQOLA44XMlovYWIR4UqVtZSge3YFN-zZ7Iw
|
|
7
7
|
livekit/plugins/google/tools.py,sha256=tD5HVDHO5JfUF029Cx3axHMJec0Gxalkl7s1FDgxLzI,259
|
8
8
|
livekit/plugins/google/tts.py,sha256=YTfce55MWNJyDH4k8U1O2giOcrtccTs8vrkiW9GuBR0,15541
|
9
9
|
livekit/plugins/google/utils.py,sha256=6iihkKx76DDtLiHOoTU2ZXqzupBRY_gN3njpnwdmeqY,8829
|
10
|
-
livekit/plugins/google/version.py,sha256=
|
10
|
+
livekit/plugins/google/version.py,sha256=OKtayGMVDYKyoKBO2yNM4kfRbH-PODJqECIiYhUzNWg,600
|
11
11
|
livekit/plugins/google/beta/__init__.py,sha256=5PnoG3Ux24bjzMSzmTeSVljE9EINivGcbWUEV6egGnM,216
|
12
12
|
livekit/plugins/google/beta/realtime/__init__.py,sha256=_fW2NMN22F-hnQ4xAJ_g5lPbR7CvM_xXzSWlUQY-E-U,188
|
13
13
|
livekit/plugins/google/beta/realtime/api_proto.py,sha256=NfE7xr2N3JOu7gVfWbAmDcEhs8vuZgMRu5vpScPJzsg,776
|
14
14
|
livekit/plugins/google/beta/realtime/realtime_api.py,sha256=tlAsTFsumqOavC9JT2SuQi_3eGYygZ3bbS-nEM7ea8Q,46293
|
15
|
-
livekit_plugins_google-1.1.
|
16
|
-
livekit_plugins_google-1.1.
|
17
|
-
livekit_plugins_google-1.1.
|
15
|
+
livekit_plugins_google-1.1.5.dist-info/METADATA,sha256=g6aRR1VIspmPtZ2C6VQ-cqZWx1gIpLtg4OFV1pbD01E,1907
|
16
|
+
livekit_plugins_google-1.1.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
17
|
+
livekit_plugins_google-1.1.5.dist-info/RECORD,,
|
File without changes
|