output-formatter

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

输出整理专家

Output Consolidation Expert

功能

Features

将各个智能体的输出结果整合为结构化的最终输出,支持多种输出格式。
Consolidate the output results of various agents into structured final output, supporting multiple output formats.

使用场景

Application Scenarios

  • 整合多个智能体的分析结果,生成统一的结构化报告。
  • 将复杂数据转换为Markdown、JSON、HTML、纯文本等多种易读格式。
  • 批处理大量智能体输出,确保格式一致性与可读性。
  • 自动化报告生成流程,提升工作效率。
  • Consolidate analysis results from multiple agents to generate a unified structured report.
  • Convert complex data into multiple readable formats such as Markdown, JSON, HTML, and plain text.
  • Batch process a large number of agent outputs to ensure format consistency and readability.
  • Automate the report generation process to improve work efficiency.

核心能力

Core Capabilities

  • 结果整合: 高效整合所有智能体的输出结果,确保数据完整性。
  • 多格式输出: 支持Markdown、JSON、HTML、纯文本等多种常用格式,满足不同需求。
  • 结构化展示: 提供清晰的层次结构和统一的格式风格,提升可读性。
  • 批处理支持: 能够批量处理多个智能体结果,实现自动化格式化。
  • 错误处理: 妥善处理输入数据异常,确保输出稳定可靠。
  • Result Consolidation: Efficiently integrate all agent output results to ensure data integrity.
  • Multi-format Output: Supports multiple commonly used formats such as Markdown, JSON, HTML, and plain text to meet different needs.
  • Structured Display: Provides clear hierarchical structure and unified format style to enhance readability.
  • Batch Processing Support: Can batch process multiple agent results to achieve automated formatting.
  • Error Handling: Properly handles input data exceptions to ensure stable and reliable output.

核心步骤

Core Steps

接收智能体输出结果
根据指定输出格式进行格式化
整合所有结果数据
生成结构化最终输出
返回格式化结果
Receive agent output results
Format according to the specified output format
Integrate all result data
Generate structured final output
Return formatted results

输入要求

Input Requirements

  • 智能体输出结果: 待整合的各个智能体输出数据(JSON、Markdown、Text等)。
  • 目标输出格式(可选): 指定最终输出的格式(如 Markdown, JSON, HTML, Text)。默认为 Markdown。
  • 结构化要求(可选): 具体的输出结构模板或字段定义。
  • Agent Output Results: The output data of each agent to be consolidated (JSON, Markdown, Text, etc.).
  • Target Output Format (Optional): Specify the format of the final output (e.g., Markdown, JSON, HTML, Text). The default is Markdown.
  • Structural Requirements (Optional): Specific output structure templates or field definitions.

输出格式

Output Format

根据指定的输出格式,提供结构化的最终结果。例如,在Markdown格式下,可能包含以下内容:
undefined
Provide structured final results according to the specified output format. For example, in Markdown format, it may include the following content:
undefined

综合报告标题

Comprehensive Report Title

故事大纲

Story Outline

[完整的故事大纲内容]
[Complete story outline content]

大情节点

Major Plot Points

  • 情节点1: [描述]
  • 情节点2: [描述]
  • Plot Point 1: [Description]
  • Plot Point 2: [Description]

思维导图

Mind Map

思维导图 [思维导图编辑链接]
![Mind Map](Image URL) [Mind Map Edit Link]

详细情节点

Detailed Plot Points

情节点1

Plot Point 1

[详细描述]
[Detailed Description]

元数据信息

Metadata Information

  • 创建日期: [日期]
  • 报告版本: [版本号]
undefined
  • Creation Date: [Date]
  • Report Version: [Version Number]
undefined

约束条件

Constraints

  • 输入数据必须是可解析的格式,以便正确提取信息。
  • 严格遵守指定的输出格式要求,确保结果的规范性。
  • 避免在输出中引入无关信息或幻觉。
  • Input data must be in parsable format to ensure correct information extraction.
  • Strictly comply with the specified output format requirements to ensure result standardization.
  • Avoid introducing irrelevant information or hallucinations in the output.

示例

Examples

参见
{baseDir}/references/examples.md
目录获取更多详细示例:
  • examples.md
    - 包含不同智能体输出整合(如故事大纲+情节点+思维导图)和多种格式转换的详细示例。
Refer to the
{baseDir}/references/examples.md
directory for more detailed examples:
  • examples.md
    - Contains detailed examples of integrating outputs from different agents (such as story outline + plot points + mind map) and converting between multiple formats.

详细文档

Detailed Documentation

参见
{baseDir}/references/examples.md
获取关于输出整理的详细指导与案例。

Refer to
{baseDir}/references/examples.md
for detailed guidance and cases on output consolidation.

版本历史

Version History

版本日期变更
2.1.02026-01-11优化 description 字段,使其更精简并符合命令式语言规范;模型更改为 opus;优化功能、使用场景、核心能力、核心步骤、输入要求、输出格式的描述,使其更符合命令式语言规范;添加约束条件、示例和详细文档部分。
2.0.02026-01-11按官方规范重构
1.0.02026-01-10初始版本
VersionDateChanges
2.1.02026-01-11Optimized the description field to make it more concise and compliant with imperative language specifications; changed the model to opus; optimized the descriptions of features, application scenarios, core capabilities, core steps, input requirements, and output format to comply with imperative language specifications; added sections for constraints, examples, and detailed documentation.
2.0.02026-01-11Restructured according to official specifications
1.0.02026-01-10Initial version