Sluethink / app /schemas /sources_schemas.py
topGdev's picture
add ai similarity
a561338
raw
history blame contribute delete
175 Bytes
from pydantic import BaseModel
class SourceData(BaseModel):
id: str # MongoDB ObjectId as string
title: str
text: str
source_url: str
type: str