Chat template doesn't include "tool" role

#11
by EduardZl - opened

Hello.
According to release notes Gemma 3 has built-in support for function tools, but I don't find any releavant documentation or example.
The chat_template.jinja2 file doesn't show any usage of function tools.
Any idea ?

Gemma 3's strong instructability allows for effective function calling by defining functions and output formats directly in user prompts. While there are no dedicated tool use tokens, We encourage you to try your own styles. We didn't recommend one yet because we didn't want to bias your all experimentation and tooling. This continues to be top of mind for us though. For detailed examples, please see this article.

@Renu11 Thank you for your reply! It is very helpful.

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment