# LiveKit Plugins OpenAI
Agent Framework plugin for services from OpenAI. Currently supports STT, TTS, and Dalle 3.
## Installation
```bash
pip install wirtual-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/wirtualdev/wirtual-agents/blob/main/examples/voice-pipeline-agent/openai_assistant.py)
Raw data
{
"_id": null,
"home_page": "https://github.com/wirtualdev/wirtual-agents",
"name": "wirtual-plugins-openai",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9.0",
"maintainer_email": null,
"keywords": "webrtc, realtime, audio, video, wirtual",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/1f/f2/0c841b34f9b46768d558bc01e9e9fa3241ee81650bba6b40c57ada0f3d2d/wirtual_plugins_openai-0.0.2.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 wirtual-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/wirtualdev/wirtual-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.0.2",
"project_urls": {
"Documentation": "https://docs.wirtual.dev",
"Homepage": "https://github.com/wirtualdev/wirtual-agents",
"Source": "https://github.com/wirtualdev/wirtual-agents",
"Website": "https://wirtual.dev/"
},
"split_keywords": [
"webrtc",
" realtime",
" audio",
" video",
" wirtual"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1d45508954753cc53d70841fcc0d9b47a6089dfbd6740e206e86fd5436676c80",
"md5": "65176bcfc3334c660189624516852cfb",
"sha256": "96090c0cd29ae30096e5bdf46458253f4928eec477f098cab09ce0c857c4b18f"
},
"downloads": -1,
"filename": "wirtual_plugins_openai-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "65176bcfc3334c660189624516852cfb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9.0",
"size": 42653,
"upload_time": "2024-12-29T18:29:09",
"upload_time_iso_8601": "2024-12-29T18:29:09.101460Z",
"url": "https://files.pythonhosted.org/packages/1d/45/508954753cc53d70841fcc0d9b47a6089dfbd6740e206e86fd5436676c80/wirtual_plugins_openai-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1ff20c841b34f9b46768d558bc01e9e9fa3241ee81650bba6b40c57ada0f3d2d",
"md5": "9c18540a6081768b2ffa200445504baf",
"sha256": "48b3d3b60b93dcfd97b0c3f4949f227e610713983365be6d04655d89ccceccdc"
},
"downloads": -1,
"filename": "wirtual_plugins_openai-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "9c18540a6081768b2ffa200445504baf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 36317,
"upload_time": "2024-12-29T18:29:11",
"upload_time_iso_8601": "2024-12-29T18:29:11.671255Z",
"url": "https://files.pythonhosted.org/packages/1f/f2/0c841b34f9b46768d558bc01e9e9fa3241ee81650bba6b40c57ada0f3d2d/wirtual_plugins_openai-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-29 18:29:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wirtualdev",
"github_project": "wirtual-agents",
"github_not_found": true,
"lcname": "wirtual-plugins-openai"
}