InTaVia / InTaVia-Backend

API Backend for InTaVia project
MIT License
2 stars 0 forks source link

source objects needs to be extended to work with NLP pipelines #173

Open sennierer opened 1 year ago

sennierer commented 1 year ago

something along the lines of:

class Source:
    type: SourceTypes
    citation: str | None = None
    model: str | None = None
    certainty: float | None = None
    created: datetime | None = None

SourceType would be an enum:

class SourceType(enum.Enum):
    automatic = "automatic"
    manual = "manual"