Skip to main content

voice-stream: Creating voice bots from LLMs.

PyPI Tests Documentation Status License: MIT Python Versions Black Poetry

Quick 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.

🤔 What is VoiceStream

VoiceStream is a framework for building voicebots using language models.

  • Integrates with LangChain so you can take any LLM application.
  • Makes it easy to use different Text-To-Speech 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.

VoiceStream is built to make it easy to build voice applications on top of LangChain, but can work with any LLM framework.

🧱 What can you build with VoiceStream?

  • :robot: VoiceBots - Chatbots that you can talk and listen to instead of typing.
  • :telephone_receiver: Automated Telephone Calls - Make automated phone calls powered by LLMs and rich-content
  • :teacher: Voice Assistants - Build your own voice assistant that can do anything you want.

🚀 How does VoiceStream help?

The main value props of VoiceStream are:

  1. Components - Modular and easy-to-use components for audio input/output, speech recognition, and text to speech.
  2. Streaming - Audio programming can be tricky in Python. VoiceStream provides simple streaming commands that make it easy to string together audio applications.

📖 Documentation

Please see here for full documentation, which includes:

From here, explore the rest of the documentation to learn more about VoiceStream.

  • Quickstart - Build a fully functional voicebot in 15 minutes.
  • Concepts - A methodical intro to the concepts underlying VoiceStream.
  • Cookbook - How to take advantage of the various capability of VoiceStream.
  • GitHub Examples - To view and run the code for fully worked examples.
  • API Reference - If you are into reading API docs directly.

💁 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.

:classical_building: License

This project is licensed under the MIT License.

Release files for voice-stream 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voice-stream 0.10.0
File Size Uploaded
voice_stream-0.10.0.tar.gz 64.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for voice-stream 0.10.0
File Interpreter ABI Platform
voice_stream-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 139.6 kB

Release files / voice_stream-0.10.0.tar.gz

Download URL voice_stream-0.10.0.tar.gz
Size 64.2 kB
Tags Source
SHA-256 checksum
How to use checksums
792fdbd23ee400ad5c7129d69fb2330fb60ccb9a926f6f91cbe76aafe0a86267
BLAKE2b-256 checksum
How to use checksums
1d75609f953dfcc49637f3eb2dd27df011388eae36a10b764ad7efac251f76bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / voice_stream-0.10.0-py3-none-any.whl

Download URL voice_stream-0.10.0-py3-none-any.whl
Size 75.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53d331bb7215c8032b077375df2378e512c29009f63c5aa778837a4290ed150b
BLAKE2b-256 checksum
How to use checksums
21691e0cf3a2a0102d165503c943b30b47a71f82d05111f64d3e9228423309a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page