Views
No views yet
| Tool | Description |
|---|---|
status | Project overview — model/test/source counts |
schema | Database schema exploration |
search | Full-text search across models, columns, descriptions |
node | Detailed info on a specific model/source/test |
lineage | Upstream/downstream dependency graph |
query | Run SQL against the dbt-index DuckDB |
report | Coverage reports (tests, docs, etc.) |
impact | Blast radius analysis for model changes |
diff | Compare project state across branches |
unsloth/Qwen3-8B-bnb-4bit)chat_template.jinja in this repo.<tools> XML tags<tool_call> / </tool_call> XML delimiters<tool_response> / </tool_response> and sent as user messages.gguf file~/.lmstudio/models/json-l/ecu-pilot-qwen3-8b-GGUF/chat_template.jinja, and start the local serverModelfile:FROM ./ecu-pilot-qwen3-8b-q4km.gguf
TEMPLATE """{{- if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{- if .Tools }}<|im_start|>system
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{{- range .Tools }}
{{ json . }}
{{- end }}
</tools>
<|im_end|>
{{ end }}{{- range .Messages }}<|im_start|>{{ .Role }}
{{- if .Content }}
{{ .Content }}
{{- end }}{{- if .ToolCalls }}
<tool_call>
{{- range .ToolCalls }}
{"name": "{{ .Function.Name }}", "arguments": {{ json .Function.Arguments }}}
{{- end }}
</tool_call>
{{- end }}<|im_end|>
{{ end }}<|im_start|>assistant
"""
SYSTEM """You are an expert dbt project assistant with access to a dbt-index metadata server."""
PARAMETER stop "<|im_end|>"
PARAMETER stop "<tool_call>"
PARAMETER temperature 0.7
PARAMETER num_ctx 40961ollama create ecu-pilot -f Modelfile
2ollama run ecu-pilot| Metric | Score |
|---|---|
| Tool called | 88% |
| Correct tool | 75% |
| Answer generated | 100% |