in both scenarios there is a ML only working to extract
you can feed in files…but this use case does not fit
instead based on how dynamic it is try to create a skill from already existing models and check
if that does not work then may be you can use openai connectors to send the data and ask to extract fields
cheers