Skip to content

tidb-cloud: remove Chat2Query documentation - #24549

Merged
ti-chi-bot[bot] merged 5 commits into
pingcap:release-8.5from
qiancai:remove-chat2query
Oct 27, 2026
Merged

ti-chi-bot[bot] merged 5 commits into
pingcap:release-8.5from
qiancai:remove-chat2query

Conversation

@qiancai

@qiancai qiancai commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

What is changed, added or deleted? (Required)

Remove documentation for Chat2Query, which has been removed from the TiDB Cloud console, and its API, which is being retired.

  • Delete the Chat2Query API, knowledge base, and multi-round session guides; remove related steps, concepts, examples, navigation entries, and references.
  • Retain manual SQL Editor documentation under explore-data-with-sql-editor.md, update inbound links, and redirect all four removed page URLs using aliases.
  • Remove the retired SQL Editor feature for generating a Data Service endpoint from a SQL file and its cross-reference.
  • Preserve historical release note entries and remove only obsolete documentation references.

Validation: scoped Markdownlint and internal link checks (25 files), plus git diff --check.

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.

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • Documentation
    • Added a SQL Editor guide covering availability, access, query execution, result limits, SQL files, and editor settings.
    • Updated quick-start instructions, setup guides, examples, and navigation links to direct readers to the SQL Editor and use direct SQL examples.
    • Removed Chat2Query documentation, including guides for its API, sessions, and knowledge bases, along with related references and AI-assisted SQL-generation instructions.

@ti-chi-bot ti-chi-bot Bot added area/develop This PR relates to the area of TiDB App development. missing-translation-status This PR does not have translation status info. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 26, 2026
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between b1ed07e and 6df6c5e.

Files selected for processing: 2
  • TOC-tidb-cloud.md
  • tidb-cloud/explore-data-with-sql-editor.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

Walkthrough

The documentation replaces Chat2Query-focused SQL Editor guidance with a general SQL Editor guide and direct SQL instructions. It also removes Chat2Query API, knowledge, and session guides, and updates related links and references.

Changes: SQL Editor and Chat2Query documentation

Layer / File(s) Summary
SQL Editor guide and quick start
tidb-cloud/explore-data-with-chat2query.md, tidb-cloud/explore-data-with-sql-editor.md, tidb-cloud/tidb-cloud-quickstart.md, tidb-cloud/connect-to-tidb-cluster.md
The new SQL Editor guide covers availability, query execution, SQL files, and settings. The quick start now demonstrates direct SQL with table creation, inserts, and a query. The cluster connection page describes writing and running queries.
Chat2Query API and Data Service content
tidb-cloud/use-chat2query-*.md, tidb-cloud/data-service-api-key.md, tidb-cloud/data-service-app-config-files.md, tidb-cloud/data-service-concepts.md, tidb-cloud/data-service-get-started.md, tidb-cloud/data-service-manage-data-app.md, tidb-cloud/data-service-manage-endpoint.md, tidb-cloud/data-service-overview.md, tidb-cloud/data-service-postman-integration.md, tidb-cloud/data-service-response-and-status-code.md
The Chat2Query API, knowledge, and session guides were deleted. Data Service documentation removes related guidance and Chat2Data response examples.
SQL Editor links and references
TOC-tidb-cloud-starter.md, TOC-tidb-cloud.md, develop/serverless-driver-*-example.md, tidb-cloud/data-service-oas-with-nextjs.md, tidb-cloud/manage-user-access.md, tidb-cloud/sql-proxy-account.md, tidb-cloud/tidb-cloud-import-local-files.md
Navigation, tutorials, role tables, and SQL-related instructions now link to the SQL Editor guide.
Other Chat2Query references
tidb-cloud/ai-feature-concepts.md, tidb-cloud/releases/release-notes-2023.md, tidb-cloud/releases/release-notes-2024.md, tidb-cloud/tidb-cloud-glossary.md, tidb-cloud/tidb-cloud-roadmap.md
Chat2Query references were removed or unlinked in AI feature concepts, release notes, the glossary, and the roadmap.

Priority: Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related PRs

  • pingcap/docs#24556: Documents the removal of Chat2Query from SQL Editor and Data Service, including the Chat2Query API.

Suggested reviewers: lilin90

Merge Risk: Minimal · previous review 6df6c

The documentation transition is mergeable with no supported outstanding correctness or availability risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the primary change: removing Chat2Query documentation.
Description check Passed The description covers the documentation removals, retained SQL Editor content, aliases, version scope, AI involvement, deleted files, and validation performed. It matches the required template struct…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description covers the documentation removals, retained SQL Editor content, aliases, version scope, AI involvement, deleted files, and validation performed. It matches the required template structure sufficiently.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
🧪 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🔇 Additional comments: 7
TOC-tidb-cloud-starter.md: 1

138-138: LGTM!

TOC-tidb-cloud.md: 1

174-174: LGTM!

tidb-cloud/data-service-oas-with-nextjs.md: 1

25-25: LGTM!

tidb-cloud/manage-user-access.md: 1

144-145: LGTM!

Also applies to: 164-165

tidb-cloud/sql-proxy-account.md: 1

8-8: LGTM!

tidb-cloud/tidb-cloud-import-local-files.md: 1

80-80: LGTM!

