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


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

Uploaded Source

Built Distribution

livekit_plugins_openai-0.10.5-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.5.tar.gz
Algorithm Hash digest
SHA256 3c42cf247d9fff4d04b09f509da34a54e86e7b0310bef8ac2aaa181309ef77ec
MD5 84f0775647eaeba16b20613e45b614dd
BLAKE2b-256 e828fe1ad1548010e3261d8e769f768d1c410ca6db55da3eadebb796ad510cf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 436d97829cdd7b24a60e5bc8f317a3b3bed02d2e74a30a2ca8526c1779580cc1
MD5 95dd606c16301343ab2181372fb6fe3d
BLAKE2b-256 3c7a86256e4f54b7b1d96baf087203610df42800c97aabbb226bec52c96922b8

See more details on using hashes here.

Supported by

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