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.10.tar.gz (35.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-0.10.10-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: livekit_plugins_openai-0.10.10.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for livekit_plugins_openai-0.10.10.tar.gz
Algorithm Hash digest
SHA256 0a0691669b00932622beb53f07c711f845c053967f287d392ff56b6cca98aede
MD5 5e8f03e7feeb4f4564bc1caf01907e24
BLAKE2b-256 dcd5ee0b38d732c49ebc086019a8a3114ea1505f8874f7b70083dbdb425ee132

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f070e9042455e1f4ca8d084ef66da6aec9c31cd979c7e6d12ed9db1e6bde7ffb
MD5 50df83dc5af3160b12949d888b1e2c4b
BLAKE2b-256 8f8035192a134cb6be9e11f4a073ca4f49d1d293f6473a6d26b144ac2526a058

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