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.0rc8.tar.gz (23.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-1.0.0rc8-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc8.tar.gz
Algorithm Hash digest
SHA256 47711a87ca4d4988781f7520e95f596e8d4b19901bea6c4821f703083076a702
MD5 035bb596c072ab001ecfe5740d133b69
BLAKE2b-256 3ba1d8f56e96934e3461402c83437e281ee8f8e985afe5c8925cb95d86598a00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc8-py3-none-any.whl
Algorithm Hash digest
SHA256 871e4b93e5ad0a468433bbcfa135736ed62f321730b6269e5194df7098efee71
MD5 28077b18b029c39b35526f7d17e9d2e0
BLAKE2b-256 fa9dba1e83e628971cc3d46b0580dd10ed05a2dd117339dbefdb41127a5da6db

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