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.dev5.tar.gz (19.5 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.dev5-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0.dev5.tar.gz
Algorithm Hash digest
SHA256 f874e5fecb30b2141655675384c42d420c38fa02b7c734d22974b46fec6e1403
MD5 02352d6f14c55e2a6f3a1eb426d392d1
BLAKE2b-256 77915be9a11f4e7d3078458016f77fbcbd42df94489b9323071569b014675399

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for livekit_plugins_openai-1.0.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 e6990d7e2241ae41372785613424312954aa60c5d81b8b435da4f84a86e90ac3
MD5 c945bf7ddd32a7dc843faaa7558851d4
BLAKE2b-256 7aea61de818b513009b8ed82aef5a1c5f55111cf4230d473c980b86fc33d6d3e

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