Summarizes xb/doc/CUSTOM_INTERFACE_PHILOSOPHY.md. It describes why xb chose the Custom interface instead of hard-coding dozens of dialects.
Generate) handles every operation (SQL or JSON).| Dialect enum | Custom interface |
|---|---|
| Framework bundles every database | Framework stays tiny; users extend it |
| Requires core PRs for new DBs | Users ship adapters in their own repos |
| Hard to keep in sync | Adapter owners iterate at their own pace |
string, []byte, or thin structs).NewQdrantBuilder(), NewMilvusBuilder()) instead of exposing raw structs.doc/en/CUSTOM_INTERFACE.mddoc/en/CUSTOM_QUICKSTART.mddoc/en/CUSTOM_VECTOR_DB_GUIDE.md