Enhance indexing and querying functionalities
- Updated
index_graphfunction to include detailed progress tracking and multi-threaded output handling. - Improved
run_queryandsend_messagefunctions to handle model parameters and exceptions robustly. - Refactored UI components for better user interaction:
- Removed redundant
root_dirparameter from several functions. - Enhanced folder and file selection interactions in the indexing outputs tab.
- Improved feedback and status updates for file operations and indexing progress.
- Removed redundant
- Added progress bar and detailed logging for indexing process.
- Set up global
root_dirvalue for consistent directory handling. - Minor bug fixes and performance optimizations.
Changes:
- Modified
index_graphto provide real-time progress updates. - Refactored
send_messageto streamline query execution and error handling. - Improved
update_visualization,update_output_folder_list,update_folder_content_list,handle_content_selection, andinitialize_selected_folderfor better user experience. - Updated UI elements in the GraphRAG Local UI for clarity and usability.
Reviewed and tested all changes to ensure stability and performance improvements.