This repository hosts the Flask API for the AI Interview Platform, a powerful tool designed to automate the interview process using AI. It evaluates interview responses by leveraging OpenAI's GPT models to provide scores and detailed feedback. This project was demonstrated at the OraHacks hackathon.
The API is currently deployed on Heroku and can be accessed here: AI Interview API. This deployment serves as the backend for the interview platform, handling requests and processing data.
- /evaluate: A POST endpoint that accepts interview answers, communicates with OpenAI for processing, and returns detailed feedback and scores to the front-end application.
To set up and run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/mohammed-saalim/orahacks-api.git cd orahacks-api
-
Install dependencies: pip install -r requirements.txt
-
Set Environment Variable in heroku/local For local create a .env file and add OPENAI_API_KEY=your_openai_api_key
-
Run Server flask run
To deploy your own instance of this API on Heroku, follow these instructions:
Create a new app on Heroku: heroku create
heroku config:set OPENAI_API_KEY=your_openai_api_key
git push heroku master
The front-end React application that interacts with this API is hosted separately. You can find the repository here: AI Interview UI
We welcome contributions to this project. If you have suggestions or improvements, please fork the repository and submit a pull request.