DevEmperor / Dictate

A powerful Whisper AI keyboard for reliable speech transcription
https://play.google.com/store/apps/details?id=net.devemperor.dictate
Apache License 2.0
12 stars 4 forks source link

groq support #6

Closed vortex1024 closed 2 weeks ago

vortex1024 commented 1 month ago

hello, groq.com also has a whisper api, and it also has a generous free tier. could you add support for it in your keyboard? the effort should not be too bbig. I see you already support custom whisper host, the thing is groq's url contains "/openapi" before the normal openai api path (https://api.groq.com/openai/v1/audio/transcriptions), and entering that in the host field in settings crashes the app, probably since it does not expect an address in there, but just a host. Thanks.

DevEmperor commented 1 month ago

I'd like to investigate this issue further, but I cannot sign in to groq.com. Could you send me an API key for testing to my email-address, so that I can fix this issue? :) contact@devemperor.net

vortex1024 commented 1 month ago

I sent it. Did you receive it?

DevEmperor commented 1 month ago

Yes, thank you very much, I received it. However, I have been too busy the last few days adding other features that I haven't had the chance to look into it further yet. I will definitely take a look at it. :)

DevEmperor commented 2 weeks ago

I have now had a closer look at groq's API and apparently they are using a different scheme than OpenAI. So unfortunately I can't support groq because the library is only orientated towards OpenAI.