Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.33 KB

File metadata and controls

24 lines (18 loc) · 1.33 KB

Integration Recipes

This repository now includes runnable or near-runnable integration patterns for common application layers:

Recommended production pattern:

  1. Keep an external system of record for vectors and metadata.
  2. Build or refresh FAISS indexes from that source asynchronously.
  3. Persist .faiss plus .meta.json artifacts for warm boot and deploy-time loading.
  4. Use inspect(), validate(), and getMetrics() in health checks and dashboards.
  5. If you need cosine similarity, normalize vectors before both indexing and querying.

Suggested deployment split:

  • FaissIndex or FaissBinaryIndex for the hot search path
  • PostgreSQL, MongoDB, or object storage for document metadata
  • A background worker for retraining IVF/PQ variants
  • A lightweight HTTP or GraphQL layer that only handles query validation and result shaping