Skip to content

docs(ai-request-rewrite): re-port with Admin API, ADC, and Ingress Controller tabs#13210

Open
Yilialinn wants to merge 6 commits intoapache:masterfrom
Yilialinn:docs/update-ai-request-rewrite
Open

docs(ai-request-rewrite): re-port with Admin API, ADC, and Ingress Controller tabs#13210
Yilialinn wants to merge 6 commits intoapache:masterfrom
Yilialinn:docs/update-ai-request-rewrite

Conversation

@Yilialinn
Copy link
Copy Markdown
Contributor

@Yilialinn Yilialinn commented Apr 13, 2026

Summary

  • Re-port ai-request-rewrite plugin documentation from API7 docs with all three configuration tabs (Admin API, ADC, Ingress Controller)
  • Include nested Gateway API / APISIX Ingress Controller sub-tabs within the Ingress Controller tab
  • 4 example sections: redact sensitive info, reformat data, summarize information, send to OpenAI-compatible LLM
  • Update both English and Chinese documentation

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. doc Documentation things labels Apr 13, 2026
@Yilialinn Yilialinn requested a review from Copilot April 14, 2026 03:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR re-ports the ai-request-rewrite plugin documentation (EN/ZH) to include Admin API, ADC, and Ingress Controller (Gateway API + APISIX Ingress Controller) configuration tabs, along with several end-to-end examples demonstrating request rewriting use cases.

Changes:

  • Added canonical links and Docusaurus Tabs/TabItem-based multi-configuration examples (Admin API / ADC / Ingress Controller with nested sub-tabs).
  • Updated plugin attribute tables and expanded examples (redaction, reformatting, summarization, OpenAI-compatible providers).
  • Updated both English and Chinese plugin docs to match the new structure.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
docs/en/latest/plugins/ai-request-rewrite.md Reworked EN docs with canonical link, attributes table, and tabbed examples across Admin API/ADC/Ingress.
docs/zh/latest/plugins/ai-request-rewrite.md Reworked ZH docs similarly, adding canonical link, attributes table, and tabbed examples across Admin API/ADC/Ingress.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/zh/latest/plugins/ai-request-rewrite.md Outdated
Comment thread docs/zh/latest/plugins/ai-request-rewrite.md Outdated
Comment thread docs/zh/latest/plugins/ai-request-rewrite.md Outdated
Comment thread docs/zh/latest/plugins/ai-request-rewrite.md
Comment thread docs/zh/latest/plugins/ai-request-rewrite.md
Comment thread docs/en/latest/plugins/ai-request-rewrite.md Outdated
Comment thread docs/en/latest/plugins/ai-request-rewrite.md Outdated
Comment thread docs/en/latest/plugins/ai-request-rewrite.md
Yilialinn and others added 5 commits April 14, 2026 11:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

## How it works

![image](https://github.com/user-attachments/assets/c7288e4f-00fc-46ca-b69e-d3d74d7085ca)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This was a screenshot of the mermaid diagram illustrating how the plugin works. Would be nice to keep the screenshot (not sure if mermaid is supported in the website).

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

Labels

doc Documentation things size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants