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.0rc2.tar.gz (22.5 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.0rc2-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 bf850333450d9d11444f26beba2813fb9416576c0e2199dd90cd55f7f1856bfb
MD5 0ada12e440200f78faa010cce542c1ee
BLAKE2b-256 d25eec927751350e26bfeb9fe9aaaa597a411311709d15cd44db508f75738719

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d4ef305957686ff6da812b05fa4f3f26dd8bbe30ab2b745cdd25dfb7c992cc5
MD5 096908a50891fe34e7663d3348c4ab85
BLAKE2b-256 589b8c641726eeee31b171cd79945ba60b192000b7bd7fbf0a02ff7277f216c6

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