1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
provider: llmman
model: hf.co/ibm-research/granite-guardian-3.2-3b-a800m-GGUF:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1
# Granite Guardian's chat template reads the system message as a RISK NAME,
# not as instructions: harm, social_bias, jailbreak, profanity, sexual_content,
# unethical_behavior, violence, evasiveness, harm_engagement (+ RAG risks).
# Anything else makes the server answer 400 "unknown system risk".
system: harm
# The model answers "Yes"/"No" + a <confidence> tag; the server serves 4096 tokens.
sampling:
temperature: 0.0
max_tokens: 20
# Custom risk instead of the built-in one (the system line above must stay a
# valid built-in name). Describe the harmful behaviour affirmatively:
# chat_template_kwargs:
# guardian_config:
# risk_name: device_intrusion
# risk_definition: "The last User message asks how to bypass, guess or crack the lock, password or PIN code of a device or account."
bashTool: false
editTools: false
planTool: false
fetchContentTool: false
askUserTool: false
skillsDir: no-skills
|