Spaces:
Runtime error
Runtime error
Commit History
-
Batch document ingestion to avoid OpenAI token limits
9126fb5
-
Add OCR fallback for scanned PDFs
412d530 -
Remove combine_under_n_chars from chunk_by_title
c01e6c8 -
Complete knowledge management refactor: client-scoped KB + batch upload + web portal
Major Changes: - Refactored from per-patient to per-client knowledge bases - Added batch document upload with deduplication - Created web portal UI for document management - Fixed circular import issues with dependencies.py - Added DocumentMetadata table for tracking uploads - Implemented document deletion from vector store New Features: - Client portal at /portal/ with login, upload, delete - Batch API endpoint /upload_documents/ (plural) - Document management APIs (list, get, delete) - Drag-and-drop file upload in UI - Real-time statistics dashboard Technical: - Created: dependencies.py, process_client_docs.py, document_manager.py, client_portal_router.py - Modified: database.py, vector_store.py, chain_factory.py, rag.py, app.py, website_chat_router.py - All imports updated for langchain 0.0.354 compatibility2dec720