You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ai: add aliases for integration with langchain - #24791
Add aliases for integration with langchain to avoid 404 links
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
The new LangChain alias URLs, and possibly the existing LangChain URLs, can lead readers to the vector search overview instead of the LangChain tutorial. Move the aliases to the LangChain page before merging.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "ai: add aliases for integration with langchain" matches the single change in the changeset, which adds LangChain integration aliases to the vector search integration overview page to avoid …
Description check
The description states what changed (adding aliases for LangChain integration to avoid 404 links) and marks the target version (v8.5). The required 'What is changed' section is filled in. The template…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "ai: add aliases for integration with langchain" matches the single change in the changeset, which adds LangChain integration aliases to the vector search integration overview page to avoid 404 links. It is specific and concise.
Full details: Description check
Explanation
The description states what changed (adding aliases for LangChain integration to avoid 404 links) and marks the target version (v8.5). The required 'What is changed' section is filled in. The template's optional sections, such as the related PR links and the first-time contributor checklist, are left blank. The 'Change aliases' checkbox is not ticked even though this PR changes aliases.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
summary: An overview of AI integrations for TiDB, including Auto Embedding providers, AI frameworks, ORM libraries, cloud services, and MCP server support.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
Keep LangChain aliases on the LangChain page.
The overview now declares the three legacy LangChain aliases and the /ai/vector-search-integrate-with-langchain/ alias. The LangChain tutorial already declares the three legacy aliases. Two pages now claim the same URLs, and the repository does not show which page wins. The /ai alias also leads to the overview, which does not cover LangChain. Move the LangChain aliases to the page that owns the content.
The reason will be displayed to describe this comment to others. Learn more.
Analysis chain
Script executed:
#!/bin/bashprintf'%s\n''--- Revision ---'
git rev-parse HEAD
printf'%s\n''--- LangChain files ---'
fd -i 'langchain' -t f .printf'%s\n''--- LangChain route declarations and references ---'
rg -n -C 2 'vector-search-integrate-with-langchain'.||trueprintf'%s\n''--- TOC files ---'
fd -i '(^|[-_])toc([._-]|$)' -t f .| head -100
printf'%s\n''--- Publication guidance ---'
rg -n -i -C 2 'toc.*(publish|alias)|alias.*toc|toc.*(generat|build)|only.*toc' --glob '*.md' --glob '*.yaml' --glob '*.yml'| head -160 ||true
Length of output: 22172
@lilin90 Understood. Routing to the overview makes sense while the tutorial is absent from the TOC.
Both source files still declare the three legacy aliases. I could not verify whether the publishing process includes the tutorial or how it handles duplicate aliases. Please check all four routes in the documentation preview. I’m not marking the finding as addressed yet.
Learnings added
Learnt from: lilin90
Repo: pingcap/docs PR: 24791
File: ai/integrations/vector-search-integration-overview.md:4-4
Timestamp: 2026-12-01T10:13:40.572Z
Learning: Within repository "pingcap/docs", only for files matching one of ["ai/integrations/vector-search-integration-overview.md"]: For `ai/integrations/vector-search-integration-overview.md`, while the LangChain tutorial is absent from the TOC, the LangChain aliases are intentionally assigned to the overview. Do not require moving them to the tutorial solely because it contains the LangChain content; check the published routes for conflicts.
Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added, or deleted? (Required)
Add aliases for integration with langchain to avoid 404 links
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit