Models
Docs
Pricing
Sign in
Download
Models
Download
Docs
Pricing
Sign in
60MPH
/
astral3-tools
:12b
472
Downloads
Updated
3 months ago
Astral - A customized Gemma 3 model with built-in tool calling capabilities for seamless integration with n8n and automation workflows
Astral - A customized Gemma 3 model with built-in tool calling capabilities for seamless integration with n8n and automation workflows
Cancel
vision
tools
12b
27b
astral3-tools:12b
...
/
template
9ab57262c1d8 · 1.4kB
{{- if or .System .Tools }}<start_of_turn>user
{{- if .System }}
{{ .System }}
{{- end }}
{{- if .Tools }}
When you receive a tool call response, use the output to format an answer to the original user question.
You are a helpful assistant with tool calling capabilities.
{{- end }}<end_of_turn>
{{- end }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "user" }}<start_of_turn>user
{{- if and $.Tools $last }}
Given the following functions, respond with a JSON object for a function call with its proper arguments that best answers the given prompt.
IMPORTANT: Respond ONLY with raw JSON in this exact format, no markdown, no code blocks, no explanation:
{"name": "function_name", "parameters": {"arg": "value"}}
Available functions:
{{ range $.Tools }}
{{- . }}
{{ end }}
Question: {{ .Content }}<end_of_turn>
{{- else }}
{{ .Content }}<end_of_turn>
{{- end }}{{ if $last }}<start_of_turn>model
{{ end }}
{{- else if eq .Role "assistant" }}<start_of_turn>model
{{- if .ToolCalls }}
{{ range .ToolCalls }}
{"name": "{{ .Function.Name }}", "parameters": {{ .Function.Arguments }}}{{ end }}
{{- else }}
{{ .Content }}
{{- end }}{{ if not $last }}<end_of_turn>{{ end }}
{{- else if eq .Role "tool" }}<start_of_turn>user
{{ .Content }}<end_of_turn>{{ if $last }}<start_of_turn>model
{{ end }}
{{- end }}
{{- end }}