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-0.10.14.tar.gz (36.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-0.10.14-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.14.tar.gz
Algorithm Hash digest
SHA256 b9378707fd7d5f15dd65af59c099a87b1d6321a97ae29fae7d30c25a66efacf1
MD5 4f6af018eb897735307a5c8503777917
BLAKE2b-256 e983b0b0d071bb7eeb07a11478e6bfd9ce218a08560309a1ae84f06e7c4e6201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8b71a56df61e2afdbf9e8749677e25863d89cef52762c29e190245a977300b9d
MD5 a5d6c86a144010f3bd38938941414987
BLAKE2b-256 a3b988a22994ca64175e3722cff23ddec0bcd0941cc147c5b2381718fa2fc21a

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