Spaces:
Runtime error
Runtime error
Commit History
-
Add comprehensive government documents (13 detailed docs) to ensure substantial knowledge base even when database resets
8dcd1af
-
Add 899999
89fd424
-
Add 899999999999999999999999
224c593
-
Fix document setup to use correct LanceDB API
- Fix add_document method call to use add_documents with proper document objects - Create document objects with page_content and metadata attributes - Add support for creating rajasthan_documents table if it doesn't exist - Properly handle document insertion with embeddings and IDsa65937e -
Add automatic document setup on startup
- Create setup_documents.py with sample government documents about pensions and DA - Include pension basics, DA impact analysis, and Rajasthan pension rules - Modify app.py to automatically populate database on startup - This ensures documents are available for RAG search even without pre-existing databased474d22