
This should give you a sense of how to run local
LLMs on a Raspberry Pi and interact with them
using Python. Feel free to try different prompts,
save the chat history using the append() method,
and build your own voice-activated chatbot.
ACTION!
LOCAL LLM CHATBOT AGENT
WITH FUNCTION CALLING
LLMs began as self-contained models that accept
text input and respond with text. In the last couple
of years, we’ve seen new multimodal LLMs, like
GPT-4o, that can accept and respond with other
forms of media, such as images and videos.
But in just the past few months, some LLMs
have been granted powerful new abilities where
they can act as agents by calling ...