Add models.py

This commit is contained in:
2026-06-04 23:19:36 +00:00
parent 7e9f305576
commit c41664bd91
+15
View File
@@ -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")