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.
- 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.
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
)
- Clone this repository to your local machine.
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
Start the Docker containers using Docker Compose:
```sh
docker-compose up -d
```