This is a web app designed to analyze medical reports, such as PDFs and images, and explain the results in simpler terms. Built with Next.js, Groq API, and LlamaParse, the app parses medical documents, processes the data with the Llama model via the Groq API, and generates easy-to-understand outputs.
ezyZip.mp4
- Upload medical reports in PDF or image formats.
- Automatically parse and extract text from the uploaded file using LlamaParse.
- Analyze the extracted data with the Groq API, powered by the Llama model.
- Receive detailed, user-friendly explanations of the report.
- Supports real-time processing and output generation.
- Next.js: For building the frontend and backend logic of the app.
- Groq API: For analyzing medical report data using the Llama model.
- LlamaParse: For parsing text from medical reports in image or PDF format.
- React: For building the interactive UI components.
To run this project locally, follow these steps:
- Node.js (v18 or higher)
- npm or yarn
- A Groq API key for accessing the Llama model
-
Clone the repository:
git clone https://github.com/yourusername/medical-report-analyzer-ai.git cd medical-report-analyzer-ai -
Install dependencies:
npm install # or yarn install -
Set up environment variables. Create a
.env.localfile at the root of the project with the following content:GROQ_API_KEY=your_groq_api_key -
Run the app in development mode:
npm run dev # or yarn dev -
Visit http://localhost:3000 in your browser.
- Upload Report: Users upload a medical report in PDF or image format.
- Parsing: LlamaParse extracts text from the document.
- Analysis: The extracted text is sent to the Groq API for analysis using the Llama model.
- Output: The analyzed data is returned and displayed as simplified, easy-to-understand explanations for the user.