Spaces:
Running
Running
Commit History
-
fix: add knowledge base files and use relative path in extractor
th +1: Claude Sonnet 4.5- Copy all aspects knowledge base files to knowledge-base/aspects/ * sun-aspects.md (27KB) * moon-aspects.md (110KB) * venus-aspects.md (82KB) * mars-aspects.md (78KB) * README.md and RAG-TEMPLATE.md - Update KNOWLEDGE_BASE_DIR to use relative path - Change from absolute Mac path to __file__-relative path - Fixes ModuleNotFoundError for knowledge_extractor Total knowledge base: ~300KB, 28,900 words, 109 aspects 🦊 Generated with Sisi Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>384d3d3 -
✨ Embed knowledge base into app.py for Docker compatibility
thFixes ModuleNotFoundError by embedding knowledge_base.py directly into app.py Changes: - Embedded 353 lines of knowledge_base.py into app.py - Changed path from absolute to relative: Path(__file__).parent / "knowledge-base" - Added knowledge-base/ directory with 15 markdown files (48 interpretations) - Removed standalone knowledge_base.py - Added .gitignore for __pycache__ This follows the same pattern as birthday_fortune_service.py to avoid Docker import issues. 🦊 Generated with Sisiaa94960