Proposed Feature
Enhance every topic documentation page by adding a "Still Have Doubt? Dive Deeper" section at the bottom of the content. This section will provide two buttons:
- π AI Search β Ask an AI assistant to explain the topic differently
- π GeeksforGeeks Link β Open a relevant GFG article about the same topic
Problem it solves
Currently, when students finish reading a documentation page (e.g., "C Programming", "Data Structures", "Operating Systems") but still have doubts or want to understand the concept from a different perspective, they must:
- Leave the openCSE platform
- Manually search Google or GeeksforGeeks
- Potentially land on low-quality or irrelevant resources
This breaks the learning experience and causes frustration.
What this contribution will add
For Each Documentation Page (e.g., /docs/semester-1/c-programming)
1. AI Search Button
Functionality:
- Opens a small modal or sidebar chat
- Pre-filled context: "Explain [Current Topic Name] in simple terms with examples"
- User can type follow-up questions
- Uses a free AI API (options):
- OpenAI GPT-3.5 (requires API key β can be user-provided or project-provided)
- Google Gemini API (has a generous free tier)
- Hugging Face Free Models (no key needed for some)
- Local LLM via Ollama (privacy-focused, runs locally)
Fallback if no API key: Show a message with pre-written suggested Google search queries.
Example AI prompt template:
You are a friendly CS tutor. The student just read the documentation about "[TOPIC_NAME]" but still has doubts. Explain it differently using:
- One real-world analogy
- One simple code example (if applicable)
- One common misconception about this topic
Keep it under 150 words.
2. GeeksforGeeks (GFG) Link Button
Functionality:
- Directly opens a relevant GFG article in a new tab
- GFG URL pattern:
https://www.geeksforgeeks.org/search/?q=[TOPIC_NAME]
- Or link to specific GFG tutorial page (can be curated or auto-generated)
Example mappings:
Why this is valuable
- Keeps users on platform β No need to leave openCSE for basic clarifications
- Reduces learning friction β Instant access to alternative explanations
- Two learning modes β AI for interactive Q&A, GFG for structured reading
- Beginner-friendly β Perfect for students who need multiple explanations to grasp a concept
- Scalable β Works for all 50+ topics across 8 semesters
Proposed Feature
Enhance every topic documentation page by adding a "Still Have Doubt? Dive Deeper" section at the bottom of the content. This section will provide two buttons:
Problem it solves
Currently, when students finish reading a documentation page (e.g., "C Programming", "Data Structures", "Operating Systems") but still have doubts or want to understand the concept from a different perspective, they must:
This breaks the learning experience and causes frustration.
What this contribution will add
For Each Documentation Page (e.g.,
/docs/semester-1/c-programming)1. AI Search Button
Functionality:
Fallback if no API key: Show a message with pre-written suggested Google search queries.
Example AI prompt template:
You are a friendly CS tutor. The student just read the documentation about "[TOPIC_NAME]" but still has doubts. Explain it differently using:
Keep it under 150 words.
2. GeeksforGeeks (GFG) Link Button
Functionality:
https://www.geeksforgeeks.org/search/?q=[TOPIC_NAME]Example mappings:
Why this is valuable