Get the latest tech news
Gemma3 Function Calling
When using a generative artificial intelligence (AI) model such as Gemma, you may want to use the model to operate programming interfaces in order to complete tasks or answer questions. Instructing a model by defining a programming interface and then making a request that uses that interface is called function calling.
Always put safeguards in place to validate any generated code before executing it.Gemma does not output a tool specific token. The setup section of the function calling prompt sets the overall expected behavior of the model. You can add additional, general instructions for the model's behavior in this section, such as specifying that the output should be displayed using a print or console.log function.
Or read this on Hacker News