Im currently working on a big issue where my groq model (through API key) is doing some weird stuff, like mis-routing, not understanding the prompt, and picking the wrong tool at times. Currently have to fix that, or my fallback chain wont work as intended. (groq always has issuses). I also asked ChatGPT what hardware stuff i can build for/around KAIA, and it lwk gave me a lot. Hereās the full breakdown of what happened though: Right now, Iām working throughĀ Phase 2B, which is basically focused on making KAIAās routing system much more reliable.The current plan is:2B.0 ā Telemetry:Iām adding tracking to the classifier so KAIA recordsĀ which classifier actually made the decision, what intent it selected, and its confidence when available. This lets me seeĀ whyĀ KAIA routed something incorrectly instead of just knowing that it was wrong.Iām also modifying the benchmark system so every test case can save this information individually. That way I can look at a failed case and see something like:Request ā āWrite a scriptā¦ā
Expected ā coding
Actual ā tool_use
Classifier ā local_nn
Confidence ā 0.91
Provider ā ā¦
Latency ā ā¦2B.1 ā Classifier V2:Once the current benchmark finishes, Iām going to replace the current cheap classifier prompt with a much more structured one. Itāll have explicit definitions for the five main intents:codingtool_usereasoningself_modchatIām also adding few-shot examples, fine-grained intents, complexity,Ā tool_required, and a confidence score.One of the main things Iām trying to fix is the classifier confusingĀ āwrite code that does XāĀ withĀ āKAIA should do X.āFor example:āWrite a script that watches my Downloads folderā
ā codingversus:āWatch my Downloads folderā
ā tool_useTheyāre very similar linguistically, but they should go down completely different paths.2B.2 ā Cheap-classifier gate:After V2 is working, Iām adding a gate that decides whether KAIA should trust the cheap classifier.There will be different modes, including:OFF
CONFIDENCE
AGREEMENTWith confidence mode, KAIA can basically say:cheap classifier
ā
confidence high?
ā ā
YES NO
ā ā
accept escalate
ā
stronger modelThe agreement mode goes further by comparing the cheap classifierās decision against a stronger classifier. If they disagree, KAIA can escalate instead of blindly choosing one.2B.3 ā Acceptance + checkpoint:Finally, Iām going to establish actual acceptance criteria for the routing system and generate a Phase 2B report.Iāll measure things like:intent accuracyfine-intent accuracyrouting accuracyclassifier confidencefallback behaviorprovider reliabilitylatencycostThen Iāll create aĀ Phase 2B checkpointĀ so I have a known-good baseline before moving on.