From 199a09f514c88727711ee3342732cc84365a2299 Mon Sep 17 00:00:00 2001 From: Floke Date: Mon, 29 Dec 2025 12:13:38 +0000 Subject: [PATCH] feat: Enhance Market Intelligence report with Search Strategy, Digital Signals, and Target Pages - Added searchStrategyICP, digitalSignals, and targetPages to the JSON output in market_intel_orchestrator.py. - Updated the prompt and fallback error handling to include the new fields. --- market_intel_orchestrator.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/market_intel_orchestrator.py b/market_intel_orchestrator.py index 99a22e58..c771ed06 100644 --- a/market_intel_orchestrator.py +++ b/market_intel_orchestrator.py @@ -189,7 +189,10 @@ def generate_search_strategy(reference_url, context_content): 1. **summaryOfOffer**: A 1-sentence summary of what the reference client sells. 2. **idealCustomerProfile**: A concise definition of the Ideal Customer Profile (ICP) based on the reference client. - 3. **signals**: Identify exactly 4 specific digital signals. + 3. **searchStrategyICP**: A detailed description of the Ideal Customer Profile (ICP) based on the analysis. + 4. **digitalSignals**: Identification and description of relevant digital signals that indicate purchase interest or engagement. + 5. **targetPages**: A list of the most important target pages on the company website relevant for marketing and sales activities. + 6. **signals**: Identify exactly 4 specific digital signals. - **CRITICAL**: One signal MUST be "Technographic / Incumbent Search". It must look for existing competitor software or legacy systems that our offer replaces or complements (e.g., "Uses SAP Ariba", "Has Supplier Portal", "Uses Salesforce"). - The other 3 signals should focus on business pains or strategic fit (e.g., "Sustainability Report", "Supply Chain Complexity"). @@ -209,6 +212,9 @@ def generate_search_strategy(reference_url, context_content): {{ "summaryOfOffer": "...", "idealCustomerProfile": "...", + "searchStrategyICP": "...", + "digitalSignals": "...", + "targetPages": "...", "signals": [ {{ "id": "sig_1", @@ -248,6 +254,9 @@ def generate_search_strategy(reference_url, context_content): return { "summaryOfOffer": "Error generating strategy. Please check logs.", "idealCustomerProfile": "Error generating ICP. Please check logs.", + "searchStrategyICP": "Error generating Search Strategy ICP. Please check logs.", + "digitalSignals": "Error generating Digital Signals. Please check logs.", + "targetPages": "Error generating Target Pages. Please check logs.", "signals": [] }