Local Transformers.js model integration with Office.js add-in

Unsolved

For context, I am developing a Word add-in using Office.js which will ideally implement ML models using transformers.js.

I have successfully tested the intended model in a separate project using the local model files and the transformers.js library.

However, when I came to adding the code to my Office.js add-in, the model files are not successfully being retrieved. In other words, the /models/ folder is not visible to my add-in javascript.

Does anyone have any idea what could be causing this issue and/or what can be done to debug it? Any help would be greatly appreciated!

Posted Dec 1, 2023, 11:33 PM UTC

10
Loading comments…