so that i can validate it and then use it in another task as variables?
class OP(BaseModel):
a: xx = Field(default=“”,description=“.”)
b: xx = Field(default=‘’)), description=“”)
c: xx[xx] = Field(default= , description=“”)
Correct the description by concatenating strings
T1 = Task(
description=f"""
XXXXXX
""",
agent=A1,
expected_output=".",
output_pydantic=OP,
)
T2 = Task(
description=f"""XXX
""",
agent=A2,
context = [T1],
expected_output="",
)
In the task2 how can i use the pydantic output of task 1 as op.a or b?