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 embedding generation and enhance chunk listing with detailed logs
b8c4341 -
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 -
Update LICENSE and README; modify copyright holder and contact email; clean up logging in chunker.py
83e16eb -
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 legal analysis prompt in chunker to clarify clause types and improve definition term extraction; enhance instructions for Boolean value representation.
828f670 -
Refactor prompts in chunker and document processor for clarity; enhance instructions for key identification and response formatting.
e9aaf5a -
Refactor prompts in chunker and document processor for clarity and specificity in legal analysis; enhance instructions for key identification.
128be3b -
Refactor AI model calls in chunker and document processor to use updated response handling; add whitespace for clarity in API route
2ca006a -
Implement chunk metadata persistence in chunk_doc; enhance query response refinement in API and update HTML for global chunk loading
7de3e97 -
Enhance error handling in chunk_doc function and improve find_nearest_neighbors function with optional filtering; update HTML styling for better readability and responsiveness in chunks and database viewer.
eee15b3 -
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 signature7744fd3 -
docker
Unverified signature2837fde -
docker
Unverified signatureb4d5d94 -
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