Skip to content

Conversation

rixitgithub
Copy link
Contributor

@rixitgithub rixitgithub commented May 2, 2025

Pull Request: Connected UserVsBot debate feedback to AI Coach for personalized practice, enabling dynamic skill improvement.

Description

This PR enhances the JudgmentPopup component in the UserVsBot debate system by integrating AI Coach skill recommendations based on LLM-generated feedback. The feature analyzes feedback (reasons) from the debate judgment to suggest specific AI Coach skills ("Strengthen Argument" or "Pros and Cons Challenge") for users to practice, improving their debating abilities. The UI is updated with a polished "Skills to Improve" section, maintaining the existing design's aesthetic.

Changes Made

  • Updated JudgmentPopup.tsx to include a new "Skills to Improve" section.
  • Implemented recommendSkills function to analyze feedback keywords and map them to AI Coach skills:
    • Strengthen Argument: Triggered by feedback keywords like "weak," "unclear," "unconvincing."
    • Pros and Cons Challenge: Triggered by keywords like "irrelevant," "evasive," "poor critical thinking."
  • Added responsive UI with Tailwind CSS, featuring a card-based layout for skill recommendations.
  • Linked recommendations to AI Coach URLs (http://localhost:5173/coach/strengthen-argument, http://localhost:5173/coach/pros-cons).
  • Ensured compatibility with both JudgmentDataUserBot and JudgmentDataForAgainst formats.

Screenshots

Before After
Screenshot 2025-05-02 121359 Screenshot 2025-05-02 121104

Zahnentferner and others added 30 commits December 3, 2024 10:38
…-Hide-Password-Functionality-46

password hide-visible feature added ( issue AOSSIE-Org#46 )
…DebateAI

- Added seamless post-sign-in user flow with navigation logic in React
- Implemented profile UI and /user backend routes with edit functionality
- Built leaderboard UI and /leaderboard API, sorting users by EloRating
- Created user and debate schemas in MongoDB with Go integration
- Seeded test data; updated config, auth, and dependencies for full stack support
…es and AI judgment using WebSocket and WebRTC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants