docs(ai-prompt-template): re-port with Admin API, ADC, and Ingress Controller tabs#13204
Open
Yilialinn wants to merge 4 commits intoapache:masterfrom
Open
docs(ai-prompt-template): re-port with Admin API, ADC, and Ingress Controller tabs#13204Yilialinn wants to merge 4 commits intoapache:masterfrom
Yilialinn wants to merge 4 commits intoapache:masterfrom
Conversation
- model and messages are not required in source schema - messages type is array[object], not array
There was a problem hiding this comment.
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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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
approved these changes
Apr 14, 2026
Baoyuantop
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ai-prompt-templateplugin documentation from API7 docs with all three configuration tabs (Admin API, ADC, Ingress Controller)