Merge branch 'main' of https://huggingface.co/spaces/NLP-Debater-Project/NLP-IBM-Debater
Yassine Mhirsi
d88993b
feat/ui: chat adapted tools
S01Nour
a94de35
auto play audio
Yassine Mhirsi
3beb9d7
transcript toggle
Yassine Mhirsi
28269c5
audio response
Yassine Mhirsi
15bddd3
enhance analysis page
Yassine Mhirsi
78b3b2b
audio
Yassine Mhirsi
21d3506
argument generation
Yassine Mhirsi
ee3eb53
inhance dropdown in ChatInput component
Yassine Mhirsi
c01020f
h
Yassine Mhirsi
9b2d092
added mcp tools in chatbot settings icon
Yassine Mhirsi
5193b92
test
Yassine Mhirsi
faa7b57
fixed typescript adn added logout
Yassine Mhirsi
2251e03
Add caching support for analysis data in AnalysisPage
Yassine Mhirsi
6c8fc4b
- Implemented caching utilities to store and retrieve analysis results using localStorage.
- Updated AnalysisPage to utilize cached data for improved loading performance and user experience.
- Added loading state indication for data refresh in the UI.
- Enhanced error handling to display errors only when no cached data is available.
Enhance AnalysisPage and Loading component
Yassine Mhirsi
5f83845
- Updated AnalysisPage to improve the display of user analysis statistics, including a new message for when no data is available.
- Refactored loading states for better user experience during data analysis.
- Enhanced Loading component styles for dark mode compatibility.
added chatbot
Yassine Mhirsi
ff92aff
test
Yassine Mhirsi
c16bf66
test
Yassine Mhirsi
338d8f9
Add analysis charts and utilities
Yassine Mhirsi
75137c7
- Introduced `StanceDistributionChart`, `TimeSeriesChart`, and `TopicFrequencyChart` components for visualizing analysis results.
- Implemented utility functions for calculating stance statistics, topic frequency, and time-based statistics.
- Updated `AnalysisPage` to include new charts and display user analysis statistics.
- Added `recharts` library for charting capabilities and updated dependencies in `package.json` and `package-lock.json`.
Add routing and analysis features
Yassine Mhirsi
b6bed80
- Introduced `react-router-dom` for navigation, enabling routing between Home and Analysis pages.
- Created `HomePage` for user registration and navigation.
- Developed `AnalysisPage` for CSV file upload and argument analysis.
- Implemented API services for user management and analysis.
- Updated constants for new API endpoints.
- Enforced explicit file extensions in imports for TypeScript files.
- Added utility functions for user management and CSV parsing.