Return the category so the frontend can decide which model to invoke [chapter] deterministic
return JsonResponse({"category": category}) ``` This endpoint is deliberately minimal; later we will replace the keyword logic with a real classifier that consumes the **CLASSIFIER_SYSTEM_PROMPT** a
return JsonResponse({"category": category})
`
This endpoint is deliberately minimal; later we will replace the keyword logic with a real classifier that consumes the **CLASSIFIER_SYSTEM_PROMPT** and returns a structured prediction. We also need to wire the URL.
```python
Sources
Sovereign AI: Building Local-First Intelligent Systems (book) · source
Related (0)
No recorded relationships.