tidb-cloud/explore-data-with-sql-editor.md-86-88: 1

86-88: Trivial · Maintainability & Code Quality · Quick win

⚠️ Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Vary the repeated bullet openings.

LanguageTool flags these three consecutive bullets because each starts with To. Start each instruction with its action to improve scanability without changing the procedure.

Proposed replacement
-- To add a SQL file, click **+** on the **SQL Files** tab.
-- To rename a SQL file, move your cursor on the filename, click **...** next to the filename, and then select **Rename**.
-- To delete a SQL file, move your cursor on the filename, click **...** next to the filename, and then select **Delete**. Note that when there is only one SQL file on the **SQL Files** tab, you cannot delete it.
+- Add a SQL file by clicking **+** on the **SQL Files** tab.
+- Rename a SQL file by moving your cursor on the filename, clicking **...** next to the filename, and selecting **Rename**.
+- Delete a SQL file by moving your cursor on the filename, clicking **...** next to the filename, and selecting **Delete**. Note that when there is only one SQL file on the **SQL Files** tab, you cannot delete it.

Sources: Path instructions, Linters/SAST tools


Review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 6fa2484 and d4bc2a5.

Files selected for processing: 29
  • TOC-tidb-cloud-starter.md
  • TOC-tidb-cloud.md
  • develop/serverless-driver-drizzle-example.md
  • develop/serverless-driver-kysely-example.md
  • tidb-cloud/ai-feature-concepts.md
  • tidb-cloud/connect-to-tidb-cluster.md
  • tidb-cloud/data-service-api-key.md
  • tidb-cloud/data-service-app-config-files.md
  • tidb-cloud/data-service-concepts.md
  • tidb-cloud/data-service-get-started.md
  • tidb-cloud/data-service-manage-data-app.md
  • tidb-cloud/data-service-manage-endpoint.md
  • tidb-cloud/data-service-oas-with-nextjs.md
  • tidb-cloud/data-service-overview.md
  • tidb-cloud/data-service-postman-integration.md
  • tidb-cloud/data-service-response-and-status-code.md
  • tidb-cloud/explore-data-with-chat2query.md
  • tidb-cloud/explore-data-with-sql-editor.md
  • tidb-cloud/manage-user-access.md
  • tidb-cloud/releases/release-notes-2023.md
  • tidb-cloud/releases/release-notes-2024.md
  • tidb-cloud/sql-proxy-account.md
  • tidb-cloud/tidb-cloud-glossary.md
  • tidb-cloud/tidb-cloud-import-local-files.md
  • tidb-cloud/tidb-cloud-quickstart.md
  • tidb-cloud/tidb-cloud-roadmap.md
  • tidb-cloud/use-chat2query-api.md
  • tidb-cloud/use-chat2query-knowledge.md
  • tidb-cloud/use-chat2query-sessions.md
Files with no reviewable changes: 11
  • tidb-cloud/data-service-api-key.md
  • tidb-cloud/use-chat2query-knowledge.md
  • tidb-cloud/data-service-concepts.md
  • tidb-cloud/data-service-app-config-files.md
  • tidb-cloud/data-service-manage-data-app.md
  • tidb-cloud/tidb-cloud-glossary.md
  • tidb-cloud/data-service-overview.md
  • tidb-cloud/releases/release-notes-2024.md
  • tidb-cloud/explore-data-with-chat2query.md
  • tidb-cloud/use-chat2query-sessions.md
  • tidb-cloud/use-chat2query-api.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

Comment thread develop/serverless-driver-drizzle-example.md
Comment thread develop/serverless-driver-kysely-example.md
Comment thread tidb-cloud/data-service-response-and-status-code.md
@qiancai qiancai changed the title tidb-cloud: remove retired Chat2Query documentation tidb-cloud: remove Chat2Query documentation Oct 26, 2026
@qiancai qiancai self-assigned this Oct 27, 2026
@qiancai qiancai added translation/doing This PR's assignee is translating this PR. area/tidb-cloud This PR relates to the area of TiDB Cloud. needs-cherry-pick-master Should cherry pick this PR to master branch. and removed missing-translation-status This PR does not have translation status info. labels Oct 27, 2026
Comment thread TOC-tidb-cloud-starter.md Outdated
Comment thread TOC-tidb-cloud.md Outdated
Updated the title to indicate that SQL Editor is in preview and clarified its availability for starter instances.
@ti-chi-bot

ti-chi-bot Bot commented Oct 27, 2026

Copy link
Copy Markdown

@qqqdan: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@qiancai

qiancai commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator Author

/approve

@qiancai qiancai added the lgtm label Oct 27, 2026
@ti-chi-bot

ti-chi-bot Bot commented Oct 27, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the approved label Oct 27, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit d96fa6c into pingcap:release-8.5 Oct 27, 2026
11 of 12 checks passed
@ti-chi-bot

Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created to branch master: #24558.
But this PR has conflicts, please resolve them!

github-actions Bot added a commit to qiancai/docs-cn that referenced this pull request Oct 27, 2026
Synced from: pingcap/docs#24549
Target PR: pingcap#22010

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/develop This PR relates to the area of TiDB App development. area/tidb-cloud This PR relates to the area of TiDB Cloud. lgtm needs-cherry-pick-master Should cherry pick this PR to master branch. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. translation/doing This PR's assignee is translating this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants