voice-stream


Namevoice-stream JSON
Version 0.10.0 PyPI version JSON
download
home_pagehttps://github.com/DaveDeCaprio/voice-stream
SummaryA streaming library for creating voice bots using LLMs. Connects LLMs to speech recognition and speech synthesis APIs.
upload_time2024-01-29 18:21:01
maintainer
docs_urlNone
authorDave DeCaprio
requires_python>=3.9,<4.0
licenseMIT
keywords voicebot genai twilio llm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # voice-stream: Creating voice bots from LLMs.

![PyPI](https://img.shields.io/pypi/v/voice-stream)
[![Tests](https://github.com/DaveDeCaprio/voice-stream/actions/workflows/tests.yml/badge.svg)](https://github.com/DaveDeCaprio/voice-stream/actions/workflows/tests.yml)
[![Documentation Status](https://readthedocs.org/projects/voice-stream/badge/?version=latest)](https://voice-stream.readthedocs.io/en/latest/?badge=latest)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![Python Versions](https://img.shields.io/pypi/pyversions/voice-stream)
[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)

## Quick Install

<!-- start install -->
VoiceStream is distributed on [PyPI].  To install, run:

   ```text
   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.

[pypi]: https://pypi.org/project/voice-stream/
<!-- end install -->

## 🤔 What is VoiceStream

<!-- start elevator-pitch -->

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.
1. **Streaming** - Audio programming can be tricky in Python.  VoiceStream provides simple streaming commands that make it easy to string together audio applications. 

<!-- end elevator-pitch -->

## 📖 Documentation

Please see [here](https://voice-stream.readthedocs.io/en/latest/) for full documentation, which includes:

<!-- start doc-highlights -->
From here, explore the rest of the documentation to learn more about VoiceStream.
* [Quickstart](https://voice-stream.readthedocs.io/en/latest/getting_started/index.html) - Build a fully functional voicebot in 15 minutes.
* [Concepts](https://voice-stream.readthedocs.io/en/latest/concepts/index.html) - A methodical intro to the concepts underlying VoiceStream.
* [Cookbook](https://voice-stream.readthedocs.io/en/latest/cookbook/index.html) - How to take advantage of the various capability of VoiceStream.
* [GitHub Examples](https://github.com/DaveDeCaprio/voice-stream/blob/main/examples) - To view and run the code for fully worked examples.
* [API Reference](https://voice-stream.readthedocs.io/en/latest/reference/index.html) - If you are into reading API docs directly.

<!-- end doc-highlights -->

## 💁 Contributing

VoiceStream is a volunteer maintained open source project, and we welcome contributions of all forms. Please take a look at our [Contributing Guide](https://voice-stream.readthedocs.io/en/latest/contributing/index.html) for more information.

<!-- start license -->
## :classical_building: License

This project is licensed under the [**MIT License**](https://choosealicense.com/licenses/mit/).
<!-- end license -->


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DaveDeCaprio/voice-stream",
    "name": "voice-stream",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "voicebot,genai,twilio,llm",
    "author": "Dave DeCaprio",
    "author_email": "daved@alum.mit.edu",
    "download_url": "https://files.pythonhosted.org/packages/1d/75/609f953dfcc49637f3eb2dd27df011388eae36a10b764ad7efac251f76bc/voice_stream-0.10.0.tar.gz",
    "platform": null,
    "description": "# voice-stream: Creating voice bots from LLMs.\n\n![PyPI](https://img.shields.io/pypi/v/voice-stream)\n[![Tests](https://github.com/DaveDeCaprio/voice-stream/actions/workflows/tests.yml/badge.svg)](https://github.com/DaveDeCaprio/voice-stream/actions/workflows/tests.yml)\n[![Documentation Status](https://readthedocs.org/projects/voice-stream/badge/?version=latest)](https://voice-stream.readthedocs.io/en/latest/?badge=latest)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n![Python Versions](https://img.shields.io/pypi/pyversions/voice-stream)\n[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n\n## Quick Install\n\n<!-- start install -->\nVoiceStream is distributed on [PyPI].  To install, run:\n\n   ```text\n   pip install voice-stream\n   ```\n\nThis will install the bare minimum requirements of VoiceStream.\nA lot of the value of VoiceStream comes when integrating it with different audio sources, speech recognition and\ntext to speech systems.  By default, the dependencies needed to do that are NOT installed. You will need to install \nthe dependencies for specific integrations separately.\n\n[pypi]: https://pypi.org/project/voice-stream/\n<!-- end install -->\n\n## \ud83e\udd14 What is VoiceStream\n\n<!-- start elevator-pitch -->\n\nVoiceStream is a framework for building voicebots using language models.\n\n* Integrates with LangChain so you can take any LLM application.\n* Makes it easy to use different Text-To-Speech and Speech Recognition models\n* Uses asyncio and streaming throughout to provide a great user experience.\n* Handles voice specific conversation flows, like interrupting the current speaker.\n\nVoiceStream is built to make it easy to build voice applications on top of LangChain, but \ncan work with any LLM framework.\n\n## \ud83e\uddf1 What can you build with VoiceStream?\n\n* :robot: **VoiceBots** - Chatbots that you can talk and listen to instead of typing.\n* :telephone_receiver: **Automated Telephone Calls** - Make automated phone calls powered by LLMs and rich-content\n* :teacher: **Voice Assistants** - Build your own voice assistant that can do anything you want.\n\n## \ud83d\ude80 How does VoiceStream help?\n\nThe main value props of VoiceStream are:\n1. **Components** - Modular and easy-to-use components for audio input/output, speech recognition, and text to speech.\n1. **Streaming** - Audio programming can be tricky in Python.  VoiceStream provides simple streaming commands that make it easy to string together audio applications. \n\n<!-- end elevator-pitch -->\n\n## \ud83d\udcd6 Documentation\n\nPlease see [here](https://voice-stream.readthedocs.io/en/latest/) for full documentation, which includes:\n\n<!-- start doc-highlights -->\nFrom here, explore the rest of the documentation to learn more about VoiceStream.\n* [Quickstart](https://voice-stream.readthedocs.io/en/latest/getting_started/index.html) - Build a fully functional voicebot in 15 minutes.\n* [Concepts](https://voice-stream.readthedocs.io/en/latest/concepts/index.html) - A methodical intro to the concepts underlying VoiceStream.\n* [Cookbook](https://voice-stream.readthedocs.io/en/latest/cookbook/index.html) - How to take advantage of the various capability of VoiceStream.\n* [GitHub Examples](https://github.com/DaveDeCaprio/voice-stream/blob/main/examples) - To view and run the code for fully worked examples.\n* [API Reference](https://voice-stream.readthedocs.io/en/latest/reference/index.html) - If you are into reading API docs directly.\n\n<!-- end doc-highlights -->\n\n## \ud83d\udc81 Contributing\n\nVoiceStream is a volunteer maintained open source project, and we welcome contributions of all forms. Please take a look at our [Contributing Guide](https://voice-stream.readthedocs.io/en/latest/contributing/index.html) for more information.\n\n<!-- start license -->\n## :classical_building: License\n\nThis project is licensed under the [**MIT License**](https://choosealicense.com/licenses/mit/).\n<!-- end license -->\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A streaming library for creating voice bots using LLMs.  Connects LLMs to speech recognition and speech synthesis APIs.",
    "version": "0.10.0",
    "project_urls": {
        "Documentation": "https://voice-stream.readthedocs.io/",
        "Homepage": "https://github.com/DaveDeCaprio/voice-stream",
        "Repository": "https://github.com/DaveDeCaprio/voice-stream"
    },
    "split_keywords": [
        "voicebot",
        "genai",
        "twilio",
        "llm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21691e0cf3a2a0102d165503c943b30b47a71f82d05111f64d3e9228423309a2",
                "md5": "8f3ac01e94230e9c33281df64fd96f7b",
                "sha256": "53d331bb7215c8032b077375df2378e512c29009f63c5aa778837a4290ed150b"
            },
            "downloads": -1,
            "filename": "voice_stream-0.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8f3ac01e94230e9c33281df64fd96f7b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 75401,
            "upload_time": "2024-01-29T18:20:59",
            "upload_time_iso_8601": "2024-01-29T18:20:59.402881Z",
            "url": "https://files.pythonhosted.org/packages/21/69/1e0cf3a2a0102d165503c943b30b47a71f82d05111f64d3e9228423309a2/voice_stream-0.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d75609f953dfcc49637f3eb2dd27df011388eae36a10b764ad7efac251f76bc",
                "md5": "e3bbae3af66db88cb440de6206414d96",
                "sha256": "792fdbd23ee400ad5c7129d69fb2330fb60ccb9a926f6f91cbe76aafe0a86267"
            },
            "downloads": -1,
            "filename": "voice_stream-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e3bbae3af66db88cb440de6206414d96",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 64210,
            "upload_time": "2024-01-29T18:21:01",
            "upload_time_iso_8601": "2024-01-29T18:21:01.130683Z",
            "url": "https://files.pythonhosted.org/packages/1d/75/609f953dfcc49637f3eb2dd27df011388eae36a10b764ad7efac251f76bc/voice_stream-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-29 18:21:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DaveDeCaprio",
    "github_project": "voice-stream",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "voice-stream"
}
        
Elapsed time: 0.17778s