Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openaitts] OpenAI Text-to-Speech initial contribution #17733

Merged
merged 37 commits into from
Dec 24, 2024

Conversation

Artur-Fedjukevits
Copy link
Contributor

The OpenAI TTS (Text-to-Speech) addon for openHAB allows you to integrate OpenAI's Text-to-Speech capabilities into your openHAB system. The advantage of this service over others is that one selected voice can speak different languages. This is useful, for example, in conjunction with chatGPT binding, which will help in learning foreign languages.

Compiled jar - https://fedjukevitsh.com/s/TeaDeLCKSTjD7Yi

Signed-off-by: Artur-Fedjukevits <[email protected]>
@Artur-Fedjukevits Artur-Fedjukevits requested a review from a team as a code owner November 11, 2024 11:33
Signed-off-by: Artur-Fedjukevits <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Artur-Fedjukevits and others added 3 commits November 12, 2024 12:15
…addon/addon.xml

Co-authored-by: Jacob Laursen <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Co-authored-by: Jacob Laursen <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! 👍

I also added a few comments:

Artur-Fedjukevits and others added 11 commits December 9, 2024 08:33
…voice/openaitts/internal/OpenAITTSService.java

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…voice/openaitts/internal/OpenAITTSService.java

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…voice/openaitts/internal/OpenAITTSService.java

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…voice/openaitts/internal/OpenAITTSService.java

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…config/config.xml

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…config/config.xml

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…voice/openaitts/internal/OpenAITTSService.java

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw a few more improvements after scrolling through the code again:

Artur-Fedjukevits and others added 8 commits December 12, 2024 21:22
Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…config/config.xml

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
…voice/openaitts/internal/OpenAITTSVoice.java

Co-authored-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
@wborn wborn changed the title [openaitts] OpenAI Text-to-Speech binding (new) [openaitts] OpenAI Text-to-Speech initial contribution Dec 14, 2024
Signed-off-by: Artur-Fedjukevits <[email protected]>
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my comments!
I also gave it a brief test today and it seems to work fine. 👍
Here are a few more comments I ran into while testing the add-on:

@wborn
Copy link
Member

wborn commented Dec 19, 2024

Yes yes very good. 👍
I'll soon have another look as it is almost holiday time. 🎄 ⛄

Signed-off-by: Wouter Born <[email protected]>
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! It works very well now. 🙂 👍

@wborn wborn merged commit 7c6e658 into openhab:main Dec 24, 2024
3 checks passed
@wborn wborn added this to the 5.0 milestone Dec 24, 2024
@felixschndr
Copy link
Contributor

Compiled jar - https://fedjukevitsh.com/s/TeaDeLCKSTjD7Yi

Does this jar work for 4.3.0 as well or is it only compatible with 5.0?

@Artur-Fedjukevits Artur-Fedjukevits deleted the openai-tts branch December 27, 2024 08:31
@Artur-Fedjukevits
Copy link
Contributor Author

Compiled jar - https://fedjukevitsh.com/s/TeaDeLCKSTjD7Yi

Does this jar work for 4.3.0 as well or is it only compatible with 5.0?

Yes, that jar was compiled for 4.3

DrRSatzteil pushed a commit to DrRSatzteil/openhab-addons that referenced this pull request Jan 3, 2025
chilobo pushed a commit to chilobo/openhab-addons that referenced this pull request Feb 10, 2025
Also-by: Wouter Born <[email protected]>
Signed-off-by: Artur-Fedjukevits <[email protected]>
Signed-off-by: Christian Koch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants