"use node" in tutorial
https://docs.convex.dev/tutorial/actions
is there a particular reason why you guys used "use node" in this example?
I read the attached links about Convex runtime but also understood that the OpenAI package can be run in the default Convex Runtime, so wouldn't it better not to write "use node"?
2 Replies
The tutorial was written almost a year ago. The Convex runtime has been improved a lot since and for the OpenAI library
"use node"
is no longer required.
Still a good thing to know that the option of choosing Node.js is there when you need it.
We'll think through how to update the tutorial.ok cool!