
You’ll see the Vosk STT system boot up and then
the script will say “Listening…”
Now try asking the LLM to “turn the light on.”
Because the Pi is not optimized for LLMs, the
response could take 30–60 seconds, but with
some luck, you should see that the led_write
function was called (Figure
E
), and the LED has
turned on!
xLAM is an open-source LLM from SalesForce
(github.com/SalesforceAIResearch/xLAM).
They call it a LAM (large action model), as it is
optimized to understand requests and not just
provide text answers. The allenporter version
(ollama.com/allenporter/xlam) works with
Ollama tools, and its 1-billion-parameter model
can run on the ...