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 wirtual-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wirtual_plugins_openai-0.0.1.tar.gz (36.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wirtual_plugins_openai-0.0.1-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file wirtual_plugins_openai-0.0.1.tar.gz.

File metadata

  • Download URL: wirtual_plugins_openai-0.0.1.tar.gz
  • Upload date:
  • Size: 36.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for wirtual_plugins_openai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bce9bcac9f942818270b94f4240a59f7e466594c7c9c7499082a4e5e97531270
MD5 f7e275c7b6782866b283ec4bd695f0c0
BLAKE2b-256 b7d8c79edb19ef92456a3be770003a0eee03a12a166da5f7fbf48909e388b8d1

See more details on using hashes here.

File details

Details for the file wirtual_plugins_openai-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wirtual_plugins_openai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 143ce603c1a60cd965eda8be116560e80ea82e50a0ff4cf67cd9bcb2e4ba94b0
MD5 9785573afdf396610882bdda61a61c4d
BLAKE2b-256 a6b8e9d32696565d5bc32ce551291a7d2513140e57532c67c796f1bfa2057f85

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