Open amarpatel-xx opened 6 months ago
Hm, did you run "azd up" a while ago? If you ran it today, it should set up your Document Intelligence environment variables, in AZURE_DOCUMENTINTELLIGENCE_SERVICE, but it seems like it's missing. You can delete this lines for now:
".docx": FileProcessor(doc_int_parser, sentence_text_splitter),
".pptx": FileProcessor(doc_int_parser, sentence_text_splitter),
".xlsx": FileProcessor(doc_int_parser, sentence_text_splitter),
".png": FileProcessor(doc_int_parser, sentence_text_splitter),
".jpg": FileProcessor(doc_int_parser, sentence_text_splitter),
".jpeg": FileProcessor(doc_int_parser, sentence_text_splitter),
".tiff": FileProcessor(doc_int_parser, sentence_text_splitter),
".bmp": FileProcessor(doc_int_parser, sentence_text_splitter),
".heic": FileProcessor(doc_int_parser, sentence_text_splitter),
This issue is for a: (mark with an
x
)Minimal steps to reproduce
$ chmod u+x ./scripts/* $ pip install -r requirements-dev.txt # Install the dependencies $ python ./scripts/prepdocs.py --removeall
Any log messages given by the failure
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful