ajitesh123 / auto-review-ai

πŸš€ AI-Powered Performance Review Generator
https://perfor-ai.streamlit.app/
2 stars 1 forks source link

πŸš€ Performance Review AI

Generate performance reviews and self-reviews in minutes using Large Language Models (LLMs).

https://github.com/user-attachments/assets/81e62eda-b12c-4697-9469-d904fd8ee4ed

✨ Features

Installation

  1. Clone the repository

  2. Create a virtual environment

python -m venv .venv
  1. Install the required packages:
pip install -r requirements.txt
  1. Use the following command to run the Streamlit app and FastAPI backend:
streamlit run app.py

This will start the web interface where you can:

Run the FastAPI server:

uvicorn backend.app_fastapi:app --host 0.0.0.0 --port 8000

API endpoints:

Using Docker

  1. Build the Docker Image:

    Navigate to the root directory of the project and run:

    docker build -t performance-review-api .
  2. Run the Docker Container:

    Start the Docker container:

    docker run -p 8000:8000 performance-review-api

    This command maps port 8000 on your local machine to port 8000 in the Docker container, making the FastAPI application accessible at http://localhost:8000.

  3. Verify the Application is Running:

    Open a web browser and navigate to http://localhost:8000. You should see the welcome message defined in the root endpoint.

    You can also use curl to test the root endpoint:

    curl http://localhost:8000/

    You should see a response like:

    {"message": "Welcome to the Performance Review API"}

Key Components

review.py

self_review.py

app.py

app_fastapi.py

LLM Support

Supported LLM providers:

Note

Make sure to provide your own API key for the selected LLM provider when using the application.