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.12.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.12-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.12.tar.gz
Algorithm Hash digest
SHA256 fc5a5ea8cd43bad26bdb6719a2fdf7df2d411195ad01b626b425e7ce2c21ced6
MD5 533568401853ac7e8cf4228b6512b9bf
BLAKE2b-256 9c39ebea9562af087054bd03d6d878406f74eb9cc54b7d1d88a333c68c12d535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 69b68496d9912ff50dc6e9e22f4230b2881c8230a101f194835487b983a9ed56
MD5 e37ed1778e7e4ecbb63c26e166cb010f
BLAKE2b-256 8fa5b6be1a071badd5d6b4f5d56022f19c99a8fa80bccdf2b7f87af180093d75

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