Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ai/integrations/vector-search-integration-overview.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AI Integrations for TiDB
summary: An overview of AI integrations for TiDB, including Auto Embedding providers, AI frameworks, ORM libraries, cloud services, and MCP server support.
aliases: ['/tidb/stable/vector-search-integration-overview/','/tidb/dev/vector-search-integration-overview/','/tidbcloud/vector-search-integration-overview/']
aliases: ['/tidb/stable/vector-search-integration-overview/','/tidb/dev/vector-search-integration-overview/','/tidbcloud/vector-search-integration-overview/','/tidb/stable/vector-search-integrate-with-langchain/','/tidb/dev/vector-search-integrate-with-langchain/','/tidbcloud/vector-search-integrate-with-langchain/','/ai/vector-search-integrate-with-langchain/']

@coderabbitai coderabbitai Bot Dec 1, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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.

Overview aliases

-aliases: ['/tidb/stable/vector-search-integration-overview/','/tidb/dev/vector-search-integration-overview/','/tidbcloud/vector-search-integration-overview/','/tidb/stable/vector-search-integrate-with-langchain/','/tidb/dev/vector-search-integrate-with-langchain/','/tidbcloud/vector-search-integrate-with-langchain/','/ai/vector-search-integrate-with-langchain/']
+aliases: ['/tidb/stable/vector-search-integration-overview/','/tidb/dev/vector-search-integration-overview/','/tidbcloud/vector-search-integration-overview/']
LangChain page aliases

-aliases: ['/tidb/stable/vector-search-integrate-with-langchain/','/tidb/dev/vector-search-integrate-with-langchain/','/tidbcloud/vector-search-integrate-with-langchain/']
+aliases: ['/tidb/stable/vector-search-integrate-with-langchain/','/tidb/dev/vector-search-integrate-with-langchain/','/tidbcloud/vector-search-integrate-with-langchain/','/ai/vector-search-integrate-with-langchain/']

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: Since the LangChain tutorial is not in any TOC file for now, I moved those aliases in that file to this doc too.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Analysis chain

Script executed:

#!/bin/bash
printf '%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' . || true
printf '%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.

You are interacting with an AI system.

---

# AI Integrations for TiDB
Expand Down