Spaces:
Runtime error
Runtime error
Commit History
-
Add detailed error logging to debug GraphRAG issues
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>462ab4b -
Fix conditional imports for missing dependencies
- Make aioboto3 import conditional to prevent AWS dependency requirement - Make transformers AutoTokenizer import conditional - Add proper error handling for optional dependencies These changes allow nano-graphrag to work without optional dependencies on platforms like Hugging Face Spaces. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>97837a7 -
Fix CSV parsing logic for nano-graphrag context format
- Update entity parsing to handle id,entity,type,description format - Update relationship parsing to handle id,source,target,description format - Add better error handling for empty lines - Handle descriptions with commas properly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>ce249f7 -
fix: Remove demo mode completely and force real GraphRAG usage
- Remove get_demo_response function entirely - Remove all fallbacks to demo mode - Force loading of first available book with retries - Ensure current_book is always set for GraphRAG queries 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>57f4f17 -
fix: Add missing transformers dependency for nano-graphrag
- Add transformers>=4.0.0 to requirements.txt - Required for nano-graphrag imports to work properly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>ce2c9fc -
fix: Simplify nano-graphrag installation without setup.py
- Add missing dependencies (graspologic, aioboto3) to requirements.txt - Replace pip install -e with simple sys.path.insert approach - Avoid setup.py issues completely by treating nano-graphrag as local module 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>82da548 -
fix: Use absolute paths in nano-graphrag setup.py
- Fix requirements.txt path resolution using os.path.join - Fix readme.md and __init__.py path resolution - Should resolve "No such file or directory" errors during installation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>9af4e05 -
fix: Correct nano-graphrag installation path
- Use absolute path to nano-graphrag directory for installation - Fix setup.py requirements.txt path resolution - Should resolve "No such file or directory: './requirements.txt'" error 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>6986d99 -
fix: Install nano-graphrag at runtime from source
- Remove -e ./nano-graphrag from requirements.txt to fix build - Add runtime installation in app.py using subprocess - This should resolve build errors while enabling nano-graphrag 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>fd13597 -
feat: Add complete nano-graphrag source code
- Add all nano-graphrag source files to Space - Remove submodule reference and add as regular files - This ensures nano-graphrag can be installed locally with -e ./nano-graphrag 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>70ab3b6 -
fix: Remove git metadata from nano-graphrag source
- Remove .git directory from nano-graphrag to avoid submodule issues - Keep only source code for direct installation 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>d341c77 -
fix: Add nano-graphrag source code to Space
- Copy complete nano-graphrag source directory to Space - Install nano-graphrag from local source (-e ./nano-graphrag) - Revert to normal import logic (no forced True) - This should fix nano-graphrag import issues 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>4f5a007 -
fix: Force NANO_GRAPHRAG_AVAILABLE = True for testing
- Force nano-graphrag availability flag to True - Add dummy classes if import fails for gradual debugging - This will help identify if the issue is import or logic related 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>17b0cdf -
fix: Configure Python 3.11 and fix dependencies for nano-graphrag
- Add python_version: 3.11 in README metadata - Fix requirements.txt with compatible versions for Python 3.11 - Install nano-graphrag from source to avoid dependency conflicts - Pin numpy, gensim and scipy versions for compatibility - Add missing dependencies: tenacity, future, xxhash, hnswlib This should resolve nano-graphrag installation issues on HF Spaces 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>af1022d -
fix: Fix GraphRAG function arguments and add all book data
- Fix 'Too many arguments' error in event handlers - Add conditional logic for external API checkbox - Copy all book data directories to Space: * a_rebours_huysmans * peau_bison_frison * vallee_sans_hommes_frison * villa_triste_modiano * tilleul_soir_anglade * racines_ciel_gary 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>a94a595 -
fix: Correct colorTo metadata for HuggingFace Spaces
🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>9e3f4bb -
feat: Update Gradio app with enhanced GraphRAG functionality
- Add support for book upload (.txt and .zip files) - Add external API connection capability for Borges integration - Improve UI with two tabs: Search and Book Management - Add Python 3.11 compatibility - Update requirements for nano-graphrag support - Add demo mode when GraphRAG is unavailable - Enhanced documentation for deployment 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>690d9f0 -
Final: Replace nano-graphrag with direct JSON data + OpenAI API to avoid Exit code 132 crashes
ef8b156 -
Stable: Remove problematic dependencies and add graceful fallback for GraphRAG without graspologic
acb27df -
Debug: Add startup logging to diagnose book loading issues and force HF Space restart
162ca98 -
Remove: Corrupted a_rebours_huysmans directory with incomplete vdb_entities.json (35 bytes)
083684c -
Fix: Auto-detect available books and add debug logging for book loading
2e87f4d -
Restore: Full nano-graphrag dependencies (graspologic, scipy, umap-learn) now that HF Space has CPU upgrade with sufficient resources
b55d261 -
Add: Git LFS configuration and first book data (chien_blanc_gary) with large files via LFS
5b582e0 -
Fix: Remove problematic dependencies and improve error handling for matrix/graspologic issues
6615a3a -
Fix: Add missing dependencies for nano-graphrag matrix operations (scipy, graspologic, umap-learn) and improve error handling
4c3780a -
Add diagnostic API endpoint for troubleshooting GraphRAG setup
d46dda0 -
Fix: Add proper nano-graphrag dependencies and environment setup
- Add required dependencies (pandas, scikit-learn, sentence-transformers) - Add OpenAI API key environment variable checking - Improve diagnostic function with detailed system info - Prepare for real GraphRAG functionality instead of demo mode901be5d -
Add diagnostic functionality to debug GraphRAG mode
623ee8c -
Add FastAPI wrapper for direct API access
7f6b009 -
Fix README colorTo for HF compliance
2b45c4a -
Add small vdb file for demo
83bb636 -
Add Borges Graph app with GraphRAG data
8a86da4 -
initial commit
0a69846