DEV Community · LLM· Zhongkai Fu·· 6 天前AI 评分52
Application Insights 为何有 GenAI 追踪数据却不显示提示词
Why our GenAI traces had data but showed no prompts in Application Insights
AI 导读
Application Insights 的 GenAI 追踪数据可能已到达,却因消息结构不符合查看器预期而无法显示提示词。TensorSharp 贡献者对比发现,顶层 content 字段无法渲染,而带类型的 parts 可以显示对话;修复还覆盖工具调用及其返回。排查时可检查 span、属性结构和渲染结果,并使用合成数据避免暴露敏感内容。
来源:DEV Community · LLM · dev.to