from pydantic import BaseModel, Field from typing import List, Dict, Literal, Optional class IntroductionOutput(BaseModel): introduction: str = Field( ..., title="Introduction", description="engaging introduction to the training program content, max 300 words.", )