Skip to content

kartik-012/NumpyGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumPyGPT πŸπŸ€–

Your intelligent partner for mastering NumPy! This AI-powered application, built with the Gemini API, helps you generate, understand, and debug NumPy code through a simple, conversational interface.

This project was bootstrapped from Google AI Studio.

✨ Features

  • Natural Language to NumPy: Describe what you want to do in plain English, and get the corresponding NumPy code.
  • Code Explanation: Paste a NumPy snippet and receive a detailed explanation of what it does.
  • Interactive Chat: A user-friendly interface for interacting with the AI.
  • Powered by Gemini: Leverages Google's powerful Gemini model for accurate and context-aware responses.

πŸš€ Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

πŸ’» Installation & Running Locally

  1. Clone the repository (or download the source):

    git clone <your-repository-url>
    cd <repository-folder>
  2. Install dependencies:

    npm install
  3. Set up your environment variables: Create a file named .env.local in the root of your project and add your Gemini API key:

    GEMINI_API_KEY="YOUR_API_KEY_HERE"
    

    Important: The .gitignore file is configured to prevent this file from being committed. Never share your API key publicly.

  4. Run the development servers: This project has a separate frontend and backend. You'll need to run them in two separate terminal windows.

    Terminal 1: Start the Backend

    npm run dev:backend

    Terminal 2: Start the Frontend

    npm run dev:frontend

Open the local URL provided by the frontend server (usually http://localhost:5173) in your browser to see the result.

πŸ› οΈ Built With

  • Frontend: React + Vite
  • Backend: Express.js
  • AI: Google Gemini API
  • Runtime: Node.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors