livekit-plugins-openai


Namelivekit-plugins-openai JSON
Version 0.10.11 PyPI version JSON
download
home_pagehttps://github.com/livekit/agents
SummaryAgent Framework plugin for services from OpenAI
upload_time2024-12-21 07:24:53
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/72/bd/16cd33496382a56894ff87b5cbc120493f8b88d099ddcd863f232b2d3e0e/livekit_plugins_openai-0.10.11.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.11",
    "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": "a3f946ef2da5ac19b5dc955b24f194ee56becc5cfe22d8df60186fa8f316cec5",
                "md5": "f2cb42b9e495f50d8bf61b92e4230f29",
                "sha256": "15dace767c5f21f2235523e019bd4bddc523d91429e917b58faae296d417ed45"
            },
            "downloads": -1,
            "filename": "livekit_plugins_openai-0.10.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f2cb42b9e495f50d8bf61b92e4230f29",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9.0",
            "size": 42459,
            "upload_time": "2024-12-21T07:24:46",
            "upload_time_iso_8601": "2024-12-21T07:24:46.039129Z",
            "url": "https://files.pythonhosted.org/packages/a3/f9/46ef2da5ac19b5dc955b24f194ee56becc5cfe22d8df60186fa8f316cec5/livekit_plugins_openai-0.10.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72bd16cd33496382a56894ff87b5cbc120493f8b88d099ddcd863f232b2d3e0e",
                "md5": "538d700c1e6e745a4372421e0c5c191e",
                "sha256": "194119e25ac4b7a71cb015101f62c0a9f4d8aa5d6b2149e85b3c3e70edd535e2"
            },
            "downloads": -1,
            "filename": "livekit_plugins_openai-0.10.11.tar.gz",
            "has_sig": false,
            "md5_digest": "538d700c1e6e745a4372421e0c5c191e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9.0",
            "size": 36028,
            "upload_time": "2024-12-21T07:24:53",
            "upload_time_iso_8601": "2024-12-21T07:24:53.494052Z",
            "url": "https://files.pythonhosted.org/packages/72/bd/16cd33496382a56894ff87b5cbc120493f8b88d099ddcd863f232b2d3e0e/livekit_plugins_openai-0.10.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-21 07:24:53",
    "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.39369s