diff --git a/models.py b/models.py new file mode 100644 index 0000000..6f4aec1 --- /dev/null +++ b/models.py @@ -0,0 +1,15 @@ +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") \ No newline at end of file