The response body uses the provider's OpenAI-compatible format. Reef adds the x-reef-agent-record-id response header. Its value is the receipt that a later report uses to identify this interaction.
【方法】这里展示了Reef如何通过添加自定义响应头(x-reef-agent-record-id)来跟踪和关联推理与反馈。这种设计允许用户将后续的评分反馈与特定的推理结果关联起来,是实现持续学习的关键机制。这种方法巧妙地利用了现有的API格式,同时添加了必要的元数据。