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.0rc5.tar.gz (22.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-1.0.0rc5-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_openai-1.0.0rc5.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc5.tar.gz
Algorithm Hash digest
SHA256 ead53faf93d28e9123b8e0b57c05f7e2d03478f6c8b322c0ae50380db2f0e72c
MD5 f16d1d8768cf0d6b84cb8006852e6d3c
BLAKE2b-256 74823ed00529e70c2d49d547d4e72cd37df34e48875e01d2ce7e8fa3c9f72e0e

See more details on using hashes here.

File details

Details for the file livekit_plugins_openai-1.0.0rc5-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 b3f7020fd020aeadec33fca1219310a62fedbf8fd88c75a7ccc74affca3e1b75
MD5 3544f4f5f0ec83265202325788bf3793
BLAKE2b-256 3d726861c0873f2655d5a7d1ed039fe0bc62eaedb020de4eb646b103ebacd301

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