Skip to content

feat: support signed-in providers in GraphRAG and PageIndex OSS - #2844

Open
jiabingyu2024 wants to merge 2 commits into
HKUDS:devfrom
jiabingyu2024:feat/local-rag-oauth-providers
Open

jiabingyu2024 wants to merge 2 commits into
HKUDS:devfrom
jiabingyu2024:feat/local-rag-oauth-providers

Conversation

@jiabingyu2024

Copy link
Copy Markdown

Description

GraphRAG rejects signed-in models such as OpenAI Codex when creating or re-indexing a knowledge base. PageIndex OSS indexing also needs a way to use DeepTutor's existing signed-in model providers.

  • Route GraphRAG indexing and search, and PageIndex OSS indexing, through the existing native provider runtime.
  • Revalidate access to saved GraphRAG models against the current account's catalog and keep provider calls on the initiating event loop.
  • Preserve actionable model access, sign-in, and rate-limit errors. Resolve GraphRAG paths relative to each knowledge base so incremental indexing can clean up its preflight directory on Windows.
  • Document the model selection and sign-in requirements for both engines.

Related Issues

Related to #2839.

This PR is open for review while the scope awaits maintainer feedback on the issue.

Module(s) Affected

  • services
  • docs
  • tests
  • Other (CLI)

Checklist

  • This PR targets dev.
  • Added focused regression tests and updated the documentation.
  • Pre-commit hooks passed on changed files.
  • Repository-wide pre-commit is green on Windows.

Testing

  • 149 focused tests passed on Windows.
  • Smoke tests with the actual SDKs and stubbed provider responses exercised GraphRAG initialization, incremental indexing, and basic search, plus PageIndex OSS Flash PDF ingestion and deletion.
  • In a wider RAG and CLI run, 1,021 tests passed and four existing symlink tests failed while creating symlinks that require Windows privileges. Repository-wide pre-commit reproduced 23 baseline MyPy errors on Windows. Live OAuth account flows remain unverified.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant