Skip to main content

LiveKit Plugins OpenAI

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

Installation

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 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

Metadata

Release files for wirtual-plugins-openai 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wirtual-plugins-openai 0.0.2
File Size Uploaded
wirtual_plugins_openai-0.0.2.tar.gz 36.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wirtual-plugins-openai 0.0.2
File Interpreter ABI Platform
wirtual_plugins_openai-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 79.0 kB

Release files / wirtual_plugins_openai-0.0.2.tar.gz

Download URL wirtual_plugins_openai-0.0.2.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
48b3d3b60b93dcfd97b0c3f4949f227e610713983365be6d04655d89ccceccdc
BLAKE2b-256 checksum
How to use checksums
1ff20c841b34f9b46768d558bc01e9e9fa3241ee81650bba6b40c57ada0f3d2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release files / wirtual_plugins_openai-0.0.2-py3-none-any.whl

Download URL wirtual_plugins_openai-0.0.2-py3-none-any.whl
Size 42.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96090c0cd29ae30096e5bdf46458253f4928eec477f098cab09ce0c857c4b18f
BLAKE2b-256 checksum
How to use checksums
1d45508954753cc53d70841fcc0d9b47a6089dfbd6740e206e86fd5436676c80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page