Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.07 KB

File metadata and controls

31 lines (19 loc) · 1.07 KB

CodeGuide

CodeGuide is a Flask application that uses the Google GenerativeAI palm library to generate code examples and explanations based on a given topic and coding level. It also answers questions about the generated code.

Features

  • Generate code examples based on a given topic and coding level
  • Provide explanations for the generated code examples
  • Answer questions about the generated code

Installation

  1. Clone this repository: https://github.com/mmuddinhamza/CodeGuide
  2. Install the required packages: pip install -r requirements.txt
  3. set up your API key: export API_KEY = your_api_key

Usage

  1. Start the Flask application: python app.py
  2. Open your web browser and navigate to http://localhost:5000.
  3. Enter a topic, your coding level, and any questions you have.
  4. Click "Submit" to generate a code example, an explanation, and answers to your questions.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT