this post was submitted on 01 Aug 2024
26 points (93.3% liked)
Free Open-Source Artificial Intelligence
2882 readers
2 users here now
Welcome to Free Open-Source Artificial Intelligence!
We are a community dedicated to forwarding the availability and access to:
Free Open Source Artificial Intelligence (F.O.S.A.I.)
More AI Communities
LLM Leaderboards
Developer Resources
GitHub Projects
FOSAI Time Capsule
- The Internet is Healing
- General Resources
- FOSAI Welcome Message
- FOSAI Crash Course
- FOSAI Nexus Resource Hub
- FOSAI LLM Guide
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Haven't heard of all-in-one solutions, but once you have a recording, whisper.cpp can do the transcription:
The underlying Whisper models are MIT.
Then you can use any LLM inference engine, e.g. llama.cpp, and ask the model of your choice to summarise the transcript:
You can also write a small bash/python script to make the process a bit more automatic.
Okay, the idea is excellent, but I've just spent the last hour trying to get any app out there to record my calls.
I've tried the open source one on f droid, and it almost works. I can get it to record my side, but that's it.
I tried commercial ones. I tried commercial ones with horrendous privacy policies. Nothing seems to work.
I've used the accessibility options. I've gone deep down into the rabbit hole, so it looks like Android is fully cutting off the ability to record calls. In Australia at least.
What a shame.
These apps all seem to have the same ability of dropping the recording into a folder, so I could synchronize that across my network, have my server check for new files that appear into that folder, and then the LLM could convert that into a text file and send it straight back to me.
Living the dream! But... Not
I expected that recording would be the hard part.
I think some of the open-source ones should work if your phone is rooted?
I've heard that Google's phone app can record calls (though it says it aloud when starting the recording). Of course, it wouldn't work if Google thinks it shouldn't in your region.
By the way, Bluetooth headphones can have both speakers and a microphone. And Android can't tell a peripheral device what it should or shouldn't do with audio streams. Sounds like a fun DIY project if you're into it, or maybe somebody sells these already.
I was just thinking that, a raspberry pi working as a Bluetooth peripheral and some python code would work?
Basically depends on if it's legal to unilaterally record in your jurisdiction, if not the apps won't be made available on pain of lawsuit. Nothing stopping you using speakerphone and recording with something else tho. Again, depending on jurisdiction, you may need to CYA with 'your calls may be recorded for training purpose'. Note that unilaterally recording (i.e. without notifying the other party) is often a felony.
I managed to get the open source call recorder working on a rooted LineageOS device. Seems it doesn't work without root.
Beware - recording people without their explicit consent is illegal in lots of countries.
You could also use an office SIP phone and/or a telephony server (PBX) and a landline which might include recording capability. Or something like Google voice or a business phone provider which might offer email transcripts as part of their service. Or you get the audio via an (emulated) headset. Either cable or bluetooth. But that requires additional hardware. And check if your default dialer has some recording feature. I can enable that when opening the default dialer in the settings. And while in call a "record" button will appear next to "hold". It's not automatic though. You have to start a call and then manually record every one. And it might play a beep sound to the other party.
Recording would be the first step. Without that working, we don't need to discuss the next steps. But I agree, the next steps would be to chain something like Whisper or FasterWhisper and then an LLM.
I suppose the next flagship android devices (Pixel?) come with similar features, as Google etc are pushing their AI services and features.
That isn't such a bad idea.
I could probably semi automate a lot of this stuff as long as I can get something to record the phone call.
I'll go down that route and see what I can find. Thank you so much I do appreciate it
It'd be perfect if you didn't have to record the calls, but instead could use something like Faster-Whisper and saving live transcribed text files instead.