Skip to content

Ch25. SQLite + 向量混合持久化

结构化数据与向量数据共存的单文件方案。

本章概要

AutoSnippet 使用 SQLite 作为唯一的持久化存储,同时支持结构化查询和向量检索。本章解析混合存储的方案选择、Schema 设计和性能优化。

为什么是 SQLite

Schema 设计

向量检索

迁移策略

关键代码

小结

Released under the MIT License.