# app/models/recipe.py from pydantic import BaseModel from typing import List class RecipeRequest(BaseModel): ingredients: List[str] class RecipeResponse(BaseModel): title: str ingredients: List[str] instructions: List[str]