Skip to content

docs(ai-prompt-template): re-port with Admin API, ADC, and Ingress Controller tabs#13204

Open
Yilialinn wants to merge 4 commits intoapache:masterfrom
Yilialinn:docs/update-ai-prompt-template
Open

docs(ai-prompt-template): re-port with Admin API, ADC, and Ingress Controller tabs#13204
Yilialinn wants to merge 4 commits intoapache:masterfrom
Yilialinn:docs/update-ai-prompt-template

Conversation

@Yilialinn
Copy link
Copy Markdown
Contributor

@Yilialinn Yilialinn commented Apr 13, 2026

Summary

  • Re-port ai-prompt-template 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:XL This PR changes 500-999 lines, ignoring generated files. doc Documentation things labels Apr 13, 2026
- model and messages are not required in source schema
- messages type is array[object], not array
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-prompt-template plugin documentation from API7 docs, adding multi-tab configuration examples (Admin API / ADC / Ingress Controller with nested Gateway API vs APISIX Ingress Controller) and updating both English and Chinese docs accordingly.

Changes:

  • Add MDX <Tabs> / <TabItem> usage to present Admin API, ADC, and Ingress Controller configurations.
  • Expand examples to cover Gateway API and APISIX Ingress Controller manifests under the Ingress Controller tab.
  • Refresh plugin attribute tables and example routes (e.g., using /openai-chat) in both EN and ZH docs.

Reviewed changes

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

File Description
docs/zh/latest/plugins/ai-prompt-template.md Adds multi-tab configuration examples and updates the Chinese plugin attribute table + examples.
docs/en/latest/plugins/ai-prompt-template.md Adds multi-tab configuration examples and updates the English plugin attribute table + examples.

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

Comment thread docs/zh/latest/plugins/ai-prompt-template.md Outdated
Comment thread docs/en/latest/plugins/ai-prompt-template.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
kayx23
kayx23 previously approved these changes Apr 14, 2026
… format

Convert attribute table from 4-column to 6-column format (Name, Type,
Required, Default, Valid values, Description) for consistency across
plugin docs. Move role enum values to Valid values column.
@kayx23 kayx23 requested a review from moonming April 15, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants