Enhance RAG chatbot with new features and UI improvements#28
Open
TJay666 wants to merge 6 commits intohttps-deeplearning-ai:mainfrom
Open
Enhance RAG chatbot with new features and UI improvements#28TJay666 wants to merge 6 commits intohttps-deeplearning-ai:mainfrom
TJay666 wants to merge 6 commits intohttps-deeplearning-ai:mainfrom
Conversation
- Add course outline tool for structure queries - Implement new chat functionality with session clearing - Improve source links with clickable course/lesson URLs - Enhanced UI with better source formatting and new chat button - Update AI generator prompts for better tool usage - Add API endpoint for session management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Refactor AIGenerator to support up to 2 sequential tool calling rounds - Add _handle_tool_execution_sequential() method for message accumulation - Update system prompt to remove "one tool call maximum" limitation - Maintain backward compatibility with existing _handle_tool_execution() - Add max_rounds parameter (default: 2) for configurable behavior - Implement intelligent termination conditions: * No tool use in Claude's response * Maximum rounds reached * Tool execution failures - Preserve conversation context across rounds - Add comprehensive test suite with 34 total tests (5 new sequential tests) - Include demo script showing complex multi-step query capabilities Features enabled: - Complex course comparisons requiring multiple searches - Multi-step research with contextual follow-up queries - Intelligent early termination when sufficient information gathered - Graceful error handling for tool failures 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Implement theme toggle button with sun/moon icons in top-right corner - Add comprehensive CSS variables system for dark and light themes - Include smooth 0.3s transitions for all theme-related properties - Add keyboard accessibility support (Enter/Space keys) - Implement localStorage persistence for theme preference - Ensure proper contrast ratios and accessibility compliance - Add dynamic aria-label updates for screen readers 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce new tools for course outlining and session management, enhance the chatbot's ability to handle sequential tool calls, and implement a dark/light theme toggle with improved accessibility. Additionally, provide system development guidance and a request flow diagram.