Commit Graph

1511 Commits

Author SHA1 Message Date
02ad2dd146 fix: Robustify Market Intel - Complete rewrite of orchestrator
- market_intel_orchestrator.py: Overwrote file to enforce all fixes (URL auto-scheme, User-Agent, Graceful Fallback in Strategy and Audit).
2025-12-29 13:33:05 +00:00
8e99891f44 fix: Robustify Market Intel Audit - Fallback when scraping fails
- market_intel_orchestrator.py: Updated analyze_company to NOT abort if homepage scraping fails (e.g. 403 Forbidden). Instead, it sets a placeholder and proceeds using external search signals.

- market_intel_orchestrator.py: Updated get_website_text to use a modern, realistic User-Agent to reduce blocking.

- market_intel_orchestrator.py: Adjusted Gemini prompt to handle missing homepage content gracefully.
2025-12-29 13:21:08 +00:00
ee89b999ee fix: Market Intel Logic - Clarify prompts for Lookalike Search vs. Context
- market_intel_orchestrator.py: Rewrote prompt in generate_search_strategy to explicitly distinguish between 'Your Company (Context)' and 'Reference Client (Seed)'. This fixes the issue where the AI was searching for competitors to the user's company instead of the reference client.

- market_intel_orchestrator.py: Clarified prompt in identify_competitors.

- market_intel_orchestrator.py: Added RAW JSON debug logging to stderr to diagnose missing fields.
2025-12-29 13:05:31 +00:00
a28395fc0c fix: Market Intel - Extract new strategy fields in geminiService.ts 2025-12-29 12:56:59 +00:00
faa3c26d6d debug: Add visible timestamp to Report for build verification 2025-12-29 12:49:36 +00:00
637f4c63f0 fix: Market Intel UI - Add missing report fields & Fix back button
- StepReport.tsx: Added Search Strategy ICP, Digital Signals, and Target Pages to both the UI view and the Markdown export.

- StepReport.tsx: Fixed 'Back' button behavior to prevent state reset (uses new onBack prop).

- App.tsx: Passed handleBack to StepReport onBack prop.

- types.ts: Extended SearchStrategy interface with optional fields for the new signals.
2025-12-29 12:40:47 +00:00
76d0308b03 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.
2025-12-29 12:13:38 +00:00
921541f2a7 Revert "feat: Enhance B2B Marketing Assistant report with Search Strategy, Digital Signals, and Target Pages"
This reverts commit 6bdb3e8a06.
2025-12-29 12:13:16 +00:00
6bdb3e8a06 feat: Enhance B2B Marketing Assistant report with Search Strategy, Digital Signals, and Target Pages
- Added new steps (7, 8, 9) for Search Strategy ICP, Digital Signals, and Target Pages to the b2b_marketing_orchestrator.py.

- Updated STEP_PROMPTS_DE and STEP_PROMPTS_EN with corresponding prompts.

- Extended STEP_TITLES for both German and English languages.

- Modified step_keys lists in format_context_for_prompt and next_step functions.

