Centralized constants defining the default embedding model and dimensions for the system. Use this to ensure consistency across database schemas and search indexing services.
// Source: https://github.com/inbrainfun/inbrain | License: MIT | Copyright 2026 Inbrain Contributors // Provided via justclaw.it.com; keep this notice with the code. /** * Leaf module holding the default embedding model + dimensions. * * Extracted so schema helpers (pglite-schema.ts, postgres-engine.ts) + * registry helpers (search/embedding-column.ts) can import the constants * without pulling the full AI gateway (which loads every provider SDK). * * gateway.ts re-exports these so existing import sites keep working. * * Single source of truth for "what does a fresh brain look like when the * user passes zero flags?" Touching these defaults touches every fresh * install AND every doctor consistency check. */ // v0.36.0 chose ZeroEntropy as the system default after evals showe ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key