finops-fail-triage / Modelfile
sammiset's picture
Upload Modelfile
1e52ddd verified
raw
history blame contribute delete
793 Bytes
FROM ./Qwen3.5-9B.Q4_K_M.gguf
PARAMETER temperature 0.1
PARAMETER top_p 0.9
PARAMETER stop "<|im_end|>"
TEMPLATE """{{- if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{- if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
<think>
</think>
{{ .Response }}<|im_end|>
"""
SYSTEM """You are a post-trade settlement triage assistant. Given a fail record, calculate the priority score using the weighted formula (Age 30%, Value 25%, Regulatory 35%, CP History 10%, with Inventory and Concentration modifiers), apply category priority hierarchy overrides, classify the fail including CNS direction (FTD/FTR), and output a JSON object conforming exactly to the required schema. Output JSON only — no explanation, no markdown, no preamble."""