Code Monkey home page Code Monkey logo

cs510-codeclash's Introduction

CS510-CodeClash

Team Members:

Palveet Kaur Saluja (psaluja2) and Rudrik Patel (rudrikp2)

Code generation and execution platform using LLMs

A web-based application that utilizes leading Language Large Models (LLMs) for the task of code generation. This platform provides an interactive environment where users can formulate natural language queries to generate executable code across more than 40 programming languages. Additionally, CodeClash offers functionalities for editing and directly executing code within the platform. It uniquely enables the comparison of outputs from various LLMs, such as GPT-3.5/4 and Gemini facilitating an analytical approach to selecting the most effective code solution.

Demo Link: https://drive.google.com/file/d/1eIYyOh0VoF6glV5r77QLiasvspxrdeot/view

Instructions:

  1. clone the github repository : https://github.com/Palveet/CS510-CodeClash
  2. npm install for react libraries
  3. pip install - flask, cors, google.generative ai and open ai
  4. add API keys for OPENAI and Gemini in /backend/app.py file
  5. Make .env file to save RAPIDAPI_HOST and RAPIDAPI_KEY
REACT_APP_RAPID_API_HOST = YOUR_HOST_URL
REACT_APP_RAPID_API_KEY = YOUR_SECRET_KEY
REACT_APP_RAPID_API_URL = YOUR_SUBMISSIONS_URL
  1. running react app : npm run start
  2. running flask app : flask --app app --debug run
  3. Use the tool: entering a prompt in the text area.

cs510-codeclash's People

Contributors

palveet avatar rsp22 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rsp22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.