エージェントを含む Microsoft Foundry プロジェクトがあります。このエージェントは、取得したポリシー文書から概要を生成します。 応答の完全性を改善する必要があります。この解決策は、応答が返される前に、アプリケーションコードのロジックに実装されなければなりません。 あなたはどうすべきでしょうか?
正解:A
To enhance response completeness in your Microsoft Foundry agent, you must intercept the retrieved documents and the generated summary within your backend application logic before returning the payload to the user. 1. Implement Completeness Verification Logic Add a verification step in your orchestration code (e.g., in your Python/Semantic Kernel or LangChain pipeline) that compares the generated summary against the retrieved chunks.' Map Key Assertions: Extract main policy rules from retrieved text.Cross-Reference Entities: Verify all key entities are in the summary. Check Scope Coverage: Ensure every retrieved document is represented. Scan for Gaps: Identify critical missing constraints or exceptions. 2. Apply Application-Level Mitigation Strategies If the verification step detects that the summary is incomplete, use your code to correct it before the final response leaves your system. Reference: https://dev.to/moonrunnerkc/how-i-built-a-verification-layer-for-copilot-clis-multi-agent-output-4b7h