Spaces:
Running
Running
Commit History
-
feat: add embedding normalization utility and corresponding test Running
179360e -
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
-
feat: integrate Neon Object Storage for document uploads and retrieval
- Added boto3 dependency for S3 interactions in pyproject.toml. - Implemented object storage functionality in infrastructure/object_storage.py: - Functions for uploading, retrieving, deleting documents, and handling configuration. - Updated API routes in routes/api.py to utilize object storage for document handling: - Enhanced document upload to store original content in S3. - Modified raw document retrieval to fetch from S3. - Implemented cleanup logic for failed uploads. - Created regression tests for object storage interactions in tests/test_object_storage.py.0cfdea5 -
Refactor code structure for improved readability and maintainability
7a064ce
-
Add logging for chunking processes and ChromaDB initialization; enhance OCR page processing with logging
19bbd13
-
Update license from MIT to AGPLv3; modify README to reflect new license terms and enhance clarity in database.py by removing unnecessary blank lines.
20a12a3
-
Remove redundant list check for party_roles in add_document function
cef464e -
Refactor logging from error to info level in various modules; enhance dbviewer.html for better text handling and UI responsiveness.
7645832 -
Update .gitignore to include .github and copilot-instructions.md; refactor Dockerfile for clarity; enhance error logging in app.py; streamline entrypoint.sh; fix chunker.py documentation; correct new document ID assignment in database.py; improve API response structure in api.py; add document viewer overlay in manifest.html.
a9af315 -
Fix typos in prompts for legal analysis in document processing and chunking; update new document ID assignment logic in database.
940fcc5
-
Handle ValueError when parsing effective_date in Document.from_chroma to prevent crashes on invalid date formats.
49366c4
-
Enhance cell editing functionality in chunks.html; add focusEditingCell function for improved user experience during edits.
36ad8fd -
Refactor AI model calls in chunker and document processor to use updated response handling; add whitespace for clarity in API route
2ca006a -
Refactor effective date handling in add_document and list_documents functions for improved consistency and readability.
7abc2dc -
Refactor effective date handling in add_document and list_documents functions; improve HTML styling for better readability and responsiveness.
cd05629 -
Refactor get_embedding_counts_for_chunks function to simplify parameters and improve readability; update API calls accordingly.
317e100 -
Update instructions for Copilot, enhance embedding count function, and improve upload page warnings
ee1b1b5 -
Refactor chunking logic to improve metadata handling; enhance database viewer and upload page UI with additional warnings and styling.
4e10575 -
Enhance UI and improve code readability across multiple HTML files; update database.py and api.py for better functionality and error handling.
0333b18 -
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 -
manifest
Unverified signaturebd2eab1 -
docker
Unverified signature2837fde -
docker
Unverified signaturead7b348 -
docker
Unverified signaturebb68da2 -
add chmod
Unverified signature2d37fc2
-
add chmod
Unverified signature5ca903c -
add chmod
Unverified signaturedf6d68c -
add chmod
Unverified signatured7c5116 -
add chmod
Unverified signature13b60b7 -
add chmod
Unverified signaturefbadb61 -
add chmod
Unverified signature05286e4 -
add chmod
Unverified signature1b7fb2e -
add chmod
Unverified signature30a4b5d -
add chmod
Unverified signature45abfac -
add chmod
Unverified signature9a94cda -
add
Unverified signatured95b272 -
add
Unverified signaturec1070e2 -
add
Unverified signature0d1c835 -
add
Unverified signature3d0bdf9 -
add
Unverified signaturec565f55 -
update chunker
Unverified signature5e3673b -
commit
Unverified signatureca2ea72 -
Refactor environment variable setup for cache and database paths in app initialization
Unverified signature77fd3bc -
Set writable cache directory for ChromaDB and update file opening mode for home write test
Unverified signature32d948f -
Update cache directory paths to use a unified /data/cache structure
Unverified signature3a4d792 -
Change file opening mode to append for write test in Chroma client initialization
Unverified signature99684e9 -
Implement cache directory management and system reset endpoint for ChromaDB
Unverified signature20930c0 -
Update ChromaDB path to use absolute directory for improved reliability
Unverified signature49354f6 -
Remove None from candidates list in ChromaDB client initialization for improved clarity
Unverified signatureca8ecc7 -
Refactor configuration and file handling for improved directory management and fallback mechanisms
Unverified signature956db16