cvpaperchallenge / Crux

Crux is a suite of LLM-empowered summarization and retrieval services for academic activity. Crux is developed by XCCV group of cvpaper.challenge.
MIT License
14 stars 2 forks source link

[Backend] Implement data model (DTO) #15

Closed gatheluck closed 1 year ago

gatheluck commented 1 year ago

Why

About Web API, user might send request in unexpected format. So we need to check request format and type in run time. We can use Pydantic for this purpose.

Definition of Done

Data Model a.k.a. DTO (Data Transfer Object) is defined.

How

gatheluck commented 1 year ago