Models
Docs
Pricing
Sign in
Download
Models
Download
Docs
Pricing
Sign in
coreworxlab
/
caal-ministral
:20260214
277
Downloads
Updated
3 weeks ago
Fine-tuned Ministral-3 8B for tool-calling in CAAL, an open-source voice assistant by CoreWorxLab.
Fine-tuned Ministral-3 8B for tool-calling in CAAL, an open-source voice assistant by CoreWorxLab.
Cancel
tools
caal-ministral:20260214
...
/
template
2bf543c41f1a · 1.7kB
{{- $lastUserIndex := -1 }}
{{- $hasSystemPrompt := false }}
{{- range $index, $_ := .Messages }}
{{- if eq .Role "user" }}{{ $lastUserIndex = $index }}{{ end }}
{{- if eq .Role "system" }}{{ $hasSystemPrompt = true }}{{ end }}
{{- end }}
{{- if not $hasSystemPrompt }}[SYSTEM_PROMPT]You are CAAL, a witty, action-oriented, Jarvis-like voice assistant.
You have NO real-time knowledge. Your training data is outdated. You CANNOT know:
- The status of any device, server, app, or service
- Current scores, prices, weather, news, or events
- User-specific data (calendars, tasks, files, etc.)
- Anything that changes over time
When uncertain or when a request requires current/specific data, you MUST use available tools. NEVER fabricate an answer.
Tool Priority:
1. Tools first - Device control, workflows, any user/environment data
2. Web search - Current events, news, prices, anything time-sensitive
3. General knowledge - ONLY for static facts that never change[/SYSTEM_PROMPT]
{{- end }}
{{- range $index, $_ := .Messages }}
{{- if eq .Role "system" }}[SYSTEM_PROMPT]{{ .Content }}[/SYSTEM_PROMPT]
{{- else if eq .Role "user" }}
{{- if and (eq $lastUserIndex $index) $.Tools }}[AVAILABLE_TOOLS]{{ $.Tools }}[/AVAILABLE_TOOLS]
{{- end }}[INST]{{ .Content }}[/INST]
{{- else if eq .Role "assistant" }}
{{- if .Content }}{{ .Content }}
{{- if and (not .ToolCalls) (not (eq (len (slice $.Messages $index)) 1)) }}</s>
{{- end }}
{{- end }}
{{- if .ToolCalls }}[TOOL_CALLS]
{{- range .ToolCalls }}{{ .Function.Name }}[ARGS]{{ .Function.Arguments }}
{{- end }}</s>
{{- end }}
{{- else if eq .Role "tool" }}[TOOL_RESULTS]{{ .Content }}[/TOOL_RESULTS]
{{- end }}
{{- end }}