Gandalf is an AI regulatory assistant to help medical device and pharmaceutical companies bring their products to market faster by pre-checking their documentation before FDA submission. Upload your PDF and receive a comprehensive review in seconds.
Attention: This is a work in progress and not yet ready for production use. The frontend (React) and backend (Python) are currently not communicating with each other.
We are actively looking for passionate contributors to join our journey in revolutionizing the regulatory process for medical devices and pharmaceuticals. Whether you're a seasoned developer, a regulatory expert, or someone who loves to tinker with AI, we would love to have you on board!
- Fork the repository
- Create a new branch (
git checkout -b feature/YourFeature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/YourFeature
) - Open a Pull Request
Feel free to check out the open issues and start working on them. If you have any questions or need guidance, don't hesitate to reach out. Let's build something amazing together!
- Clone the repository
To get the frontend running locally:
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and visit
http://localhost:3000
To get the backend running locally:
- Navigate to the backend directory:
cd backend
- Create a virtual environment (optional but recommended):
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On Unix/Linux/MacOS:
source venv/bin/activate
- On Windows:
- Install dependencies:
pip install -r requirements.txt
- Start the development server:
python demo.py
This project uses a custom utility function for merging Tailwind CSS classes. The following file is already included in the project:
frontend/lib/utils.ts
This file contains the following utility function:
import { type ClassValue, clsx } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
Ensure you have the required dependencies installed:
npm install clsx tailwind-merge