DoubtSense – Project Story

1. Inspiration

The inspiration behind DoubtSense came from a common problem that students and professionals face during conversations, lectures and technical discussions. Sometimes, people listen to an explanation but fail to understand a particular concept. They may feel confused but find it difficult to identify or frame the exact question they want to ask.

Existing AI assistants can provide answers, but users usually have to identify and type their doubts manually. We wanted to create something different: an application that could identify possible doubts directly from spoken conversations, understand their context and help users get the clarification they need.

This idea led us to develop DoubtSense – an AI-powered application designed to detect doubts, understand context and deliver clarity.

2. What We Learned

Developing DoubtSense helped us gain practical knowledge in several areas:

  • Speech Recognition: We learned how to convert spoken conversations into text using the Web Speech API.
  • Python and Flask: We gained experience in developing backend functionality and connecting it with a web interface.
  • HTML, CSS and JavaScript: We learned how to build an interactive application and manage user interactions.
  • Natural Language Processing: We understood how computers can analyse human language and identify sentences that may express confusion.
  • Context Understanding: We learned that detecting a doubtful sentence is not enough; understanding the surrounding conversation is equally important.
  • Problem-Solving: We improved our ability to identify technical issues, test different approaches and develop solutions.

Most importantly, we learned that an intelligent application should understand what the user actually needs rather than simply provide general answers.

3. How We Built Our Project

We developed DoubtSense as a web-based application using Python, Flask, HTML, CSS and JavaScript.

The development process involved the following stages:

  1. Speech-to-Text Conversion: We used the Web Speech API to convert spoken conversations into text.
  2. Doubt Detection: We developed an initial detection mechanism to identify sentences that may indicate confusion or a need for clarification.
  3. Context Analysis: We planned a context-aware approach that considers surrounding sentences to understand the topic of discussion.
  4. Clarification Questions: Our proposed system generates relevant questions when additional information is needed to understand the user's doubt.
  5. Answer Generation: The final goal is to generate personalised explanations using the conversation context and the user's clarification responses.
  6. User Interface:We developed a simple web interface that allows users to start and stop speech recognition and view detected sentences.

Our current prototype successfully demonstrates speech recognition and basic doubt detection. We are working towards integrating advanced context analysis and personalised AI-generated responses.

4. Challenges We Faced

During development, we encountered several challenges:

  • Identifying Genuine Doubts: It was difficult to distinguish actual confusion from normal questions and everyday conversation.
  • Understanding Context: The system could identify possible doubtful sentences, but understanding the complete meaning of a conversation was more challenging.
  • Generating Relevant Questions: We wanted the application to ask questions based on the detected topic instead of using the same fixed questions every time.
  • Speech Recognition Accuracy: Background noise, different accents and pronunciation can affect the accuracy of speech recognition.
  • Personalised Responses: Providing an answer that matches the user's actual confusion requires understanding both the conversation and the user's clarification responses.
  • Real-Time Processing: We also need to improve processing speed while maintaining a smooth user experience.

These challenges helped us understand the limitations of our initial approach and identify areas for improvement.

5. What's Next?

Our future goal is to develop DoubtSense into a complete context-aware AI assistant. We plan to improve doubt detection, integrate advanced AI-based context analysis, introduce dynamic clarification questions, support multiple languages and develop mobile and smartwatch versions.

We also aim to improve background efficiency and strengthen user privacy.

Built With

Share this project:

Updates

Submission history