Spaces:
Sleeping
Sleeping
Commit History
-
feat: add PDF & supporting materials integration to contextβ
Riley Coleman- Add build_context_with_supporting() function to embed extracted PDF text - Add get_supporting_docs_for_grant() to retrieve supporting materials - Add _load_supporting_docs_jsonl() helper to index 1,124 supporting documents - Auto-extract grant ID from URL if not present - Support filtering by document type (PDF only or mixed) - Include top k supporting docs with full text in LLM context Benefits: β Model now has direct access to PDF content (not just URLs) β Can answer questions about briefing materials and policies β Can cite specific sections from supporting documents β ~1,120 HTML sections + 4 PDFs available for context β No external API calls needed - content is embedded Usage: from src.analyzer.context_builder import build_context_with_supporting context = build_context_with_supporting(grant, k=5) # Pass to LLM with full supporting materials embedded See PDF_CONTEXT_INTEGRATION.md for complete integration guide. π€ Generated with Claude Codebfcc872 -
feat: consolidate documentation and improve code organizationβ
Riley Coleman- Consolidate all documentation into single comprehensive README.md * Features, setup, deployment, and configuration * Architecture overview and tech stack * Quick start guide with examples * Recent updates (URL handling fix) - Create DEPRECATED.md noting consolidated files * Lists all deprecated documentation * Provides migration guide for developers * References for historical context - Enhance context_builder.py for complete URL handling * Always provides full HTTPS URLs (no relative paths) * Includes contact information with every context * Properly processes all snapshot sections * Well-documented with usage examples - Keep single source of truth (README.md) * Easier to maintain * Better for onboarding * Clear deprecation path * Reference to code for implementation details Key improvements: β Consolidated 20+ docs into one clear README β All URLs are complete HTTPS (not /relative/paths) β Contact info always included (email, phone, hours) β 28 snaβ¦573fe2e
-
Add working grant analyst demo setup
Riley Coleman59ebe66