A demo using {carelesswhisper} to verbally create and run {dplyr} commands.

This is a toy example, but you could hook {carelesswhisper} up to an LLM (e.g. llama.cpp via {rllama}) and potentially have something a bit more general purpose.

#RStats #SaturdayCoding

https://github.com/coolbutuseless/carelesswhisper

GitHub - coolbutuseless/carelesswhisper: Automatic speech recognition in R using whisper.cpp

Automatic speech recognition in R using whisper.cpp - coolbutuseless/carelesswhisper

GitHub

This is a huge manual hack done in 10 minutes. Don't expect miracles. Also I'm sorry for the potato image quality.

Code here:
https://gist.github.com/coolbutuseless/d24cc225c473e12be8af0a065dcbc977

#RStats #SaturdayCoding

run dplyr commands verbally

run dplyr commands verbally. GitHub Gist: instantly share code, notes, and snippets.

Gist
@coolbutuseless Reminds me of this epic talk/demo: https://youtu.be/8SkdfdXWYaI
Using Python to Code by Voice

YouTube