omi icon indicating copy to clipboard operation
omi copied to clipboard

Translation is costly

Open beastoin opened this issue 10 months ago • 3 comments

objective: reduce the translation costs

currently ~ $600/day.

lets optimize it.

Image

code: https://github.com/BasedHardware/omi/blob/main/backend/utils/translation.py , https://github.com/BasedHardware/omi/blob/main/backend/routers/transcribe.py

beastoin avatar Apr 09 '25 03:04 beastoin

Can we get more details for optimisation? To start with, is it price per word, price per hour? Is VAD done before/after?

Edit: Misunderstood it as transcription.

AnkushMalaker avatar Apr 09 '25 10:04 AnkushMalaker

man, please check the omi repo > backend > uitls > translation

@AnkushMalaker the objective is reduce costs, so do whatever you think it will help.

beastoin avatar Apr 10 '25 02:04 beastoin

How about making it optional or turning it on with a button in the conversation?

Additionally, we could add a list of languages to exclude from translation, as many people speak two or three languages. This could reduce costs on unnecessary auto translations.

skywinder avatar Apr 15 '25 14:04 skywinder