Files
news/vectorstore/__init__.py
T
2026-07-18 15:51:01 +08:00

26 lines
594 B
Python

"""Qdrant 向量知识库模块 (M6)。
公共 API:
- VectorStore: Qdrant 封装(init / upsert / query / info / count)
- SearchFilter / SearchResult / CollectionInfo: 数据模型
- make_qdrant_client: 工厂(内存/Docker)
"""
from .client import (
DEFAULT_COLLECTION,
DEFAULT_VECTOR_DIM,
VectorStore,
make_qdrant_client,
)
from .models import CollectionInfo, SearchFilter, SearchResult
__all__ = [
"DEFAULT_COLLECTION",
"DEFAULT_VECTOR_DIM",
"CollectionInfo",
"SearchFilter",
"SearchResult",
"VectorStore",
"make_qdrant_client",
]