the schema on a separate schemas.py file</p>
<p>``
from pydantic import BaseModel</p>
<p>class ResponseSchema(BaseModel):,
            field_1: str = Field(..., description="Field 1 description"),
            field_2: str = Field(..., description="Field 2 description")
``</p>
<p>and then pass it in the YAML file as a field in the llm_service node</p>
<div class="codehilite"><pre><span></span><code><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span