nothingworry's picture
working the rag and web server
2f235a0
raw
history blame
233 Bytes
from pydantic import BaseModel
from typing import Optional
class EvalRequest(BaseModel):
tenant_id: str
query: str
class AlertPayload(BaseModel):
tenant_id: str
violations: list
source: Optional[dict] = None