livekit-plugins-google 0.1.2__py3-none-any.whl → 0.2.0__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.
@@ -281,6 +281,7 @@ def recognize_response_to_speech_event(
281
281
  gg_alts = result.alternatives
282
282
  return stt.SpeechEvent(
283
283
  is_final=True,
284
+ end_of_speech=True,
284
285
  alternatives=[
285
286
  stt.SpeechData(
286
287
  language=result.language_code,
@@ -301,6 +302,9 @@ def streaming_recognize_response_to_speech_event(
301
302
  gg_alts = result.alternatives
302
303
  return stt.SpeechEvent(
303
304
  is_final=result.is_final,
305
+ # Google STT does not have a separate end_of_speech indicator
306
+ # so we'll use is_final
307
+ end_of_speech=result.is_final,
304
308
  alternatives=[
305
309
  stt.SpeechData(
306
310
  language=result.language_code,
@@ -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__ = "0.1.2"
15
+ __version__ = "0.2.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: livekit-plugins-google
3
- Version: 0.1.2
3
+ Version: 0.2.0
4
4
  Summary: Agent Framework plugin for services from Google Cloud
5
5
  Home-page: https://github.com/livekit/agents
6
6
  License: Apache-2.0
@@ -29,7 +29,7 @@ Requires-Dist: google-cloud-speech <3,>=2
29
29
  Requires-Dist: google-cloud-texttospeech <3,>=2
30
30
  Requires-Dist: google-cloud-translate <4,>=3
31
31
  Requires-Dist: googleapis-common-protos <2,>=1
32
- Requires-Dist: livekit >=0.8.0
32
+ Requires-Dist: livekit >=0.9.0
33
33
  Requires-Dist: livekit-agents >=0.3.0
34
34
 
35
35
  # LiveKit Plugins Google
@@ -0,0 +1,8 @@
1
+ livekit/plugins/google/__init__.py,sha256=uDkfCsfqWmuPDrDolu-nJrZxpTD53pTCaRVWmyA8a6w,918
2
+ livekit/plugins/google/models.py,sha256=DgiXOvGDO8D9rfCKHJL28lbyQR8mXXB2kpku-szXLRs,1185
3
+ livekit/plugins/google/stt.py,sha256=efyE7vjxWuO99dR9-nSLF9LkmoX0khOwXpayh7-5saY,11149
4
+ livekit/plugins/google/version.py,sha256=cLFCdnm5S21CiJ5UJBcqfRvvFkCQ8p6M5fFUJVJkEiM,600
5
+ livekit_plugins_google-0.2.0.dist-info/METADATA,sha256=8tnZ8TW_UHy87ADQvAJSGFqm42Yi-E30bvV2x1LzzBg,1942
6
+ livekit_plugins_google-0.2.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
+ livekit_plugins_google-0.2.0.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
8
+ livekit_plugins_google-0.2.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- livekit/plugins/google/__init__.py,sha256=uDkfCsfqWmuPDrDolu-nJrZxpTD53pTCaRVWmyA8a6w,918
2
- livekit/plugins/google/models.py,sha256=DgiXOvGDO8D9rfCKHJL28lbyQR8mXXB2kpku-szXLRs,1185
3
- livekit/plugins/google/stt.py,sha256=JaQHEswfBDbGxiZVBQCpnQu80yEyVjl5zWw-UkDuf-8,10980
4
- livekit/plugins/google/version.py,sha256=S3xxF-H96nScSv_7l7IUvROJ0avu9oz5Gm6j673md_Y,600
5
- livekit_plugins_google-0.1.2.dist-info/METADATA,sha256=uF4q4L49dbQKoQxPO4U64GcNxPrXZf6aZSFYIms4wcg,1942
6
- livekit_plugins_google-0.1.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- livekit_plugins_google-0.1.2.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
8
- livekit_plugins_google-0.1.2.dist-info/RECORD,,