@@ -8,10 +8,11 @@ config:
88 # Using LoRA models for better performance with auto-detection
99 classifier :
1010 category_model :
11- model_id : models/lora_intent_classifier_bert-base-uncased_model
11+ model_id : " models/category_classifier_modernbert-base_model"
12+ use_modernbert : true
1213 threshold : 0.6
13- use_modernbert : false
14- category_mapping_path : models/lora_intent_classifier_bert-base-uncased_model /category_mapping.json
14+ use_cpu : true
15+ category_mapping_path : " models/category_classifier_modernbert-base_model /category_mapping.json"
1516 pii_model :
1617 model_id : " "
1718 threshold : 1.0
@@ -49,8 +50,8 @@ config:
4950 description : " General knowledge and miscellaneous topics"
5051
5152 decisions :
52- # High priority for math - use specialized model
53- - name : math_route
53+ # Decision names match E2E test expectations (*_decision format)
54+ - name : math_decision
5455 priority : 100
5556 rules :
5657 operator : OR
@@ -61,8 +62,7 @@ config:
6162 - model : phi4-mini
6263 use_reasoning : false
6364
64- # High priority for computer science - use llama3
65- - name : cs_route
65+ - name : computer_science_decision
6666 priority : 100
6767 rules :
6868 operator : OR
@@ -73,23 +73,40 @@ config:
7373 - model : llama3-8b
7474 use_reasoning : false
7575
76- # Medium priority routes for other technical domains
77- - name : science_route
76+ - name : physics_decision
7877 priority : 50
7978 rules :
8079 operator : OR
8180 conditions :
8281 - type : domain
8382 name : physics
83+ modelRefs :
84+ - model : llama3-8b
85+ use_reasoning : false
86+
87+ - name : chemistry_decision
88+ priority : 50
89+ rules :
90+ operator : OR
91+ conditions :
8492 - type : domain
8593 name : chemistry
94+ modelRefs :
95+ - model : llama3-8b
96+ use_reasoning : false
97+
98+ - name : biology_decision
99+ priority : 50
100+ rules :
101+ operator : OR
102+ conditions :
86103 - type : domain
87104 name : biology
88105 modelRefs :
89106 - model : llama3-8b
90107 use_reasoning : false
91108
92- - name : engineering_route
109+ - name : engineering_decision
93110 priority : 50
94111 rules :
95112 operator : OR
@@ -100,7 +117,7 @@ config:
100117 - model : llama3-8b
101118 use_reasoning : false
102119
103- - name : health_route
120+ - name : health_decision
104121 priority : 50
105122 rules :
106123 operator : OR
@@ -111,39 +128,74 @@ config:
111128 - model : llama3-8b
112129 use_reasoning : false
113130
114- # Social sciences and humanities
115- - name : social_sciences_route
131+ - name : psychology_decision
116132 priority : 40
117133 rules :
118134 operator : OR
119135 conditions :
120136 - type : domain
121137 name : psychology
138+ modelRefs :
139+ - model : llama3-8b
140+ use_reasoning : false
141+
142+ - name : economics_decision
143+ priority : 40
144+ rules :
145+ operator : OR
146+ conditions :
122147 - type : domain
123148 name : economics
149+ modelRefs :
150+ - model : llama3-8b
151+ use_reasoning : false
152+
153+ - name : business_decision
154+ priority : 40
155+ rules :
156+ operator : OR
157+ conditions :
124158 - type : domain
125159 name : business
126160 modelRefs :
127161 - model : llama3-8b
128162 use_reasoning : false
129163
130- - name : humanities_route
164+ - name : history_decision
131165 priority : 40
132166 rules :
133167 operator : OR
134168 conditions :
135169 - type : domain
136170 name : history
171+ modelRefs :
172+ - model : llama3-8b
173+ use_reasoning : false
174+
175+ - name : philosophy_decision
176+ priority : 40
177+ rules :
178+ operator : OR
179+ conditions :
137180 - type : domain
138181 name : philosophy
182+ modelRefs :
183+ - model : llama3-8b
184+ use_reasoning : false
185+
186+ - name : law_decision
187+ priority : 40
188+ rules :
189+ operator : OR
190+ conditions :
139191 - type : domain
140192 name : law
141193 modelRefs :
142194 - model : llama3-8b
143195 use_reasoning : false
144196
145- # Default fallback route with lowest priority
146- - name : default_route
197+ # Default fallback
198+ - name : other_decision
147199 priority : 1
148200 rules :
149201 operator : OR
@@ -153,6 +205,7 @@ config:
153205 modelRefs :
154206 - model : llama3-8b
155207 use_reasoning : false
208+
156209 semantic_cache :
157210 enabled : false
158211 prompt_guard :
@@ -164,6 +217,5 @@ config:
164217 threshold : 0.6
165218 use_cpu : true
166219
167- # Keep consistent with the default chart: initContainer, model downloads, and PVC use chart defaults
168220image :
169221 pullPolicy : IfNotPresent
0 commit comments