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.13.tar.gz (25.2 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.13-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.13.tar.gz
Algorithm Hash digest
SHA256 3ce2debadfd12e15f30f8857e8bc7ab5a2c8e11fbc2055dcce28913b4de78bc8
MD5 ffb3dcbfdaba6c124f87a43e6253d098
BLAKE2b-256 b20020cf6ff41e432634807d0e9080c1d0b19949a5c669e9bcda9a9db12972d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 eb266b62b8cdec5a6f122d8aa13f536fb6a7c50080c46ea1d456323b1393b156
MD5 7dcd4b138787eb4e1e65dc5c488c1443
BLAKE2b-256 ca2937fa71a47f34dce6dae421183988dd030c608da1151caf7bcbce631a7c0d

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