(Infosys Springboard Internship Project)
The primary goal of the HoNQP-Gen AI Tool is to develop an advanced system capable of generating high-quality, hands-on Java programming question papers. The system is trained on a carefully curated dataset of Java code problems and solutions to ensure the production of relevant and educational questions.
This project aims to streamline the creation of educational content by providing educators with a powerful tool to enhance learning experiences in computer science. By leveraging advanced models such as the Mistral-8x7b, the system can produce contextually appropriate and high-quality questions.
- Code Generation: Automatically generate Java code questions and solutions.
- Class Diagram Creation: Create relevant class diagrams to complement the generated questions.
- Document Generation: Generate comprehensive documents including questions, solutions, and diagrams.
To get started with the project, follow these steps:
-
Clone the repository:
git clone https://github.com/govardhan-06/HONQPGEN-Infosys-Intern.git cd HONQPGEN-Infosys-Intern
-
Create a virtual environment (optional but recommended):
# If using virtualenv virtualenv venv source venv/bin/activate # If using venv (Python 3 standard library) python3 -m venv venv source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
Create a
.env
file in the root of your project with the following content:GEMINI_API_KEY="<GEMINI API KEY>" GROQ_API_KEY="<GROQ API KEY>"
Describe how to use the project. Include any additional steps or configurations if necessary.
-
Start Jupyter Notebook:
jupyter notebook
This will open Jupyter Notebook in your web browser.
-
Open the notebook:
Navigate to the
.ipynb
file you want to work on and click to open. -
Run the notebook:
Execute the cells in the notebook to see the output.
Explain any additional configuration or setup required for the project, if applicable.
-
File Structure:
/ ├── .gitignore ├── .env ├── model.ipynb ├── gemini.ipynb └── requirements.txt
-
Environment Variables:
Ensure that all necessary environment variables are set in the
.env
file before running the project.