Matteo Benedetto
|
4776b4b496
|
refactor: split gateway and pi-qmem extension into modules
- gateway: separate config, models, state, audit, guardrail, embeddings,
store, metrics, cleanup and routes; keep main.py as FastAPI bootstrap
- extension: split client/config, six tools, config command and rules;
preserve jiti entrypoint and registrations
- Dockerfile copies the complete gateway module set
- tests: update monkeypatch boundaries for modular config/state
|
2026-08-24 16:19:19 +02:00 |
|
Matteo Benedetto
|
b7809fc92d
|
feat(version): endpoint /v1/version + git_commit nel build Docker
- GET /v1/version (pubblico): espone version, git_commit, guardrail_version,
guardrail_enabled, soglie, embedding_model
- /v1/status include version, git_commit, guardrail_version
- Dockerfile: ARG GIT_COMMIT / ENV GIT_COMMIT (default unknown)
- GATEWAY_VERSION 2.7.0, GIT_COMMIT da env
- Test: 2 nuovi (version endpoint, status git_commit) — 30/30 passano
|
2026-08-18 16:19:36 +02:00 |
|
Matteo Benedetto
|
7abced1566
|
feat: hybrid retrieval (BM25 + vettoriale, RRF) opt-in via hybrid=true
- sparse vector bm25 (modifier IDF) + indice TEXT su text
- migrazione automatica: create_vector_name su collection esistente + backfill dei punti privi di sparse
- write: sparse vector a ogni upsert (fastembed Qdrant/bm25)
- search: hybrid=true → prefetch denso (min_score anti-rumore) + sparso, fusione RRF; default invariato (punteggi cosine)
- qdrant-client 1.13.0 → 1.19.0 (create_vector_name, query_points; search rimosso in 1.19)
- fastembed 0.5.1 + pre-download modello BM25 nel Dockerfile (appuser)
- estensione: parametro hybrid in qmem_search
- verificato sul server: migrazione + backfill OK, termine esatto trovato con RRF 1.0 (istanza di test)
|
2026-08-16 19:41:42 +02:00 |
|
Matteo Benedetto
|
25ccb13f5b
|
security: utente non-root (appuser, uid 10001) nel Dockerfile del gateway
- verificato sul server: whoami=appuser, status OK, scrittura OK (istanza di test)
|
2026-08-16 19:14:54 +02:00 |
|
enne2
|
eadd2a756b
|
pi-qmem: memoria centralizzata condivisa per agenti AI (estensione pi + gateway)
|
2026-08-11 23:14:40 +02:00 |
|