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.16.tar.gz (36.6 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.16-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for livekit_plugins_openai-0.10.16.tar.gz
Algorithm Hash digest
SHA256 5caa28b70421d5b51ba6b354764c7ed15ab0182d1d14358b7d6d8e1455714d26
MD5 094e5ba3f1a872c711e2614a0e9eb32d
BLAKE2b-256 456c0bf25ac0ba85852c90cbdd7d977d15d31c385d0da1994b384281def21b55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.16-py3-none-any.whl
Algorithm Hash digest
SHA256 3d1ee3ce4caa9c28a036f41c9abbca47b1166da4732170ee847edbc74db2e588
MD5 e3d8a5b4e134378cf4bb486fe14f9abd
BLAKE2b-256 7c91a42b442948833906e26eddca62672ceb7db77b90eecc41c745c0a5dff0f0

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