Tagged articles

response_model

2 articles · Page 1 of 1
Tech Ocean
Tech Ocean
Apr 16, 2026 · Backend Development

Secure FastAPI Responses: Separate Input and Output Models with response_model

This article shows how FastAPI's response_model lets you define distinct input and output Pydantic models to hide sensitive fields like passwords, outlines common CRUD scenarios, demonstrates partial updates with PATCH and exclude_unset, and explains why extracting models into a dedicated file improves code organization.

PydanticPythonapi-design
0 likes · 6 min read
Secure FastAPI Responses: Separate Input and Output Models with response_model
Ctrip Technology
Ctrip Technology
Jul 6, 2023 · Artificial Intelligence

Optimizing SMS Recall Marketing with Response and Uplift Models: A Ctrip Train Ticket Case Study

This article presents a comprehensive case study of Ctrip's train ticket SMS recall business, detailing the design, implementation, and evaluation of response‑based conversion rate models and uplift models to improve marketing ROI through causal inference and machine‑learning techniques.

SMS MarketingUplift Modelingresponse_model
0 likes · 14 min read
Optimizing SMS Recall Marketing with Response and Uplift Models: A Ctrip Train Ticket Case Study