Back
Desktop App & AI

Crisis Chatbot - AI Crisis Management Assistant

Crisis Chatbot is a specialized desktop application built with Python and Tkinter that provides crisis management guidance through an AI-powered chat interface. The application uses Ollama to run Llama 3.2 locally, ensuring privacy and offline capabilities. It features a clean, minimal GUI with a scrollable chat display, text input field, and intuitive controls. The bot is specifically trained with a crisis management system prompt, making it an expert advisor for questions about risk assessment, disaster response, emergency planning, and crisis management strategies. The application is packaged as a native macOS application using PyInstaller, providing a seamless desktop experience without requiring cloud services or internet connectivity for AI responses.

Year

2024

Role

AI/ML Developer

Technologies

Python, Tkinter, Ollama, Llama 3.2, PyInstaller, Local LLM, Desktop Application

Crisis Chatbot Desktop Application preview - Image 1

Challenge

Creating a specialized AI assistant for crisis management that runs entirely locally without cloud dependencies. The challenge was to integrate a local LLM (Ollama) with a desktop GUI while maintaining simplicity and ensuring the AI provides expert-level crisis management guidance.

Solution

Built a desktop application using Tkinter for the GUI and integrated Ollama's local LLM runtime with Llama 3.2 model. Implemented a specialized system prompt that configures the AI as a Crisis Management Expert, ensuring focused and relevant responses. The application includes an installer script that automatically sets up dependencies and ensures Ollama is properly configured. Used PyInstaller to package the application as a native macOS bundle for easy distribution.

Results

Local AI-powered crisis management guidance

Offline operation with no cloud dependencies

Specialized expert system for crisis management topics

Native macOS desktop application

Simple, intuitive chat interface

Privacy-focused local processing