File size: 830 Bytes
16a7164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: SentimentDetectiontest
emoji: 🎓
colorFrom: indigo
colorTo: blue
sdk: docker
pinned: false
---

# Educational Sentiment Chatbot

This is a Socratic educational tutor chatbot designed to dynamically adjust its response tone based on the student's detected sentiment (confusion, frustration, boredom, confidence, or neutral).

It evaluates four different agent/classifier flows:
- **Option A**: Gemini 3.1 Flash Lite (Double-Pass via LangGraph)
- **Option B**: Gemini Single-Pass (Pre-optimized, low latency)
- **Option C**: DistilRoBERTa Distribution + Gemini
- **Option D**: Local DistilRoBERTa Classifier + Gemini

## Deploying to Hugging Face Spaces
This repository is configured to deploy directly to Hugging Face Spaces via Docker.

### Requirements:
- A `GEMINI_API_KEY` set as a Secret in the space's settings.