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.2.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.2-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wirtual_plugins_openai-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 48b3d3b60b93dcfd97b0c3f4949f227e610713983365be6d04655d89ccceccdc
MD5 9c18540a6081768b2ffa200445504baf
BLAKE2b-256 1ff20c841b34f9b46768d558bc01e9e9fa3241ee81650bba6b40c57ada0f3d2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wirtual_plugins_openai-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 96090c0cd29ae30096e5bdf46458253f4928eec477f098cab09ce0c857c4b18f
MD5 65176bcfc3334c660189624516852cfb
BLAKE2b-256 1d45508954753cc53d70841fcc0d9b47a6089dfbd6740e206e86fd5436676c80

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