Files
MAIA/backend/modules/nlp/schemas.py
2025-04-20 23:52:29 +02:00

12 lines
324 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