Spaces:
Running
Running
Commit History
-
Implement retrieval text and embedding utilities, evaluation scripts, and regression tests
- Add `retrieval_text.py` for token counting, truncation, and embedding input generation. - Create `evaluate_retrieval.py` for benchmarking retrieval performance against JSONL datasets. - Introduce `reindex_embeddings.py` for backfilling metadata-enriched chunk embeddings with optional dry-run functionality. - Establish `__init__.py` in `scripts` for operator-facing maintenance commands. - Develop comprehensive regression tests in `test_retrieval.py` to ensure retrieval accuracy and context handling.34d9afb
-
Refactor code structure for improved readability and maintainability
7a064ce
-
Remove meta lines for query and filters from response output in index.html
4135ac0 -
Refactor response handling in LLM to support nested response structures and improve source extraction logic
5a78d0a -
Add JSONL endpoint for chunk records and enhance HTML response formatting
f74bbfd -
Add database viewer page and enhance navigation
- Introduced a new `dbviewer.html` page for browsing documents and chunks stored in the ChromaDB database. - Updated `index.html` to include links for viewing/editing embeddings and database records. - Modified `manifest.html` and `upload.html` to add a "Back to Home" button for improved navigation. - Adjusted styles in `manifest.html` for better UI consistency.0ee86b0 -
Update README and HTML templates; refactor API to remove jurisdiction handling
14f16a2 -
Refactor document handling and manifest management in API
- Updated document metadata handling in `add_doc` to include industry, party roles, governing law, and effective date. - Introduced `update_document` function for updating document metadata. - Enhanced manifest reading and writing with new endpoints for GET, PATCH, and DELETE operations. - Improved UI for manifest with editable fields and delete functionality. - Adjusted chunk metadata linking in `chunk_doc` for better clarity.33d38c1
-
Add reset button in danger zone for corpus wipe functionality
Unverified signature7b988b8 -
Add manifest viewer and document upload pages
Unverified signature- Implemented a new manifest viewer in `manifest.html` to display and filter document metadata. - Added pagination, sorting, and editing capabilities for manifest entries. - Created an upload interface in `upload.html` for technology transactions documents with drag-and-drop support. - Included file validation, progress tracking, and user feedback for uploads.fc3bf2a