- Fix nested data/data/ directory structure in HuggingFace Spaces
- Update ui_components.py to use config-based data paths instead of hardcoded 'data'
- Add symlink filtering to prevent circular directory references
- Add search_indexes to excluded folders list
- Modify setup_datasets.py to extract HF repo data/ contents directly to target directory
- Prevents nested structure: data/data/checklist -> data/checklist
Resolves project selector showing incorrect 'Data (5 rooms, 974 docs)' option.
Now correctly displays only VDR projects:
- Automated Services Transformation (1 rooms, 477 docs)
- Industrial Security Leadership (1 rooms, 491 docs)
Fix FAISS index naming mismatch for checklist and questionsโ
Juan Salas
d8ecf39
- Remove -simple suffix from FAISS index names in build script
- Simplify document handler to use directory names directly
- Skip document type embeddings for framework documents (checklist/questions)
- Resolves 'No pre-built FAISS index found for checklist' error
The build process was creating checklist-simple.faiss but the loader
expected checklist.faiss. Now both are aligned for consistent naming.
fix: resolve deployment crash with missing VDR directoryโ
Juan Salas
3632723
- Make config validation deployment-aware to handle missing data gracefully
- Add environment detection for Streamlit/HF deployment contexts
- Improve dataset download script with retry logic and better error handling
- Add force retry option for partial downloads
- Provide clear feedback about HF_TOKEN authentication requirements
Fixes 'Critical directory vdrs_dir does not exist' error in deployment environments
Fix streamlit command in start scriptโ
Juan Salas
6d03070
Change from 'streamlit run' to 'python -m streamlit run' for proper
execution in uv environments. This resolves the 'Failed to spawn: streamlit'
error and allows 'uv run start' to successfully launch the application.
Fix uv run scripts: restore all missing script definitions and enable packagingโ
Juan Salas
3e5d20a
- Added all missing script definitions to pyproject.toml [project.scripts]
- Enabled packaging with [tool.uv] package = true
- Added package discovery for scripts* and app* packages
- Created scripts/__init__.py to make scripts a proper Python package
- All uv run commands now work: start, build, build-indexes, etc.
Resolves issue where 'uv run start' failed with 'No such file or directory'
๐ Refactor: Move datasets to HuggingFace reposโ
Juan Salas
9a71b8f
- Remove all data files from git tracking (now downloaded from HF repos)
- Add scripts to download datasets from jmzlx/dd-framework, jmzlx/dd-indexes, jmzlx/dd-vdrs
- Add scripts to upload datasets to HuggingFace repos
- Update .gitignore to exclude data/ directory
- Datasets now downloaded on-demand using setup_datasets.py
- Streamlit cloud config improvements
Performance optimizations and agentic company analysis