The Emotion Server Demo provides an integrated Docker Compose setup for the Emotion API, complete with a Gradio UI for easy interaction and an MCP server for efficient experimentation. Featuring real-time sentiment analysis and user-friendly interfaces, it enables extensive testing and application of emotion-based services.
The Emotion Server Demo provides a robust and complete Docker Compose setup for the Emotion API service. It features an intuitive Gradio UI enabling users to easily interact with the emotion analysis capabilities and an MCP server designed to streamline experimentation and access to the API.

Demo_Firehose: A React-based social media sentiment monitoring dashboard featuring:
src/Demo_Firehose/Demo_Agentic_Routing: A demonstration of a CrewAI-powered customer service application showcasing emotion-based routing and escalation capabilities:
src/Demo_Agentic_Routing/The project consists of three main components:
For quick testing, users can utilize curl to interact with the Emotion API directly from the command line:
Basic Prediction Request:
curl -s -X POST http://localhost:8000/predict \
-H "Content-Type: application/json" \
-d '{"text":"I am so happy today!"}'
Expected response:
{"emotion":"happy","confidence":1}
Detailed Emotion Analysis: To get comprehensive results including probabilities for all emotions:
curl -s -X POST http://localhost:8000/predict_detailed \
-H "Content-Type: application/json" \
-d '{"text":"I am so happy today!"}'
Sample response:
{
"predicted_emotion": "happiness",
"confidence": 0.67,
"all_emotions": {
"happiness": 0.67,
"anger": 0.0,
...
}
}
The Emotion Server Demo offers a comprehensive and user-friendly interaction with state-of-the-art emotion analysis technologies, making it an ideal tool for developers and researchers in the field of sentiment analysis.
No comments yet.
Sign in to be the first to comment.