Serendipity
|
7309b0a437
|
feat: add semantic search module
实现语义检索模块 Searcher 类,支持:
- search(): 向量语义检索,返回格式化结果(含 content、source_file、section_title、heading_level、chunk_index、score 字段)
- get_collection_info(): 获取 collection 统计信息
- list_sources(): 列出已入库源文件
- delete_by_source(): 按源文件删除文档
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-05 01:46:44 +08:00 |
|