๐ŸŒน Catalog Vector Server

โœ… Server Attivo

Il server รจ in esecuzione e pronto per le richieste API.

Timestamp: 10/12/2025, 00:47:15

๐Ÿš€ API Endpoints

GET /health

Health check del server

POST /catalog/init

Inizializza il catalogo da URL JSON

Esempio:
{"catalogUrl": "https://example.com/catalog.json"}
POST /query

Interroga il catalogo con AI

Esempio:
{"question": "Vendete profumi?", "userId": "Contatto123"}
GET /catalog/stats

Statistiche del catalogo

GET /query/stats

Statistiche delle query

GET /sessions

Sessioni utenti attive

POST /whatsapp/query

Query per NodeWhatsApp (formato ottimizzato)

Esempio:
{"question": "Vendete profumi?", "userId": "whatsapp_user_123"}

๐Ÿ‘ฅ Sistema Sessioni

Il sistema supporta sessioni separate per ogni utente:

๐Ÿ”— Link Utili

๐Ÿงช Test Rapido

Prova a fare una query:

curl:
curl -X POST http://baseai.principi.it/query -H "Content-Type: application/json" -d '{"question": "Vendete profumi?"}'