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.9.tar.gz (34.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.9-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for livekit_plugins_openai-0.10.9.tar.gz
Algorithm Hash digest
SHA256 4eb18337d8af6a8e54e34efbc1d0d77b962560bed4bb9859d21e010d04a9c213
MD5 5842b0b50d4533a41a1a42b9ee8764f6
BLAKE2b-256 431a27d83f579c9c723094b94a732995b6bb234cbcc5cb4a5588c82a517d6b89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-0.10.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2f07b7a461cca454a4b176c7406a4284bfb9116e1606808a27bb967551fbcd
MD5 40687b5adbd7d4cc1e939818383ffbcb
BLAKE2b-256 60b4eed1586d5d399cfff7b50ff471a1c078fda8e301dfc49987cc8333176904

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