Files
MAIA/backend/modules/nlp/schemas.py
2025-04-23 01:00:56 +02:00

14 lines
326 B
Python

# modules/nlp/schemas.py
from pydantic import BaseModel
from typing import List
class ProcessCommandRequest(BaseModel):
user_input: str
class ProcessCommandResponse(BaseModel):
responses: List[str]
# Optional: Keep details if needed for specific frontend logic beyond display
# details: dict | None = None