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
-
Revise section headers in README for consistency and clarity
0d804bc
-
Add LICENSE file with proprietary terms and evaluation guidelines
f25855c -
Revise LICENSE for clarity and consistency in evaluation and usage terms
bccfb8c
-
Revise evaluation license text for clarity and consistency
c1c5a52 -
Revise license information in LICENSE and README files for clarity and proprietary status
5b7e204
-
Merge remote-tracking branch 'refs/remotes/space/main'
synca03914d -
Revise Web UI description and main interface reference
Unverified signatureUpdated README to reflect changes in the Web UI description and main interface.895ec1f -
Fix formatting of license section in README
Unverified signature39caf3a -
Revise license text for clarity and copyright
Unverified signatureUpdated project description and copyright notice.8a0ec0c
-
Add logging for chunk ID extraction failures in query function
172f6ae -
Add logging for chunk ID extraction failures in query function
a5f6f94 -
Add logging for embedding generation and enhance chunk listing with detailed logs
b8c4341 -
Add logging for embedding generation and enhance chunk listing with detailed logs
46e89fe -
Add logging for chunking processes and ChromaDB initialization; enhance OCR page processing with logging
19bbd13 -
Add logging for chunking processes and ChromaDB initialization; enhance OCR page processing with logging
f9c77c3
-
Change embedding and chat models in README
4addba8 -
Simplify loading status message in spinner function for chunks and database viewer
c9902dd -
Simplify loading status message in spinner function
88c31c8 -
Simplify loading status message in spinner function for chunks and database viewer
3dd10d8 -
Simplify loading status message in spinner function
64cff06 -
Change embedding and chat models in README
Unverified signaturec081b25
-
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 -
Add link to Hugging Face Spaces in README for easy access to the application
3b4a6ed -
Update .gitignore to include data_level0.bin; enhance sorting functionality in dbviewer.html for documents and chunks with client-side sorting and improved UI indicators.
f734117 -
Enhance raw file serving by enabling download attribute for document links in manifest viewer; update API response to serve files as attachments.
6633db0 -
Update .gitignore to exclude .github; enhance API raw file serving and update manifest viewer links
18e784e -
Delete .github/instructions/copilot-instructions.md
Verified signature51a0b24 -
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 -
Remove debug document deletion in add_doc function and enhance cell editing with focusEditingCell functionality in manifest.html
a6c47c4
-
Add debug logging for document deletion in add_doc function
a815f7c -
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 -
Increase XMLHttpRequest timeout in upload.html to 5500000 ms for extended file uploads
d0eeb77 -
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 -
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 logging for refined query responses and OpenAI API results in query and gpt_service
99d167a -
Enhance query function to support both current and legacy neighbor formats; improve chunk data retrieval and response structure.
cf1bcaf -
Add JSONL endpoint for chunk records and enhance HTML response formatting
f74bbfd