SciPhi-AI / R2R

The all-in-one solution for RAG. Build, scale, and deploy state of the art Retrieval-Augmented Generation applications
https://r2r-docs.sciphi.ai/
MIT License
3.34k stars 248 forks source link

Feature/merge collections bugs to dev #1276

Closed emrgnt-cmplxty closed 2 days ago

emrgnt-cmplxty commented 2 days ago

[!IMPORTANT] This pull request enhances telemetry tracking, refines collection management, and improves test coverage across the codebase.

  • Telemetry:
    • Add telemetry tracking for CLI commands in main.py and telemetry.py.
    • Introduce initializeTelemetry and captureEvent functions in feature.ts to manage telemetry in the SDK.
  • Collection Management:
    • Update delete_collection in collection.py to handle errors and transactions more robustly.
    • Add select_filters method in retrieval_router.py for improved filter handling.
  • Testing:
    • Enhance test coverage in r2rClient.test.ts and r2rClientIntegrationUser.test.ts.
    • Add Jest imports to test files for consistency.
  • Miscellaneous:
    • Update package.json version to 0.3.5.
    • Remove cli.py and refactor CLI command setup in main.py.

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