Intelligent Artificial Intelligence for your DHIS2 (District Health Information Software 2)
Overview • Features • How It Works • Getting Started • Usage • Contributing • License • Contact
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.
- 🔗 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
- Users input health-related questions through the application interface.
- The system processes the questions using OpenAI's language models.
- Relevant data is retrieved from the DHIS2 database.
- The AI generates informative responses based on the DHIS2 data and the user's query.
- The answer is presented to the user in a clear and understandable format.
- Python 3.8+
- Flask
- DHIS2 instance
- OpenAI API key
-
Clone the repository:
git clone https://github.com/eltonlaice/dhis2-smart-ia.git cd dhis2-smart-ia
-
Install required packages:
pip install -r requirements.txt
-
Set up environment variables:
cp .env.example .env
Edit the
.env
file with your DHIS2 and OpenAI credentials. -
Run the application:
flask run
(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())
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Elton Laice - @eltonlaice - meu@eltonlaice.com
Project Link: https://github.com/eltonlaice/dhis2-smart-ia
Developed with ❤️ by Elton Laice