Add Excel Add-in BERT NLP Custom Function Tutorial#13826
Conversation
natke
left a comment
There was a problem hiding this comment.
Cool tutorial!
I'm not sure from reading through it, how I embed the code into excel. Would it be possible to add a sentence or two on how that is done? Maybe in the Custom functions section e.g. you could explain how to add a function that prints your name or something trivial like that, to demonstrate how it runs in excel
So this is covered in this section when following the doc to create the base project. https://cassiebreviu.github.io/onnxruntime/docs/tutorials/web/excel-addin-bert-js.html#creating-the-custom-function-project-with-the-yeoman-cli However, I see if you were reading it without actually doing the steps it appears to be missing. I will add in the command to run it locally at the end of the description of each function logic. The command to run the project sideloads the addin to excel. |
Much better! This is super nit picky but I think the explanation would be improved by calling out that the URL is the URL of the excel spreadsheet in the web browser (if that is indeed what it is) |
|
|
||
| ```bash | ||
| // Command to run on the web. | ||
| npm run start:web -- --document {url} |
There was a problem hiding this comment.
Ok got it finally. Found the namespace. I don't think it would hurt to spell these things out for a naïve user, so that they can test the basic concepts before digging into the ORT stuff
There was a problem hiding this comment.
These issues are covered in the tutorial that is linked in the prerequisite. I do not think it needs to be duplicated in this tutorial. This is focused on the ORT and inference logic on top of the tutorial for making a plugin.
There was a problem hiding this comment.
I think this tutorial would be better as a self contained article. Taking the user out of this context and into the middle of the other tutorial blurs the clarity of this one (even more so, as the steps are pretty simple, and not too much work to bring the steps into this one). We could have the other tutorial as a reference if folks want more background
updated. |
natke
left a comment
There was a problem hiding this comment.
Looking good!
We can remove the CLI pre req now I think?
Will approve now so you can merge after that has been removed


Description
Add new tutorial for ONNX Runtime web to work in excel with local models.
https://cassiebreviu.github.io/onnxruntime/docs/tutorials/web/excel-addin-bert-js.html