Skip to content

Intelligent AI integration for DHIS2. This Flask-based project combines DHIS2 data with OpenAI's language models to provide smart responses to health-related queries, enhancing data analysis and decision-making in public health.

Notifications You must be signed in to change notification settings

eltonlaice/dhis2-smart-ia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

DHIS2 Smart IA

DHIS2 Smart IA Logo

Stars Badge Forks Badge Pull Requests Badge Issues Badge GitHub contributors License Badge

Intelligent Artificial Intelligence for your DHIS2 (District Health Information Software 2)

OverviewFeaturesHow It WorksGetting StartedUsageContributingLicenseContact

Overview

DHIS2 Smart IA is an innovative Flask-based project that integrates DHIS2 (District Health Information Software 2) with OpenAI to provide intelligent responses to health-related questions based on DHIS2 data.

This project creates a bridge between DHIS2, a widely used health information management system, and OpenAI's powerful language models. By leveraging the vast amount of health data stored in DHIS2 and the natural language processing capabilities of OpenAI, DHIS2 Smart IA enables users to ask health-related questions and receive informed answers based on real data.

Features

  • 🔗 Seamless integration with DHIS2 for accessing health-related data
  • 🧠 Utilization of OpenAI's language models for natural language processing
  • 🖥️ User-friendly interface for asking health-related questions
  • 📊 Data-driven responses based on DHIS2 information
  • 🌐 RESTful API for easy integration with other systems

How It Works

  1. Users input health-related questions through the application interface.
  2. The system processes the questions using OpenAI's language models.
  3. Relevant data is retrieved from the DHIS2 database.
  4. The AI generates informative responses based on the DHIS2 data and the user's query.
  5. The answer is presented to the user in a clear and understandable format.

Getting Started

Prerequisites

  • Python 3.8+
  • Flask
  • DHIS2 instance
  • OpenAI API key

Installation

  1. Clone the repository:

    git clone https://github.com/eltonlaice/dhis2-smart-ia.git
    cd dhis2-smart-ia
  2. Install required packages:

    pip install -r requirements.txt
  3. Set up environment variables:

    cp .env.example .env

    Edit the .env file with your DHIS2 and OpenAI credentials.

  4. Run the application:

    flask run

Usage

(Add instructions on how to use the application, including examples of queries and expected outputs)

# Example code for using the API
import requests

url = "http://localhost:5000/api/query"
payload = {"question": "What is the COVID-19 vaccination rate in district X?"}
response = requests.post(url, json=payload)

print(response.json())

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Elton Laice - @eltonlaice - meu@eltonlaice.com

Project Link: https://github.com/eltonlaice/dhis2-smart-ia


Developed with ❤️ by Elton Laice

About

Intelligent AI integration for DHIS2. This Flask-based project combines DHIS2 data with OpenAI's language models to provide smart responses to health-related queries, enhancing data analysis and decision-making in public health.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published