livekit-plugins-openai


Namelivekit-plugins-openai JSON
Version 0.10.15 PyPI version JSON
download
home_pagehttps://github.com/livekit/agents
SummaryAgent Framework plugin for services from OpenAI
upload_time2025-01-12 23:44:12
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9.0
licenseApache-2.0
keywords webrtc realtime audio video livekit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LiveKit Plugins OpenAI

Agent Framework plugin for services from OpenAI. Currently supports STT, TTS, and Dalle 3.

## Installation

```bash
pip install livekit-plugins-openai
```

## Pre-requisites

You'll need an API key from OpenAI. It can be set as an environment variable: `OPENAI_API_KEY`

## OpenAI Beta Features

### Assistants API

In addition to LLM, STT, and TTS, this package also supports using [OpenAI's Assistants API](https://platform.openai.com/docs/assistants/overview) as a LLM.

The Assistants API is a stateful API that holds the conversation state on the server-side.

The `AssistantLLM` class gives you a LLM-like interface to interact with the Assistant API.

For examples of using Assistants API with VoicePipelineAssistant, see the [openai assistants API example](https://github.com/livekit/agents/blob/main/examples/voice-pipeline-agent/openai_assistant.py)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/livekit/agents",
    "name": "livekit-plugins-openai",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9.0",
    "maintainer_email": null,
    "keywords": "webrtc, realtime, audio, video, livekit",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/4a/57/0e046a5ede92ec945bd9a2db130e2710aa7af07c1f25e810185bc162bcfe/livekit_plugins_openai-0.10.15.tar.gz",
    "platform": null,
    "description": "# LiveKit Plugins OpenAI\n\nAgent Framework plugin for services from OpenAI. Currently supports STT, TTS, and Dalle 3.\n\n## Installation\n\n```bash\npip install livekit-plugins-openai\n```\n\n## Pre-requisites\n\nYou'll need an API key from OpenAI. It can be set as an environment variable: `OPENAI_API_KEY`\n\n## OpenAI Beta Features\n\n### Assistants API\n\nIn addition to LLM, STT, and TTS, this package also supports using [OpenAI's Assistants API](https://platform.openai.com/docs/assistants/overview) as a LLM.\n\nThe Assistants API is a stateful API that holds the conversation state on the server-side.\n\nThe `AssistantLLM` class gives you a LLM-like interface to interact with the Assistant API.\n\nFor examples of using Assistants API with VoicePipelineAssistant, see the [openai assistants API example](https://github.com/livekit/agents/blob/main/examples/voice-pipeline-agent/openai_assistant.py)\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Agent Framework plugin for services from OpenAI",
    "version": "0.10.15",
    "project_urls": {
        "Documentation": "https://docs.livekit.io",
        "Homepage": "https://github.com/livekit/agents",
        "Source": "https://github.com/livekit/agents",
        "Website": "https://livekit.io/"
    },
    "split_keywords": [
        "webrtc",
        " realtime",
        " audio",
        " video",
        " livekit"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4100e8b8089eb24677f8f88474433ba698cb58fdd9c7c097a95fdef0a2d4c1e4",
                "md5": "207877b855fcf1d94d370a109d0352e6",
                "sha256": "e0f4903376bc06f8ec7657b8c309bdfce0e2deeb50d626bc89862a9317e09202"
            },
            "downloads": -1,
            "filename": "livekit_plugins_openai-0.10.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "207877b855fcf1d94d370a109d0352e6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9.0",
            "size": 42798,
            "upload_time": "2025-01-12T23:43:58",
            "upload_time_iso_8601": "2025-01-12T23:43:58.797228Z",
            "url": "https://files.pythonhosted.org/packages/41/00/e8b8089eb24677f8f88474433ba698cb58fdd9c7c097a95fdef0a2d4c1e4/livekit_plugins_openai-0.10.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a570e046a5ede92ec945bd9a2db130e2710aa7af07c1f25e810185bc162bcfe",
                "md5": "1d82bd39973301a0b6865f2ebb99fee9",
                "sha256": "cbf16b9ad07b3a68410731fb6e76982203d447a645a55df481cfdf1c52fc2c20"
            },
            "downloads": -1,
            "filename": "livekit_plugins_openai-0.10.15.tar.gz",
            "has_sig": false,
            "md5_digest": "1d82bd39973301a0b6865f2ebb99fee9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9.0",
            "size": 36420,
            "upload_time": "2025-01-12T23:44:12",
            "upload_time_iso_8601": "2025-01-12T23:44:12.562413Z",
            "url": "https://files.pythonhosted.org/packages/4a/57/0e046a5ede92ec945bd9a2db130e2710aa7af07c1f25e810185bc162bcfe/livekit_plugins_openai-0.10.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-12 23:44:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "livekit",
    "github_project": "agents",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "livekit-plugins-openai"
}
        
Elapsed time: 0.40097s