File size: 459 Bytes
0fcfe1c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
"""Pydantic schemas for the BLUX-cA API."""
from __future__ import annotations
from pydantic import BaseModel, Field
class ReflectRequest(BaseModel):
text: str = Field(..., description="User supplied text for reflection")
depth: int = Field(3, ge=1, le=10)
class ReflectResponse(BaseModel):
summary: str
chain: list[str]
class VerdictResponse(BaseModel):
decision: str
score: float
doctrine_refs: list[str]
reason: str
|