Enhance indexing and querying functionalities
- Updated
index_graph
function to include detailed progress tracking and multi-threaded output handling. - Improved
run_query
andsend_message
functions to handle model parameters and exceptions robustly. - Refactored UI components for better user interaction:
- Removed redundant
root_dir
parameter 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_dir
value for consistent directory handling. - Minor bug fixes and performance optimizations.
Changes:
- Modified
index_graph
to provide real-time progress updates. - Refactored
send_message
to streamline query execution and error handling. - Improved
update_visualization
,update_output_folder_list
,update_folder_content_list
,handle_content_selection
, andinitialize_selected_folder
for 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.