Add spell_checker route to chat routes config
Browse filesIntroduces a new 'spell_checker' route with a description and specifies primary and fallback models for handling spelling and grammar corrections.
static/huggingchat/routes.chat.json
CHANGED
|
@@ -216,5 +216,11 @@
|
|
| 216 |
"description": "Extract structured JSON from text.",
|
| 217 |
"primary_model": "zai-org/GLM-4.6",
|
| 218 |
"fallback_models": ["deepseek-ai/DeepSeek-V3.1", "Qwen/Qwen3-235B-A22B-Instruct-2507"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
}
|
| 220 |
]
|
|
|
|
| 216 |
"description": "Extract structured JSON from text.",
|
| 217 |
"primary_model": "zai-org/GLM-4.6",
|
| 218 |
"fallback_models": ["deepseek-ai/DeepSeek-V3.1", "Qwen/Qwen3-235B-A22B-Instruct-2507"]
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"name": "spell_checker",
|
| 222 |
+
"description": "Fix spelling, capitalization, punctuation, and obvious grammar errors.",
|
| 223 |
+
"primary_model": "CohereLabs/aya-expanse-32b",
|
| 224 |
+
"fallback_models": ["moonshotai/Kimi-K2-Instruct-0905", "google/gemma-3-27b-it"]
|
| 225 |
}
|
| 226 |
]
|