Skip to content

3iq-hacks/mathgpt

Repository files navigation

Hackrithmitic-2 2023: Math GPT

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.

Running Locally

Prerequisites

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=************************

Devcontainers/Codespaces (Nodejs 18)

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

Tools Used

Frontend

Backend

Screenshots

Take a look at our devpost!

Disclaimer

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.

About

Hackrithmitic 2 2023 - GPT Powered Math Solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •