Classify text into six basic emotions: sadness, joy, love, anger, fear, and surprise. Useful for social media monitoring, customer feedback analysis, and sentiment-aware routing
from jeffy.engine import Engine engine = Engine() engine.load() result = engine.predict("emotion", "I'm so frustrated with this service") print(result["label"]) # anger
$ curl -s -X POST https://playground.jeffyclassify.com/v1/predict \ -H "Content-Type: application/json" \ -d '{"text":"I feel so happy today","task":"emotion"}'
pip install jeffy-classify