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.19.tar.gz (36.9 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.19-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: livekit_plugins_openai-0.10.19.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for livekit_plugins_openai-0.10.19.tar.gz
Algorithm Hash digest
SHA256 999b7d80a9992ca822a0506cb5fac79b184864d68cac206e9e597a6604f94b98
MD5 18a5f99be7d0af5618c9828c3a7c56fe
BLAKE2b-256 7739049609a03dd5e74d3e1c67b485cd877b2dfe43e3ee037c5e1cbfc8f7635a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.19-py3-none-any.whl
Algorithm Hash digest
SHA256 9ccf38902ac0f6d887a61fe6497c971f2250f2fa51a9ecd71c25548b1b764c3e
MD5 b47346126a4cc57cab940f802adb5117
BLAKE2b-256 c078f683893c3949b2bc7a96915fedd4c3e0ba83a69efc5584e3aee86adbc54e

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