kgbchatbot / src /schema.py
thomascerniglia's picture
Initial commit: add app and source
4abd84c
raw
history blame contribute delete
200 Bytes
from typing import Optional, Dict, Any
from pydantic import BaseModel
class DocChunk(BaseModel):
text: str
source: str
page: Optional[int] = None
meta: Optional[ict[str, Any]] = None