diff --git a/README.md b/README.md index 22b1142..32bd463 100644 --- a/README.md +++ b/README.md @@ -413,91 +413,68 @@ In the documented reference execution, the [Google News RSS fallback]() generate
```mermaid -flowchart LR +%%{init:{ +'theme':'dark', +'themeVariables':{ +'background':'#090d13', +'primaryTextColor':'#F5F7FA', +'lineColor':'#2dd4bf' +}}}%% - %%──────────────────── - %% Styles - %%──────────────────── - classDef source fill:#0f172a,stroke:#22d3ee,color:#ffffff,stroke-width:3px; - classDef bronze fill:#2b1d0e,stroke:#cd7f32,color:#ffffff,stroke-width:3px; - classDef silver fill:#1e293b,stroke:#c0c0c0,color:#ffffff,stroke-width:3px; - classDef gold fill:#2b2505,stroke:#ffd700,color:#ffffff,stroke-width:3px; - classDef serving fill:#0f172a,stroke:#22d3ee,color:#ffffff,stroke-width:3px; +graph TD - %%──────────────────── - %% Sources - %%──────────────────── - A["📡 21 Monitored Sources
RSS • Scraping • Reddit"]:::source +NB00["NB00
21 DATA SOURCES
RSS • Scraping • Reddit"]:::setup - %%──────────────────── - %% Bronze - %%──────────────────── - subgraph Bronze["🥉 Bronze Layer"] - B["NB01
Raw Acquisition
Parquet • data/external"]:::bronze - end +NB01["NB01
BRONZE INGESTION
feedparser • BS4 • PRAW"]:::bronze - %%──────────────────── - %% Silver - %%──────────────────── - subgraph Silver["🥈 Silver Layer"] - C["NB02
Cleaning & Validation"]:::silver +NB02["NB02
CLEANING LAYER
Normalization • Quality Gates"]:::silver - D["NB03
MapReduce
Word Count"]:::silver +NB03["NB03
MAPREDUCE
Word Count"]:::silver - E["NB04
Hybrid Retrieval
TF-IDF • BM25 • FAISS"]:::silver +NB04["TF-IDF + BM25
Retrieval Index"]:::gold - F["NB05
Contextual Sentiment"]:::silver - end +NB05["SENTIMENT
PT-BR Lexicon"]:::gold - %%──────────────────── - %% Gold - %%──────────────────── - subgraph Gold["🥇 Gold Layer — Market Intelligence"] - G["NB06
Marketing Intelligence
3-Layer Relevance"]:::gold +NB06["MARKETING INTELLIGENCE
Signals • Funnel • Insights"]:::gold - H["NB07
Dashboard Dataset
Semantic + Hybrid Scores"]:::gold - end +NB07["DASHBOARD DATASET
Plotly Validation"]:::dash - %%──────────────────── - %% Serving - %%──────────────────── - subgraph Serving["🚀 Serving Layer"] - I["FastAPI
REST API"]:::serving +API["FASTAPI
REST API"]:::dash - J["Streamlit
Dashboard UI"]:::serving +ST["STREAMLIT
Dashboard"]:::dash - K["Groq + Llama 3.1
Hybrid RAG Chatbot"]:::serving - end +BOT["GROQ CHATBOT
GPT-OSS-20B"]:::llm - %% Flow - A --> B +NB00 --> NB01 --> NB02 - B --> C +NB02 --> NB03 +NB02 --> NB04 +NB02 --> NB05 - C --> D - C --> E - C --> F +NB03 --> NB06 +NB04 --> NB06 +NB05 --> NB06 - D --> G - E --> G - F --> G +NB06 --> NB07 +NB07 --> API +NB07 --> ST - G --> H +API --> BOT +ST --> BOT - H --> I - H --> J - - I --> K - J --> K - - linkStyle default stroke:#22d3ee,stroke-width:2px +classDef setup fill:#0d2137,stroke:#00d2ff,color:#F5F7FA,stroke-width:2.5px; +classDef bronze fill:#2a1512,stroke:#a85a4a,color:#F5F7FA,stroke-width:2.5px; +classDef silver fill:#1b2430,stroke:#b0b7c3,color:#F5F7FA,stroke-width:2.5px; +classDef gold fill:#2a2208,stroke:#e6c35a,color:#F5F7FA,stroke-width:2.5px; +classDef dash fill:#06363d,stroke:#2dd4bf,color:#F5F7FA,stroke-width:2.5px; +classDef llm fill:#231433,stroke:#b56cff,color:#F5F7FA,stroke-width:2.5px; ```
-> [!TIP -> ] +> [!TIP] +> > Detailed architecture diagram → [docs/architecture.md](https://github.com/Quantum-Software-Development/5-cybersecurity-social-engineering-fii-marketing-intelligence-platform/blob/5e7c18a109c56f765ea7cdbf16b8a65ad41a0e2a/docs/architecture.md)