Practical example of a usage of OpenAI to generate code to perform some actions in a booking transport website. For instance, users can ask to fill an input or press a button, and the action will be performed by the command provided by the artificial intelligence.
- index.js: that contains the code and configuration to send and receive messages from the frontend.
node index.js
A file called .env should be included with the API key.