Spaces:
Sleeping
Sleeping
Commit History
-
fix: enhance admin functionality and error handling in ingestion and analytics processes
Ananth Shyame646563
-
feat: add Zustand stores for filters and UI state management
- Implemented `filterStore` for managing date range and filters. - Created `uiStore` for handling theme, sidebar state, and toast notifications. style: add global styles with Tailwind CSS - Introduced `globals.css` for base styles, skeleton loading animations, and code block copy button styles. test: setup testing environment - Added Jest DOM for improved testing capabilities. feat: define API types for better type safety - Created `api.ts` for various API request and response types. - Added `errors.ts` for standardized error handling. - Defined user-related types in `user.ts`. chore: configure TypeScript settings - Added `tsconfig.json` for TypeScript compiler options. feat: implement admin API for data source management - Developed endpoints for listing and patching data sources using Redis. feat: create analytics API for query events and knowledge health - Implemented endpoints for retrieving query statistics, topics, and knowledge health metrics. feat: add authenticati…9dfccd9 -
Use fresh Neo4j driver per request; create driver after Gemini extraction to avoid idle timeout
4056ec9 -
Add retry-on-SessionExpired for ingest writes; fix WebSocket driver init error handling
b2158c9 -
Fix defunct Neo4j connection: add keep-alive, liveness check, retry on SessionExpired
cf1b61a
-
Fix startup imports and add graph_store module
- Make FlagEmbedding, GLiNER, spacy, PyMuPDF imports lazy (inside loader functions) so the server starts without ML libs installed - Add python-multipart for FastAPI file upload support - Add graph_store/ module: Neo4j entity extraction, writer, reader, pipeline - Wire graph pipeline into ingestion job with graceful NEO4J skip - Mount /graph router in main.py with lifespan driver cleanup16b7df8