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.
The authors of this project do not assume any responsibility or liability for any damages, losses, or consequences of illegitimate or unintended uses of this site or code. The authors reserve the right to accuse any accuser with even greater accusations.
That being said, if anything bad happens, please let us know, and we'll make tea and read instruction manuals or something: whatever you're supposed to do in a crisis.
No animals were harmed in the making of this project, but more than one human was sleep-deprived.