Instead of the current manual parsing, we can leverage a language model to process unstructured metadata and generate structured output. 1. https://ollama.com/blog/structured-outputs 2. https://ai.pydantic.dev/#tools-dependency-injection-example 3. https://python.langchain.com/docs/concepts/structured_outputs/