Files
task-6a1865008a94f887e50d471c/models.py
T
2026-06-04 23:19:36 +00:00

15 lines
770 B
Python

from pydantic import BaseModel, Field
from typing import List, Optional
class PersonInfo(BaseModel):
name: str = Field(..., description="Full name of the person")
age: Optional[int] = Field(None, description="Age of the person")
profession: str = Field(..., description="Profession of the person")
skills: List[str] = Field(..., description="List of skills")
class MeetingNotes(BaseModel):
date: str = Field(..., description="Date of the meeting")
participants: List[str] = Field(..., description="List of participants")
topics: List[str] = Field(..., description="List of topics discussed")
decisions: List[str] = Field(..., description="List of decisions made")
next_steps: List[str] = Field(..., description="List of next steps")