I need different loaders such as pdf and docx, and am using DirectoryLoader as follows:
loader = DirectoryLoader(
run_temp_dir,
glob="*.pdf",
loader_cls=PyPDFLoader,
recursive=True,
show_progress=True,
)
I have a terrible headache with Azure functions local disk -> can I use some path as temporary folder? That would make my life so much easier. Atm my local azure function api fails when I write to run_temp_dir=”docs” in working directory. Any help much appreciated. I should get it to work with local api debug and then azure deployment in function app. Or should I simply move to containerized solution with local disk?