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

Uploaded Source

Built Distribution

livekit_plugins_openai-0.10.6-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.6.tar.gz
Algorithm Hash digest
SHA256 531815bbc62f385e8395b514746a26602349e59d6db509c454fc5dd7a2f140b5
MD5 b58b65f7e07104fcd1c5f3229f0aa657
BLAKE2b-256 d5cfbdb3c3c60971e5c319d4488b03984344f0721125063269268f1ffa4b9f91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5ca35d1aadb837b0e5bdde768e91a3766141b03202a1f398a3c5ee51c7d5a597
MD5 ba37b2e017799723a92dcb1c34d1d897
BLAKE2b-256 972aa3c6c268ce7a2ca463dfe67c5653ab5bbfba00c8a23cb5dee30e40aee764

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