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.

How to Run

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!

About

Hackrithmitic 2 2023 - GPT Powered Math Solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors