legalLM / AI_core /models /input_schemas.py
Muhammad2003's picture
Upload 45 files
1f891e5 verified
raw
history blame contribute delete
483 Bytes
"""
Pydantic models for input validation.
"""
from pydantic import BaseModel, Field
class ReportGenerationInput(BaseModel):
"""Input schema for the report generation tool."""
case_name: str = Field(description="Name of the legal case")
case_facts: str = Field(description="Key facts of the case")
legal_issues: str = Field(description="Legal issues identified in the case")
applicable_laws: str = Field(description="Laws and regulations applicable to this case")