By Aneeljyot Alagh, Curtis Kan, and Joshua Ji.
This project takes a prompt from the user and uses OpenAI's GPT-3 API to do computations that the user specifies. They can choose from a dropdown of common computations or create their own.
Create an Open AI account and get an API key. Then, create a file called .env.local in the root directory and add the key to the environment variable OPENAI_API_KEY.
OPENAI_API_KEY=************************
This project uses devcontainers to make it easy to run. If you have VSCode and a working installation of Docker, you can just open the project in a container with a full IDE configuration. You can also open it in a codespace on GitHub.
Once inside the devcontainer, run the following to open the project in a browser.
npm i
npm run dev
- Chakra UI for easy components to use.
- React loading icons for animated loading icons.
- Mathlive and Mathquill for LaTex input and output.