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/add supabase auth #1259

Closed emrgnt-cmplxty closed 6 days ago

emrgnt-cmplxty commented 6 days ago

[!IMPORTANT] Add Supabase authentication, update ingestion and chunking processes, and modify dependencies.

  • Authentication:
    • Add SupabaseAuthProvider in auth/supabase.py for user registration, login, and token management.
    • Update create_auth_provider() in factory.py to support Supabase.
    • Add login_with_token() in sdk/auth.py for token-based login.
  • Ingestion:
    • Modify ingest_files_app() in ingestion_router.py to handle chunking_config as a JSON string.
    • Add parse_ingest_file_input() in ingestion_service.py to parse chunking config.
    • Update IngestionService to handle chunking and embedding processes.
  • Chunking:
    • Update R2RChunkingProvider and UnstructuredChunkingProvider to handle chunking configurations.
  • Dependencies:
    • Add supabase to pyproject.toml dependencies.
  • Misc:
    • Increment version to 3.1.49 in pyproject.toml.
    • Minor logging and print statement adjustments in various files.

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

vercel[bot] commented 6 days 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 Sep 24, 2024 4:22am
yc-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 24, 2024 4:22am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **recommendation_platform** | ⬜️ Ignored ([Inspect](https://vercel.com/my-team-88dd52c0/recommendation_platform/EbJZMDsFqz7QCa5meQn3Fxw2j4Av)) | | | Sep 24, 2024 4:22am |