- Updated b2b_marketing_assistant_plan.md to reflect the new report sections.
2025-12-29 12:00:02 +00:00
2c71660879 docs: Update documentation for consolidated Docker architecture
- Consolidated architecture overview in readme.md\n- Updated deployment and development sections in b2b_marketing_assistant_plan.md and market_intel_backend_plan.md
2025-12-29 08:49:28 +00:00
2079a56f6e Consolidate tools into a secure Docker architecture with landing page
- Implement a central reverse proxy (Nginx) with Basic Auth on port 8090.
- Create a unified landing page (dashboard) to access B2B Assistant and Market Intelligence.
- Update frontends with relative API paths and base paths for subdirectory routing (/b2b/, /market/).
- Optimize Docker builds with .dockerignore and a Python-based image for market-backend.
- Enable code sideloading for Python logic via Docker volumes.
- Fix TypeScript errors in general-market-intelligence regarding ImportMeta.
2025-12-29 05:19:53 +00:00
658d2a9964 feat(b2b): Add batch processing, industry selection, optimized PDF export, and update docs 2025-12-23 12:50:10 +00:00
9220949ecb feat(b2b-marketing): Finalize grounding architecture and frontend improvements
- Upgrade backend to use gemini-2.5-flash with sanitized HTML parsing (no token limit).
- Implement robust retry logic and increased timeouts (600s) for deep analysis.
- Add file-based logging for prompts and responses.
- Fix API endpoint (v1) and regex parsing issues.
- Frontend: Optimize PDF export (landscape, no scrollbars), fix copy-paste button, add 'Repeat Step 6' feature.
- Update documentation to 'Completed' status.
2025-12-23 10:40:48 +00:00
b14d63fbe8 Dateien nach "b2b-marketing-assistant/services" hochladen 2025-12-22 20:02:06 +00:00
3fabd9adbf b2b-marketing-assistant/services/export.ts hinzugefügt 2025-12-22 20:01:47 +00:00
6ac0d2f5f7 Dateien nach "b2b-marketing-assistant/components" hochladen 2025-12-22 20:01:03 +00:00
0ec1ee9618 b2b-marketing-assistant/components/ExportMenu.tsx hinzugefügt 2025-12-22 20:00:44 +00:00
73984feb83 Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 20:00:16 +00:00
57df160a7c Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 19:59:38 +00:00
9f0fc6805c Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 19:59:17 +00:00
0da81d7993 b2b-marketing-assistant/.env.local hinzugefügt 2025-12-22 19:58:57 +00:00
a850b055aa chore(deployment): add docker-compose and nginx setup for production
- Added Dockerfile and nginx.conf for frontend production build.
- Added docker-compose.yml to orchestrate backend and frontend.
- Updated geminiService.ts to support relative API paths via Nginx proxy.
- Updated documentation with deployment instructions for Synology/Docker.
2025-12-22 16:14:08 +00:00
a077c48573 feat(market-intel): implement role-based campaign engine and gritty reporting
- Implementierung der rollenbasierten Campaign-Engine mit operativem Fokus (Grit).
- Integration von Social Proof (Referenzkunden) in die E-Mail-Generierung.
- Erweiterung des Deep Tech Audits um gezielte Wettbewerber-Recherche (Technographic Search).
- Fix des Lösch-Bugs in der Target-Liste und Optimierung des Frontend-States.
- Erweiterung des Markdown-Exports um transparente Proof-Links und Evidenz.
- Aktualisierung der Dokumentation in readme.md und market_intel_backend_plan.md.
2025-12-22 15:54:06 +00:00
e4aad40344 feat(market-intel): complete end-to-end audit with enhanced UX and grounding
- Integrated ICP-based lookalike sourcing.
- Implemented Deep Tech Audit with automated evidence collection.
- Enhanced processing terminal with real-time logs.
- Refined daily logging and resolved all dependency issues.
- Documented final status and next steps.
2025-12-21 22:39:30 +00:00
3f36937080 docs: document deep tech audit and smart grounding
- Updated readme.md with new step 3 audit details.
- Updated market_intel_backend_plan.md with current status and achievements.
- Fixed SerpAPI key file path in orchestrator.
- Documented the transition to direct REST API calls and enhanced terminal UX.
2025-12-21 22:19:11 +00:00
95240357dc feat(market-intel): implement deep tech audit and industry extraction
- Added  to parse industries from Markdown.
- Added  to find local/national/international lookalikes.
- Added  for deep tech audit (website search, scraping, AI analysis).
- Updated prompt engineering for better results grounding.
2025-12-21 20:59:15 +00:00
2012e1c165 feat(market-intel): Implement fully functional, optimized backend
- Refactored market_intel_orchestrator.py for direct Gemini API (v1) calls.\n- Updated model to gemini-2.5-pro for enhanced capabilities.\n- Implemented minimal stdout logging for improved traceability within Docker.\n- Optimized Dockerfile and introduced market-intel.requirements.txt for leaner, faster builds.\n- Ensured end-to-end communication from React frontend through Node.js bridge to Python backend is fully functional.
2025-12-21 13:44:54 +00:00
2f60499b52 docs: Letzten Stand für heute dokumentieren
Erfasst den erfolgreichen Umstieg auf Docker, der das 'cygrpc'-Problem gelöst hat. Dokumentiert den aktuellen '404 model not found'-Fehler und definiert den nächsten Schritt: das Testen des Modellnamens 'gemini-1.0-pro'.
2025-12-21 02:36:06 +00:00
2e0a5fd73d docs: Aktuellen Status und Debugging-Verlauf dokumentieren
Erfasst den aktuellen Stand des Projekts, einschließlich des Wechsels zu Docker zur Lösung des 'cygrpc'-Problems und des zuletzt aufgetretenen 'TypeError'. Detailliert die nächsten Schritte für die nächste Sitzung.
2025-12-21 02:29:12 +00:00
8f7c9a94be fix(python): Entfernt inkompatibles response_mime_type Argument
Behebt den TypeError beim Aufruf von GenerationConfig in der älteren Version der google-generativeai Bibliothek, indem das nicht unterstützte Argument entfernt wird.
2025-12-21 02:27:26 +00:00
56b2411f14 fix: Dockerfile pip install for externally-managed-environment
Korrigiert den Docker-Buildfehler durch explizite Verwendung des pip-Executables aus der virtuellen Umgebung, um Probleme mit der systemweiten Paketverwaltung zu umgehen.
2025-12-21 02:13:32 +00:00
f6e66311c6 feat: Dockerfile für das Market Intelligence Backend hinzufügen
Erstellt ein mehrstufiges Dockerfile, um die Python- und Node.js-Umgebung für den Backend-Service zu kapseln. Dies soll die 'cygrpc'-Kompatibilitätsprobleme durch eine saubere, kontrollierte Build-Umgebung lösen.
2025-12-21 01:53:20 +00:00
b71c6730dd feat: Umstellung des Node.js-Servers auf CommonJS (.cjs)
Behebt den 'require is not defined' Fehler durch Umbenennung von server.js zu server.cjs und Anpassung des Start-Skripts in package.json.
2025-12-21 00:36:30 +00:00
e93613e80f docs: Umstellung des Market Intelligence Backends von n8n auf Python
Aktualisiert die Planungs- und Readme-Dateien, um den neuen Architekturansatz widerzuspiegeln, der ein Python-Skript, eine Node.js-API-Brücke und Docker für verbesserte Kontrolle, Transparenz und faktenbasierte Ergebnisse verwendet.
2025-12-20 23:50:28 +00:00
9ab0163fb4 gemini.Dockerfile aktualisiert 2025-12-20 22:21:51 +00:00
f95479253a docs: Move Market Intelligence script description to end
- Moved the "Funktionsweise des Market Intelligence Skripts" section to the end of readme.md.

