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.0rc4.tar.gz (22.7 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.0rc4-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_openai-1.0.0rc4.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 ed443acce2e9e70583f183583f48307073c0b94a1a83ffca79a1a0ce0c8bfcfa
MD5 ef8f89335e4824cbed723350b466da9d
BLAKE2b-256 e452edbebe0c1adeb0002df9f2f3c1d85c5854324ef202cc1967d6991a2f4cdd

See more details on using hashes here.

File details

Details for the file livekit_plugins_openai-1.0.0rc4-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 84093b01df49643a85227ddc926b1e1db0074135be1c9d6fb0871a6e6b1992c4
MD5 80f48ad3bf89adbeca8daecd62664c4e
BLAKE2b-256 5515e37155d75656c8b82dfb9acf4e924eb4968d9c336d3ef1f52b53468d3b88

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