mkiol / dsnote

Speech Note Linux app. Note taking, reading and translating with offline Speech to Text, Text to Speech and Machine translation.
Mozilla Public License 2.0
514 stars 20 forks source link

Are you planning to add an API? #148

Open AliveDedSec opened 3 months ago

AliveDedSec commented 3 months ago

Hello, dear developer mkiol. Are you planning to add OpenAI Compatible API to your awesome application in the near future? If not, then I ask you to do so. In my opinion this would be incredibly useful. This would allow Speech Note to be used with an incomparably larger number of applications than it currently has. It seems to me that the API will soon become a standard for all similar applications. I continue to use your wonderful app and thank you every time I open it for choosing to create it. And you did it so well. Many thanks for your work, respect! I finally use the Russian language in Speech Note and I am completely satisfied with the quality of the translation of the Speech Note interface.

mkiol commented 3 months ago

Hi, thanks for your question and thanks for the kind words about Speech Note :)

Are you planning to add OpenAI Compatible API

Could you elaborate a bit on this topic? What kind of API do you have in mind?

In general, Speech Note is a "fat" GUI app that is designed for direct use by the users. The primary use-case is not integration with other applications. If someone is looking for integration, a better way is to try to play with whisper.cpp or piper for example.

AliveDedSec commented 1 month ago

I meant an API that will allow artificial intelligence systems and other programs to use Speech Note and all its functions. For example, such an API as in KOBOLD CPP.

mkiol commented 1 month ago

This KoboldCpp is an interesting project I must say. The API is HTTP REST.

Currently Speech Note has very limited external API exposed via DBus. You can use this API to call an action such as "start-listening" or "start-reading" (full description is in the Settings->Accessibility). Perhaps extending this API and adding an HTTP REST option could be useful. I will think about it :)

Do you have a specific API use case in mind?

AliveDedSec commented 1 month ago

Do you have a specific API use case in mind?

No, no, it was just a wish. This is just a suggestion. I would be comfortable using this to integrate with other applications. Including for AI