A medical chat assistant built with SvelteKit and powered by Ollama's local AI models. This application provides an interactive chat interface for medical inquiries using the MedGemma model.
Before running this application, ensure you have the following installed:
hf.co/lmstudio-community/medgemma-4b-it-GGUF:Q4_K_Mollama pull hf.co/lmstudio-community/medgemma-4b-it-GGUF:Q4_K_M
Clone this repository:
git clone <repository-url>
cd med-chat
Install dependencies:
npm install
Start the development server:
npm run dev
The application will be available at http://localhost:5173.
npm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run check - Type checking and SvelteKit syncnpm run lint - Run ESLintnpm run format - Format code with PrettierThe assistant can help with:
src/
├── app.css # Global styles
├── app.d.ts # TypeScript declarations
├── app.html # Main HTML template
├── lib/
│ └── index.ts # Utility functions
└── routes/
├── +layout.svelte # App layout
├── +page.svelte # Main chat page
└── api/
└── chat/
└── +server.ts # Chat API endpoint
This application is for informational purposes only and should not replace professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.
This project is private and not licensed for public use.