معرفی شرکت ها


bro-listen-0.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Interact with openAI API with voice
ویژگی مقدار
سیستم عامل -
نام فایل bro-listen-0.2.0
نام bro-listen
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Mikolaj Kaczmarek
ایمیل نویسنده m.kaczmarek9@gmail.com
آدرس صفحه اصلی https://github.com/mikkac/bro_listen
آدرس اینترنتی https://pypi.org/project/bro-listen/
مجوز MIT License (MIT)
# bro, listen 🤖 Tool that allows for voice interaction with OpenAI chat without need to type long, detailed requests. <br> It's an terminal application that captures audio from microphone and queries chat with transcripted message. <p align="center"> <img src="https://github.com/mikkac/bro_listen/blob/master/demo/bro_demo.gif" alt="animated" /> </p> --- **Note:** Currently `text-davinci-003` model is used as a chat backend. Unfortunately API for chatGPT is not yet provided by OpenAI. ## Installation ### Via PyPI To install `bro_listen` package via PyPI, execute following command: ```bash pip install bro-listen ``` **Note:** Consider creating a separate virtual environment if you want to avoid polluting system with dependencies of `bro_listen` package. ### From source `poetry` is required to install the package from the source code. You can get it [here](https://python-poetry.org/docs/) Once `poetry` is enabled in the system, to install the project and its dependencies, execute following command: ```bash git clone https://github.com/mikkac/bro_listen.git && cd bro_listen && poetry install ``` ## Configuration After installation, configuration file has to be provided. Default location used by the application is `$HOME/.config/bro_listen/config.toml`. <br> One can use the default [configuration file](https://github.com/mikkac/bro_listen/blob/master/src/bro_listen/config.toml). The only thing that needs to be provided is OpenAI API key that can be generated [here](https://beta.openai.com/account/api-keys). ### Configuration details Application supports several configuration parameters. * `voice_api` - Voice recognition API. Currently only `"vosk"` is supported, but it's planned to also enable usage of [Google Speech-To-Text](https://cloud.google.com/speech-to-text) and [Azure Speech to text](https://azure.microsoft.com/en-us/products/cognitive-services/speech-to-text/). * `language` - language used by `voice_api`. Currently available languages are listed in [Vosk's documentation](https://github.com/alphacep/vosk-api). * `enable_audio_response` - chat's responses are only written to console by default. However, it's possible to vocalize them by setting this parameter to `true`. * `device_id` - ID of recording device. It should be commented out or completely removed from configuration if default device shall be used. ## Usage If package has been installed via PyPI, run following command: ```bash bro_listen ``` If it was installed from source, start the application with command: ```bash poetry run bro_listen ``` or ```bash poetry shell bro_listen ``` ## License This project is licensed under the LICENSE file that [can be found here](https://github.com/mikkac/bro_listen/blob/master/LICENSE.md)


نیازمندی

مقدار نام
>=0.3.45,<0.4.0 vosk
>=0.4.5,<0.5.0 sounddevice
>=0.25.0,<0.26.0 openai
>=2.90,<3.0 pyttsx3
>=12.6.0,<13.0.0 rich
>=0.10.2,<0.11.0 toml


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl bro-listen-0.2.0:

    pip install bro-listen-0.2.0.whl


نصب پکیج tar.gz bro-listen-0.2.0:

    pip install bro-listen-0.2.0.tar.gz