SciPhi-AI / R2R

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

JS V3 #1571

Closed NolanTrem closed 5 days ago

NolanTrem commented 1 week ago

[!IMPORTANT] Introduces JavaScript SDK V3, aligning with Python SDK, deprecating older methods, and updating models, tests, and miscellaneous files.

  • Behavior:
    • Introduces JavaScript SDK V3 for collections, documents, and users management.
    • Deprecates older methods in r2rClient.ts in favor of new V3 methods.
    • Updates Python SDK to align with new V3 methods.
  • Models:
    • Adds WrappedCollectionResponse and WrappedCollectionsResponse for handling collection responses.
    • Updates CollectionResponse model to include optional user_id.
  • Tests:
    • Updates CollectionsIntegrationSuperUser.test.ts to test new V3 collection methods.
  • Misc:
    • Adds zametov.txt as a test document.
    • Updates collections_router.py to handle new V3 API endpoints for collections.
    • Adds pre-commit hook to check for Dict/List usage in Python files.

This description was created by Ellipsis for 566bc8db4d97ce9f28e42080226a61ed3a82dd02. 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 12, 2024 8:09pm
yc-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 8:09pm
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **recommendation_platform** | ⬜️ Ignored ([Inspect](https://vercel.com/my-team-88dd52c0/recommendation_platform/26t17f3WNsm2CW4dAcuAZ378zLJj)) | | | Nov 12, 2024 8:09pm |