-
[NA] [DOCS] docs(v2): rework Prompt Library section (#6835)
发布于
2026-05-28 10:50:20 +00:00 - [NA] [DOCS] docs(v2): rework Prompt Library section
Restructure the v2 prompt_engineering docs around the new Prompt Library:
- Replace the agent-configuration-themed pages with prompt-library-focused
overview, getting-started, version_control, and a new "Text and chat
prompts" deep dive (ported from the v1 prompt_management content,
including multimodal examples, template engines, and search). - Flatten the directory: drop the empty advanced/ subfolder, move
playground.mdx and version_control.mdx up one level. - Drop concepts.mdx and the agent-config guaranteed_availability.mdx —
the remaining concepts are covered in overview/getting-started. - Update nav (versions/latest.yml) to use /development/prompt-library and
add permanent redirects from /development/agent-configuration in
docs.yml. - Update cross-links in evaluation/observability/development overview
pages to point at the Prompt Library. - Switch SDK examples to client.create_prompt / client.create_chat_prompt
(no more deprecated opik.Prompt / opik.ChatPrompt instantiation). - Use v for version selection; omit
versionto fetch the latest
(no"latest"literal — backend regex isv\d+). - New screenshots under img/v2/prompt-library/.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
-
fix image link
-
Optimised images with calibre/image-actions
-
kebab-case
-
docs: address PR review comments
- Add permanent redirect for legacy /agent-configuration/mcp-server
- Add language attributes to SDK tabs in version-control.mdx and prompt-types.mdx
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>下载附件