From e08fa429d1bd12285e18ab4e12684d4c1363a601 Mon Sep 17 00:00:00 2001 From: Roberto Musso Date: Wed, 8 Apr 2026 23:27:57 +0200 Subject: [PATCH] Update app name --- adiuvAI | 2 +- api | 2 +- docs/enanch_memorie_v2_mem.md | 16 ++++++++-------- docs/local_agent_v2_mem.md | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/adiuvAI b/adiuvAI index 109551f..02a0f36 160000 --- a/adiuvAI +++ b/adiuvAI @@ -1 +1 @@ -Subproject commit 109551f7134fe5c176bc673e7b0623716d5c4ca7 +Subproject commit 02a0f3635b8c663ec0ff77535ce3da21ccfb7b54 diff --git a/api b/api index 96c91e3..cc94194 160000 --- a/api +++ b/api @@ -1 +1 @@ -Subproject commit 96c91e386d717b44cf4ecfa77490b5c75743336d +Subproject commit cc94194fd1630295feb08a109083af09b7596cce diff --git a/docs/enanch_memorie_v2_mem.md b/docs/enanch_memorie_v2_mem.md index 54079c0..4bed8de 100644 --- a/docs/enanch_memorie_v2_mem.md +++ b/docs/enanch_memorie_v2_mem.md @@ -17,7 +17,7 @@ --- -## 2. IMPLEMENTAZIONE ATTUALE (Adiuva) +## 2. IMPLEMENTAZIONE ATTUALE (AdiuvAI) ### Architettura Memoria (MemGPT-style, 4 livelli) @@ -88,7 +88,7 @@ MemoryEntries table (fatti estratti) └── updatedAt ``` -### Come Adiuva salva i dati (confronto) +### Come AdiuvAI salva i dati (confronto) ``` memory_core (PostgreSQL) ├── key, value_encrypted ← Fernet AES-128 @@ -111,7 +111,7 @@ memory_proactive (PostgreSQL) ``` ### Differenza chiave nel salvataggio -| | Supermemory | Adiuva | +| | Supermemory | AdiuvAI | |---|-----------|--------| | **Cosa salva** | Fatti strutturati estratti da LLM | Testo grezzo cifrato | | **Relazioni** | Graph con UPDATE/EXTEND/DERIVE + versioning | Nessuna relazione | @@ -133,7 +133,7 @@ memory_proactive (PostgreSQL) 5. **Fact extraction post-conversazione**: LLM estrae fatti strutturati dopo ogni chat ### Concetti da NON adottare (non rilevanti) -- Connectors (Google Drive, Gmail, etc.) — Adiuva è un'app desktop, non un aggregatore +- Connectors (Google Drive, Gmail, etc.) — AdiuvAI è un'app desktop, non un aggregatore - Multi-modal extraction (PDF, video) — fuori scope - Hybrid RAG+Memory search — non richiesto ora @@ -298,7 +298,7 @@ client = Supermemory() # richiede SUPERMEMORY_API_KEY # ── PRE-LLM: recupera profilo + memorie rilevanti ── profile = client.profile( - container_tag="user_123", # = user_id di Adiuva + container_tag="user_123", # = user_id di AdiuvAI q="What sneakers should I buy?" # = il messaggio dell'utente ) @@ -336,7 +336,7 @@ client.add( ### Come si confronta con il tuo `enrich_context()`: -| Aspetto | Adiuva (attuale) | Supermemory | +| Aspetto | AdiuvAI (attuale) | Supermemory | |---------|-----------------|-------------| | **Dove vive la logica** | `memory_middleware.py` nel tuo backend | Cloud di terzi | | **Come recupera contesto** | 4 query SQL → decrypt in-memory | 1 HTTPS call `client.profile()` | @@ -362,7 +362,7 @@ client.add( ### PROBLEMI CRITICI dell'integrazione -1. **PRIVACY DISTRUTTA** — Il punto più grave. Tutto il modello E2E di Adiuva si basa su: "il backend non persiste mai plaintext". Supermemory riceve e **tiene** tutti i dati utente in chiaro. Per un'app che vende privacy, è un dealbreaker. +1. **PRIVACY DISTRUTTA** — Il punto più grave. Tutto il modello E2E di AdiuvAI si basa su: "il backend non persiste mai plaintext". Supermemory riceve e **tiene** tutti i dati utente in chiaro. Per un'app che vende privacy, è un dealbreaker. 2. **LATENZA AGGIUNTA** — Ogni conversazione aggiunge: - +50-200ms PRE-LLM (profile fetch via HTTPS) @@ -405,7 +405,7 @@ client.add( | Single point of failure | ★★★ | | **Totale Contro** | **19/25** | -> **Verdetto: l'integrazione Supermemory SaaS è netta-negativa per Adiuva.** +> **Verdetto: l'integrazione Supermemory SaaS è netta-negativa per AdiuvAI.** > I benefici (extraction, graph, profiles) sono replicabili in-house a costo inferiore, > senza sacrificare privacy, ownership e resilienza. diff --git a/docs/local_agent_v2_mem.md b/docs/local_agent_v2_mem.md index 32914d2..9d3069a 100644 --- a/docs/local_agent_v2_mem.md +++ b/docs/local_agent_v2_mem.md @@ -96,7 +96,7 @@ Una sola call LLM con tool calling che fa tutto: ## Modifiche al codice necessarie -### Backend (adiuva-api) +### Backend (adiuvai-api) 1. **Nuovo modulo**: `app/core/preprocessors/` con handler per tipo - `__init__.py` — registry + detect + dispatch @@ -115,7 +115,7 @@ Una sola call LLM con tool calling che fa tutto: 4. **`models.py`**: `prompt_template: Text` → `agent_config: JSON` -### Frontend (adiuva) +### Frontend (adiuvai) 5. **`store.ts`**: Campo `promptTemplate` → `agentConfig` 6. **`JourneyDialog.tsx`**: Parsing JSON da journey reply