- Renamed the section to "9. Standalone Tool: Market Intelligence App" to reflect its independent nature.
2025-12-20 22:10:13 +00:00
87f7f7a80f docs: Add Market Intelligence script functionality description
- Added a new section to readme.md detailing the multi-step functionality of the Market Intelligence script.
2025-12-20 22:02:17 +00:00
34e752670d feat: Plan and define n8n hybrid migration
- Add detailed plan for migrating market intelligence logic to n8n using a hybrid approach.

- Define the first n8n workflow 'identifyCompetitors' as a JSON file for import.
2025-12-20 22:00:29 +00:00
958446c4de yamaichi_neu.md hinzugefügt 2025-12-20 21:06:45 +00:00
06388faa46 general-market-intelligence/utils/reportParser.ts hinzugefügt 2025-12-20 21:00:24 +00:00
46f86e24eb general-market-intelligence/services/geminiService.ts hinzugefügt 2025-12-20 20:59:39 +00:00
6508453ade Dateien nach "general-market-intelligence/components" hochladen 2025-12-20 20:58:51 +00:00
254334d850 Dateien nach "general-market-intelligence/components" hochladen 2025-12-20 20:58:40 +00:00
fb293df5d4 general-market-intelligence/components/Header.tsx hinzugefügt 2025-12-20 20:58:25 +00:00
c46ad1e40e Dateien nach "general-market-intelligence" hochladen 2025-12-20 20:57:37 +00:00
9b4acaf12a Dateien nach "general-market-intelligence" hochladen 2025-12-20 20:57:25 +00:00
9a93172578 Dateien nach "general-market-intelligence" hochladen 2025-12-20 20:57:09 +00:00
b0a2272d15 general-market-intelligence/tsconfig.json hinzugefügt 2025-12-20 20:55:37 +00:00
ee3e0335f4 n8n_api_Token_git.txt hinzugefügt 2025-12-20 20:50:45 +00:00
2a85778a41 Docs: Update readme.md with company_deduplicator.py changes 2025-11-09 09:05:53 +00:00