LAI-3 Upgrade libraries to work with Word and PDF documents Some libraries that we used for working with Word documents are outdated and insecure. It is a good idea to update them and their dependencies so we work with modern code when extracting PDF text for AI summarisation.