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.0.dev2.tar.gz (18.4 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.0.dev2-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0.dev2.tar.gz
Algorithm Hash digest
SHA256 df6954efd72fc17401277ceb3a4e395c7b5d9a4811f9e5897ad80a820465c615
MD5 47a2da3cdfffeb1336b61622a7b038fd
BLAKE2b-256 f91e8082b98b5a9af57ffb3b4f4109d3fd938ae5a088274049c7418211b83cb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 aef1ef1060d08afd2a4b556ab3967ee6c15de6c6e79c43a30492f2a18d17ce4a
MD5 678d4ec83c6ea4cbab5257eba1072da0
BLAKE2b-256 e9eac475053b380926568a5683eccfdcb6128c6c2461279478e4f7ef9fb6ab1e

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