Hi, does anybody have an example of working PydanticProgramExtractor? There might be something obvous missing. I was following an example in the docs for 0.10.15 and am getting a Field required [type=missing, input_value={}, input_type=dict] error.
class NodeMetadata(BaseModel):
"""Node metadata."""
description: str = Field(
..., description="A concise one sentence description of what this text chunk useful for."
)
terms: List[str] = Field(
..., description="a list of keywords used in this text chunk"
)
The thing is that it works for a while but the error is thrown upon processing of 1-2% of nodes. If you are aware of the bug in this regards, please let me know. Thanks.