Skip to main content

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

livekit_plugins_openai-1.0.0.dev0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livekit_plugins_openai-1.0.0.dev0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_openai-1.0.0.dev0.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 ddb0991f60c7f64b89441878d497eaf660204fcfe2a82e7abc899665baf72f15
MD5 38374ad62c809676e1d901664c0da806
BLAKE2b-256 7363e6bbeb3d2778a2361a9ba93f2be0584405769bcbf108ebc1f179ad4dfc03

See more details on using hashes here.

File details

Details for the file livekit_plugins_openai-1.0.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5789d7d44b995e019841c60ebe1df03461667c71463af6fcc0eb1ecb611a5c7
MD5 4c4f9ede595a7eaf72a601d9a7ae963b
BLAKE2b-256 2ea7c4f6b1122f5096c576d2cc5e88a3b9f5420a9ccbba163fd03ba27e65481f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page