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.0rc7.tar.gz (23.3 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.0rc7-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc7.tar.gz
Algorithm Hash digest
SHA256 8734d5853cba201fae81cd12e69f55deded5ed6ef059d976c63c3da5598e4769
MD5 b4d65997ffdffbe7722f282ddab20de2
BLAKE2b-256 9a2de6b1f27aa534948c70e52d3316d323fe24d71906cceb50c08706e2c797fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc7-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f4b9a0f130891603c111794711e3c284ca31c1af63600e7c6dc724efd1ed44
MD5 ba9f6f20331f511d58e7f9373338f2c6
BLAKE2b-256 08f3c4320e98c9dcc40a03fe9ba42e5db83a70f1c5e65cfec0e11e172859cb8a

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