This code is a quick example of a web application that integrates our Copilot API.
To test it on your machine:
- First you need an API key. To get one, please contact us
- Replace the placeholder in
main.js
line 1 with your key. - Then, you just need to run a http static server.
For instance, if Node.js is installed on your machine, you can run:
npx http-server .
and browse http://127.0.0.1:8080/
You'll find more information about Nabla APIs on our documentation