-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support custom openai compatible endpoints #18
Conversation
94a2dba
to
0460cd2
Compare
thanks @raldone01 , i dont have a local endpoint to test but seems good! |
@sfortis would you be interested in a pull request to also add stt support? |
Yes! Thanks @sfortis - gonna try this out right now. Hoping that I can ditch my hacked custom component and just stick with this one! |
False alarm - used the wrong port number. Works great! Can't wait to see this in 2.4 😁 |
@raldone01 actually i'm working (locally) on a STT component that is almost ready (works perfectly from android app, watch, esp32box3, still needs some work on optionflow). Since i want them separate, i'll create a new repo. What about working together on this? |
@qJake great! i'll drop a new release soon! did you spot any issues updating from the existing 2.3 on existing integrations? I want to also merge a sound processing function using ffmpeg, to normalize, compress, and equalize the response audio so it is better audible on small speakers, like those in watches and esp32 devices. This will be parametrized in config flow/option flow. |
@sfortis good that I asked then. My plan was to just add a step to the config flow where one selects if a tts or stt device should be added. Have you thought about upstreaming the integration to core sometime in the future? I would have used https://github.com/shiipou/openai_stt as the base. |
I don't use the standard OpenAI TTS so I can't say, but so far all of my automations and TTS-related services appear to be fine! |
@sfortis I would like to use: |
Sorry, my bad. I have confused this integration with the OpenAI Conversation integration. Everything seems to be in order. Thank you for your work. |
Fixes: #16
Includes: #17
Adds German translations.
Should the
UNIQUE_ID
generation change for example when openai introduces a way to automatically discover all voices old entries should not be affected.I put in a workaround for upgrades from old versions. Please test that old entries still work.
I can generate audio using openai and
openedai-speech
.Both can be configured at the same time.