# LiveKit Plugins Tencent
Agent Framework plugin for services from Tencent. currently supports: [STT](https://cloud.tencent.com/document/product/1093/48982#signature).
## Installation
```python
pip install livekit-plugins-tencent
```
## Pre-requisites
- tencent STT environment variable: `TENCENT_STT_APP_ID`, `TENCENT_STT_SECRET_KEY`, `TENCENT_STT_ID`
## Usage
This example shows how to use the Tencent STT plugin.
```python
from livekit.agents import Agent, AgentSession, JobContext, cli, WorkerOptions
from livekit.plugins import tencent
from dotenv import load_dotenv
async def entry_point(ctx: JobContext):
await ctx.connect()
agent = Agent(instructions="You are a helpful assistant.")
session = AgentSession(
# app_id can be found in the tencent cloud console. https://console.cloud.tencent.com/
stt=tencent.STT(app_id=xxx, secret_key=xxx, secret_id=xxx),
)
await session.start(agent=agent, room=ctx.room)
if __name__ == "__main__":
load_dotenv()
cli.run_app(WorkerOptions(entrypoint_fnc=entry_point))
```
Raw data
{
"_id": null,
"home_page": null,
"name": "livekit-plugins-tencent",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "audio, livekit, realtime, video, webrtc",
"author": null,
"author_email": "wangmengdi <790990241@qq.com>",
"download_url": "https://files.pythonhosted.org/packages/ef/b3/ccff7bcdda4d6c80df10e1a2e10c35b6acc36308a62da9818c762a07a9b7/livekit_plugins_tencent-1.2.8.tar.gz",
"platform": null,
"description": "# LiveKit Plugins Tencent\n\nAgent Framework plugin for services from Tencent. currently supports: [STT](https://cloud.tencent.com/document/product/1093/48982#signature).\n\n## Installation\n```python\npip install livekit-plugins-tencent\n```\n\n## Pre-requisites\n\n- tencent STT environment variable: `TENCENT_STT_APP_ID`, `TENCENT_STT_SECRET_KEY`, `TENCENT_STT_ID`\n\n## Usage\n\n\nThis example shows how to use the Tencent STT plugin.\n\n```python\nfrom livekit.agents import Agent, AgentSession, JobContext, cli, WorkerOptions\nfrom livekit.plugins import tencent\nfrom dotenv import load_dotenv\n\n\nasync def entry_point(ctx: JobContext):\n \n await ctx.connect()\n \n agent = Agent(instructions=\"You are a helpful assistant.\")\n\n session = AgentSession(\n # app_id can be found in the tencent cloud console. https://console.cloud.tencent.com/\n stt=tencent.STT(app_id=xxx, secret_key=xxx, secret_id=xxx),\n )\n \n await session.start(agent=agent, room=ctx.room)\n\n\nif __name__ == \"__main__\":\n load_dotenv()\n cli.run_app(WorkerOptions(entrypoint_fnc=entry_point))\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "LiveKit Agent Plugins for Tencent",
"version": "1.2.8",
"project_urls": null,
"split_keywords": [
"audio",
" livekit",
" realtime",
" video",
" webrtc"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4d975cf00b5304a56144cd38b51d90a0610a22d7a6d4a1f356410cad3aa7c324",
"md5": "cd9a0340eedde6df9d2218f2d6225477",
"sha256": "e982ab77b413d91b6e4cecca6c95798f83a406934d4cd57132acb3c4ef511381"
},
"downloads": -1,
"filename": "livekit_plugins_tencent-1.2.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cd9a0340eedde6df9d2218f2d6225477",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 6995,
"upload_time": "2025-09-04T07:48:32",
"upload_time_iso_8601": "2025-09-04T07:48:32.638059Z",
"url": "https://files.pythonhosted.org/packages/4d/97/5cf00b5304a56144cd38b51d90a0610a22d7a6d4a1f356410cad3aa7c324/livekit_plugins_tencent-1.2.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "efb3ccff7bcdda4d6c80df10e1a2e10c35b6acc36308a62da9818c762a07a9b7",
"md5": "4e9373e4dd63c58a6383a07c0d446b45",
"sha256": "2f1acaa8338acb3b072a76148f96c4b9abdfe4c8fff4075a5cc84b2bf23bbfd4"
},
"downloads": -1,
"filename": "livekit_plugins_tencent-1.2.8.tar.gz",
"has_sig": false,
"md5_digest": "4e9373e4dd63c58a6383a07c0d446b45",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7242,
"upload_time": "2025-09-04T07:48:33",
"upload_time_iso_8601": "2025-09-04T07:48:33.945290Z",
"url": "https://files.pythonhosted.org/packages/ef/b3/ccff7bcdda4d6c80df10e1a2e10c35b6acc36308a62da9818c762a07a9b7/livekit_plugins_tencent-1.2.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-04 07:48:33",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "livekit-plugins-tencent"
}