# 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/e4/e6/f7b6b4e113ca8058c7a3957f05dfe86529afff73e1471e812d0e13e6cd7d/livekit_plugins_tencent-1.2.0.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.0",
"project_urls": null,
"split_keywords": [
"audio",
" livekit",
" realtime",
" video",
" webrtc"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e78d2f227be306a3006eb13874375a1f098302ba180c415fa4f6cf880302de2c",
"md5": "680691c6fd39c9694e6dbb7852958c2d",
"sha256": "e072dc24902168716fa67ea2ab672188e7560e627f5b9f962a195e913347cb2c"
},
"downloads": -1,
"filename": "livekit_plugins_tencent-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "680691c6fd39c9694e6dbb7852958c2d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 6996,
"upload_time": "2025-07-23T02:53:53",
"upload_time_iso_8601": "2025-07-23T02:53:53.780653Z",
"url": "https://files.pythonhosted.org/packages/e7/8d/2f227be306a3006eb13874375a1f098302ba180c415fa4f6cf880302de2c/livekit_plugins_tencent-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e4e6f7b6b4e113ca8058c7a3957f05dfe86529afff73e1471e812d0e13e6cd7d",
"md5": "2f87ffbc12187a7c2dd583994e5b8f43",
"sha256": "b4d73cc59201e18288481e5da3ece72b5aacebc6802ec73f368c4963a805033f"
},
"downloads": -1,
"filename": "livekit_plugins_tencent-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "2f87ffbc12187a7c2dd583994e5b8f43",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7243,
"upload_time": "2025-07-23T02:53:54",
"upload_time_iso_8601": "2025-07-23T02:53:54.716883Z",
"url": "https://files.pythonhosted.org/packages/e4/e6/f7b6b4e113ca8058c7a3957f05dfe86529afff73e1471e812d0e13e6cd7d/livekit_plugins_tencent-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-23 02:53:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "livekit-plugins-tencent"
}