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-0.12.2.tar.gz (40.0 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-0.12.2-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_openai-0.12.2.tar.gz.

File metadata

  • Download URL: livekit_plugins_openai-0.12.2.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for livekit_plugins_openai-0.12.2.tar.gz
Algorithm Hash digest
SHA256 19765e8084ddb540e51e1a41f37bb52e7261d5e2cd2ceb66f50c53cce509294e
MD5 d7666f80c787b1f6136303d53281e31c
BLAKE2b-256 4bf945b46069c2d485c431acd987fa1eee2a9f3dd9166117f491ad60b49624bb

See more details on using hashes here.

File details

Details for the file livekit_plugins_openai-0.12.2-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_openai-0.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 beec0a61f5202bbb5e3b5723c4b8f26d21a90f1677c12e9d18bd2019d2b63496
MD5 4727f4141bce0358ff597122b17bbe4b
BLAKE2b-256 6ab8e5d99d2bd3d7f90b33fc25070805e9541d74d5b45118e509f92b5f91206e

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