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.17.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

livekit_plugins_openai-1.0.17-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_openai-1.0.17.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.17.tar.gz
Algorithm Hash digest
SHA256 c552abf1c60ef982b331b7a518a20f6878a907aa124d3cbe9e35f63d4526ccfa
MD5 50f0d4474917a5f106a524e1378d1f24
BLAKE2b-256 b23f15ea93834ec8d1f7dad36d6d9662cfe8a7ceb9c08558aef29cb7f9f18184

See more details on using hashes here.

File details

Details for the file livekit_plugins_openai-1.0.17-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 f73318abcb5cb6baf55cb77e55f5b6788e121c68b23a4c87d97a1edc230c3cdc
MD5 5b08b551eca7817e4a271f963451b3bd
BLAKE2b-256 a2c9fbaa7fa6de61aa4533621fe80e0007ade14f44e0728fc13fbcfc7ebd4916

See more details on using hashes here.

Supported by

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