Skip to content

Digital-Umuganda/mbaza-health-backend

Repository files navigation

Malnutrition Chatbot using FastAPI

This is a Malnutrition Chatbot developed using FastAPI and OpenAI's GPT-4. The chatbot aims to provide information and guidance related to malnutrition and its prevention. It utilizes the OpenAI API for natural language processing and understanding.

Features

  • Interactive chat interface for users to ask questions and receive information about malnutrition.
  • Utilizes OpenAI's GPT-4 for generating human-like responses.
  • Provides guidance on malnutrition prevention, symptoms, and related topics.
  • Integration with a PostgreSQL database to store user interactions.

Prerequisites

Before running the chatbot, make sure you have the following:

  • Docker and Docker Compose installed
  • Environment variables set in a .env file (as mentioned in the project root .env.example)

Installation

  1. Clone this repository to your local machine.

Configuration

Before running the app, make sure to set your environment variables in the .env file at the project root. There is a sample in .env.example configuration

Docker

Start the Docker containers using Docker Compose:

```sh
docker-compose up -d

```

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages