mlnet-samples / model /record.py
XiaoYun Zhang
update
6abb254
raw
history blame contribute delete
217 Bytes
from pydantic import BaseModel
class Record(BaseModel):
content: str
embedding: list[float] | None = None
document_id: str | None = None
meta_data: dict | None = None
timestamp: int | None = None