Agent Framework plugin for services from OpenAI
Project description
LiveKit Plugins OpenAI
Agent Framework plugin for services from OpenAI. Currently supports STT, TTS, and Dalle 3.
Installation
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 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file livekit_plugins_openai-1.0.0rc8.tar.gz.
File metadata
- Download URL: livekit_plugins_openai-1.0.0rc8.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47711a87ca4d4988781f7520e95f596e8d4b19901bea6c4821f703083076a702
|
|
| MD5 |
035bb596c072ab001ecfe5740d133b69
|
|
| BLAKE2b-256 |
3ba1d8f56e96934e3461402c83437e281ee8f8e985afe5c8925cb95d86598a00
|
File details
Details for the file livekit_plugins_openai-1.0.0rc8-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_openai-1.0.0rc8-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
871e4b93e5ad0a468433bbcfa135736ed62f321730b6269e5194df7098efee71
|
|
| MD5 |
28077b18b029c39b35526f7d17e9d2e0
|
|
| BLAKE2b-256 |
fa9dba1e83e628971cc3d46b0580dd10ed05a2dd117339dbefdb41127a5da6db
|