让你的智能体能够设计 Adaptive Card(自适应卡片)响应模板并将其添加到 MCP 插件中,以便在 Microsoft 365 Copilot 中进行数据的可视化展示。
当你想要用丰富的可视化卡片替换纯文本响应时
当你的 API 返回需要清晰标签和格式的结构化数据时
当你需要为不同的数据类型支持不同的卡片布局时
确定你需要用于统一数据的静态模板还是动态模板
在你的 ai-plugin.json 中配置 response_semantics,包括 data_path 和 properties
使用 TextBlock、FactSet 和 Image 等自适应卡片元素设计卡片主体
使用模板语言应用条件渲染和数字格式化
你
我想用漂亮的卡片而不是纯文本来展示项目详情。
Agent
我将帮助你为 `SearchProjects` 函数添加一个静态的自适应卡片模板。我们将项目名称映射到粗体标题,将状态和所有者映射到 FactSet 以便阅读,并包含一个“查看项目”按钮,可直接在用户的浏览器中打开项目 URL。
让你的智能体能够通过集成带有自定义指令和认证的 MCP 服务器,为 Microsoft 365 Copilot 创建完整的声明式智能体(declarative agents)。
Gives your agent the ability to act as a senior expert, creating appealing, informative, and professional README.md files that effectively showcase your project.
Gives your agent the ability to define clear, unambiguous, and AI-ready specifications for schemas, tools, architecture, and more, ensuring a machine-readable project foundation.
Gives your agent the ability to create an llms.txt file that serves as a high-level navigation guide for LLMs to understand your repository's purpose and structure.
赋予你的智能体生成一份全面的 AGENTS.md 文件的能力,为 AI 编码工具提供技术背景和指令,以便在你的项目中高效工作。