SciPhi-AI / R2R

The most advanced Retrieval-Augmented Generation (RAG) system, containerized and RESTful
https://r2r-docs.sciphi.ai/
MIT License
3.65k stars 270 forks source link

Fix nested deletion filter bug #1567

Closed NolanTrem closed 1 week ago

NolanTrem commented 1 week ago

[!IMPORTANT] Fixes nested deletion filter bug by updating document chunk handling and ensuring correct pagination and filtering across multiple files.

  • Behavior:
    • Fixes handling of document chunks in database.py, management_router.py, and documents_router.py by ensuring correct document ID usage and pagination.
    • Updates list_document_chunks() and get_documents_overview() to include offset and limit parameters explicitly.
  • Functions:
    • Modifies list_document_chunks() in database.py and management_router.py to use keyword arguments for parameters.
    • Updates get_documents_overview() in ingestion_workflow.py and management_service.py to handle pagination correctly.
  • Tests:
    • Removes debug console.log statements from CollectionsIntegrationSuperUser.test.ts.
    • Updates document IDs in DocumentsIntegrationSuperUser.test.ts to reflect new test data.
  • Misc:
    • Adds marmeladov.txt as a new test data file.

This description was created by Ellipsis for 5fae6ae5f5d4f275f2b67021c2696e6520b0b725. It will automatically update as commits are pushed.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yc_demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 6:15pm
yc-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 6:15pm