Skip to content

docs(ai-rag): re-port with Admin API, ADC, and Ingress Controller tabs#13208

Merged
Yilialinn merged 4 commits intoapache:masterfrom
Yilialinn:docs/update-ai-rag
Apr 17, 2026
Merged

docs(ai-rag): re-port with Admin API, ADC, and Ingress Controller tabs#13208
Yilialinn merged 4 commits intoapache:masterfrom
Yilialinn:docs/update-ai-rag

Conversation

@Yilialinn
Copy link
Copy Markdown
Contributor

@Yilialinn Yilialinn commented Apr 13, 2026

Summary

  • Re-port ai-rag 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
  • Update both English and Chinese documentation

@dosubot dosubot bot added size:L This PR changes 100-499 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

Re-ports the ai-rag plugin documentation (EN + ZH) to include multi-tab configuration examples (Admin API, ADC, and Ingress Controller), aligning with the API7 docs format and adding nested sub-tabs for Gateway API vs APISIX Ingress Controller under the Ingress Controller section.

Changes:

  • Added Docusaurus Tabs/TabItem-based config walkthroughs for Admin API, ADC, and Kubernetes ingress scenarios.
  • Refreshed plugin attribute/request-body tables and expanded parameter notes (e.g., Azure AI Search vector query parameters).
  • Updated both English and Chinese docs, including example payload trimming.

Reviewed changes

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

File Description
docs/en/latest/plugins/ai-rag.md Adds Admin API/ADC/Ingress Controller tabbed examples and updates tables/wording for the EN ai-rag doc.
docs/zh/latest/plugins/ai-rag.md Mirrors the EN doc structure in ZH and introduces tabbed examples plus table rewrites.
Comments suppressed due to low confidence (1)

docs/zh/latest/plugins/ai-rag.md:120

  • 示例环境变量块里包含看起来像真实的 Azure OpenAI / Azure AI Search API key(长随机字符串)。公开文档建议统一改为明显占位符(如 <your-api-key> / <your-search-api-key>),避免凭据泄露或读者误用。
# 替换为你的值

AZ_OPENAI_DOMAIN=https://ai-plugin-developer.openai.azure.com
AZ_OPENAI_API_KEY=9m7VYroxITMDEqKKEnpOknn1rV7QNQT7DrIBApcwMLYJQQJ99ALACYeBjFXJ3w3AAABACOGXGcd
AZ_CHAT_ENDPOINT=${AZ_OPENAI_DOMAIN}/openai/deployments/gpt-4o/chat/completions?api-version=2024-02-15-preview

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

Comment thread docs/zh/latest/plugins/ai-rag.md
Comment thread docs/zh/latest/plugins/ai-rag.md Outdated
Comment thread docs/en/latest/plugins/ai-rag.md
Comment thread docs/en/latest/plugins/ai-rag.md
Comment thread docs/en/latest/plugins/ai-rag.md
Comment thread docs/zh/latest/plugins/ai-rag.md
Comment thread docs/zh/latest/plugins/ai-rag.md Outdated
Comment thread docs/en/latest/plugins/ai-rag.md
Comment thread docs/zh/latest/plugins/ai-rag.md
Comment thread docs/zh/latest/plugins/ai-rag.md
Yilialinn and others added 3 commits April 14, 2026 13:56
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Convert attribute table from 4-column to 6-column format (Name, Type,
Required, Default, Valid values, Description) for consistency across
plugin docs.
@Yilialinn Yilialinn merged commit 3d300f6 into apache:master Apr 17, 2026
7 checks passed
@Yilialinn Yilialinn deleted the docs/update-ai-rag branch April 17, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants