from typing import Optional
import pydantic


class Document(pydantic.BaseModel):
    """基础文档对象"""

    vs_uid: Optional[str] = None
    vs_page_content: Optional[str] = None
    vs_embeddings_score: Optional[float] = None
    vs_rerank_score: Optional[float] = None
    vs_index_name: Optional[str] = None
    content: Optional[str] = None
