Back to Prompt Library
testing

Complex Query Execution & Response Synthesis

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Agent for Enterprise M&A Due Diligence

Format
Text-first
Lines
1
Sections
1
Linked challenge
Agent for Enterprise M&A Due Diligence

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Test your LlamaIndex agent with a complex M&A due diligence query requiring both internal document lookup and simulated web search. For example: "Summarize Acme Corp's recent financial performance, identify their top 3 competitors based on market news, and list any recent legal issues." Demonstrate how the agent breaks down the query, uses its tools, and synthesizes a comprehensive answer, ensuring accurate source attribution and high confidence scores from Gemini 2.5 Pro.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the rubric, target behavior, and pass-fail criteria as the baseline for evaluation.

Tune next

Adjust fixtures, mocks, and thresholds to the system under test instead of weakening the assertions.

Verify after

Make sure the prompt catches regressions instead of just mirroring the happy-path examples.