Skip to main content

A streaming library for creating voice bots using LLMs. Connects LLMs to speech recognition and speech synthesis APIs.

Project description

voice-stream: Creating voice bots from LLMs.

PyPI Tests Documentation Status License: MIT Python Versions Black Poetry

VoiceStream is a framework for building voice bots using language models.

  • Integrates with LangChain so you can take any LLM application.
  • Makes it easy to use different TTS and Speech Recognition models
  • Uses asyncio and streaming throughout to provide a great user experience.
  • Handles voice specific conversation flows, like interrupting the current speaker.

Install

VoiceStream is distributed on PyPI. To install, run:

pip install voice-stream

This will install the bare minimum requirements of VoiceStream. A lot of the value of VoiceStream comes when integrating it with different audio sources, speech recognition and text to speech systems. By default, the dependencies needed to do that are NOT installed. You will need to install the dependencies for specific integrations separately.

Contributing

VoiceStream is a volunteer maintained open source project, and we welcome contributions of all forms. Please take a look at our Contributing Guide for more information.

License

This project is licensed under the MIT License.

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

voice_stream-0.3.6.tar.gz (27.9 kB view hashes)

Uploaded Source

Built Distribution

voice_stream-0.3.6-py3-none-any.whl (34.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page