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.14.tar.gz (27.0 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.14-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.14.tar.gz
Algorithm Hash digest
SHA256 c9b8c6174b62d2f285317004c539b6342827e4950f0055fc2795fa232fdac1d7
MD5 e7e6e2e0f04e93815e31d17d0e38e3f4
BLAKE2b-256 3aee4254dddcd1ecf5c8c8f8b1cf76e078de4d48df93cf58970fe9985b64cdd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 e79acb36a1fc1889731c16e1697a940110859257c74a019a3e1a2aaa8718b8f9
MD5 e6abcf1721a150173adff77265a6b276
BLAKE2b-256 92d12ab3038535b932ec8cb756353faa8ab342512bb5d751e1ef287f4a35b637

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