Error when using a custom Pydantic class for structured output with Langchain
I’m trying to build a chain which will chunk a long PDF document (currently loaded in as markdown). I have the following Pydantic classes created.
I’m trying to build a chain which will chunk a long PDF document (currently loaded in as markdown). I have the following Pydantic classes created.