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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc6.tar.gz
Algorithm Hash digest
SHA256 fce66a0ea46d9f07ddea2be1fb7d4f45265b13999efa88e71e1653fd100e392b
MD5 4dca5bdf9e87532552b5f8280f96620e
BLAKE2b-256 8368fdab1842f7cec65a6628dae353cd74bceed67f9e64dd3cef7b5e7cfce25d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0rc6-py3-none-any.whl
Algorithm Hash digest
SHA256 a8f3601484e23b9f13979ae2db95b38fe507e24b888bdfa10f101a0262b2b051
MD5 c482f92e733aaf42ff1217c9c336207a
BLAKE2b-256 f94adf7ae41754260a4ff01c74e7fb11b0afbb4af9ecd9c000fcc0404e51cc33

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