livekit-plugins-openai


Namelivekit-plugins-openai JSON
Version 0.12.3 PyPI version JSON
download
home_pagehttps://github.com/livekit/agents
SummaryAgent Framework plugin for services from OpenAI
upload_time2025-04-01 07:36:58
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/16/6f/f26c05c49afa4470a270d0760cb1cc8f1cb7f96c87f3629148fc6ac5e6b5/livekit_plugins_openai-0.12.3.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.12.3",
    "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": null,
            "digests": {
                "blake2b_256": "49dffea4dcf3f2a96c7bf2314c076f39f84e5f093f203d06319b37d4b4f769e7",
                "md5": "1f30aa6932d4180fa45bdb33bea12cad",
                "sha256": "861c69f7889770aa2aacd05e8a1aa21e3f9d22b31b9efcb2796cfb9f27696838"
            },
            "downloads": -1,
            "filename": "livekit_plugins_openai-0.12.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1f30aa6932d4180fa45bdb33bea12cad",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9.0",
            "size": 47504,
            "upload_time": "2025-04-01T07:36:51",
            "upload_time_iso_8601": "2025-04-01T07:36:51.764005Z",
            "url": "https://files.pythonhosted.org/packages/49/df/fea4dcf3f2a96c7bf2314c076f39f84e5f093f203d06319b37d4b4f769e7/livekit_plugins_openai-0.12.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "166ff26c05c49afa4470a270d0760cb1cc8f1cb7f96c87f3629148fc6ac5e6b5",
                "md5": "50336a3878dfa3b0c46577513619f066",
                "sha256": "3a39668c2f3479ed96b9480a816b6443b62b35344229cf49e8afe7540b2e67f9"
            },
            "downloads": -1,
            "filename": "livekit_plugins_openai-0.12.3.tar.gz",
            "has_sig": false,
            "md5_digest": "50336a3878dfa3b0c46577513619f066",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9.0",
            "size": 40548,
            "upload_time": "2025-04-01T07:36:58",
            "upload_time_iso_8601": "2025-04-01T07:36:58.644857Z",
            "url": "https://files.pythonhosted.org/packages/16/6f/f26c05c49afa4470a270d0760cb1cc8f1cb7f96c87f3629148fc6ac5e6b5/livekit_plugins_openai-0.12.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-04-01 07:36:58",
    "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.44687s