livekit-plugins-stepfun


Namelivekit-plugins-stepfun JSON
Version 1.2.8 PyPI version JSON
download
home_pageNone
SummaryLiveKit Agent Plugins for Stepfun
upload_time2025-09-04 07:48:31
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords audio livekit realtime video webrtc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # livekit-plugins-stepfun

阶跃星辰[livekit-agent](https://github.com/livekit/agents)插件。目前支持[Realtime](https://platform.stepfun.com/docs/api-reference/realtime/chat)

## 安装
```python
pip install livekit-plugins-stepfun
```

## 环境变量

- Stepfun Realtime: `STEPFUN_REALTIME_API_KEY`

## 使用示例


```python
from livekit.agents import Agent, AgentSession, JobContext, cli, WorkerOptions
from livekit.plugins import stepfun
from dotenv import load_dotenv


async def entry_point(ctx: JobContext):
    
    await ctx.connect()
    
    agent = Agent(instructions="You are a helpful assistant.")

    session = AgentSession(
        llm=stepfun.RealtimeModel(voice="ganliannvsheng")
    )
    
    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-stepfun",
    "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/77/07/edce811a741eedd60c8671ececd185f07db1f668f0ffa5fe67c802b54eff/livekit_plugins_stepfun-1.2.8.tar.gz",
    "platform": null,
    "description": "# livekit-plugins-stepfun\n\n\u9636\u8dc3\u661f\u8fb0[livekit-agent](https://github.com/livekit/agents)\u63d2\u4ef6\u3002\u76ee\u524d\u652f\u6301[Realtime](https://platform.stepfun.com/docs/api-reference/realtime/chat)\n\n## \u5b89\u88c5\n```python\npip install livekit-plugins-stepfun\n```\n\n## \u73af\u5883\u53d8\u91cf\n\n- Stepfun Realtime: `STEPFUN_REALTIME_API_KEY`\n\n## \u4f7f\u7528\u793a\u4f8b\n\n\n```python\nfrom livekit.agents import Agent, AgentSession, JobContext, cli, WorkerOptions\nfrom livekit.plugins import stepfun\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        llm=stepfun.RealtimeModel(voice=\"ganliannvsheng\")\n    )\n    \n    await session.start(agent=agent, room=ctx.room)\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 Stepfun",
    "version": "1.2.8",
    "project_urls": null,
    "split_keywords": [
        "audio",
        " livekit",
        " realtime",
        " video",
        " webrtc"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0bb791e9a6d322b8ca2ecc5c3860607ac63bd1265bd6ea920fcb79473572dd8c",
                "md5": "b87b28799f5a8d9848eb155cd5b0a1af",
                "sha256": "822caabb8c2ef406c2ed1320a469305c42543c634902fa880a0ef97d1b5483d1"
            },
            "downloads": -1,
            "filename": "livekit_plugins_stepfun-1.2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b87b28799f5a8d9848eb155cd5b0a1af",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 17360,
            "upload_time": "2025-09-04T07:48:30",
            "upload_time_iso_8601": "2025-09-04T07:48:30.639131Z",
            "url": "https://files.pythonhosted.org/packages/0b/b7/91e9a6d322b8ca2ecc5c3860607ac63bd1265bd6ea920fcb79473572dd8c/livekit_plugins_stepfun-1.2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7707edce811a741eedd60c8671ececd185f07db1f668f0ffa5fe67c802b54eff",
                "md5": "57f7eca245ba0e138006f1de5611882f",
                "sha256": "424ff34f81e1f8e4bec07f4b69446f1900e730285a0a2faf0fbee03bf54ca3df"
            },
            "downloads": -1,
            "filename": "livekit_plugins_stepfun-1.2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "57f7eca245ba0e138006f1de5611882f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 17115,
            "upload_time": "2025-09-04T07:48:31",
            "upload_time_iso_8601": "2025-09-04T07:48:31.920266Z",
            "url": "https://files.pythonhosted.org/packages/77/07/edce811a741eedd60c8671ececd185f07db1f668f0ffa5fe67c802b54eff/livekit_plugins_stepfun-1.2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-04 07:48:31",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "livekit-plugins-stepfun"
}
        
Elapsed time: 1.28220s