Skip to content

joancipria/VIHrtualApp

Repository files navigation



VIHrtual-App

A conversational agent which uses machine learning to offer an engaging sex educational tool to promote HIV/STI awareness and prevention. VIHrtual-App can identify more than 250 STI/HIV-related questions and respond accordingly, attractively providing reliable information.

VIHrtual-App screenshot

This repository contains the chatbot server source code. Access to the UI source code from here.

📦 Install

Requires Python 3.7 and pip 21.3 or higher. Lower versions of pip take too much to resolve dependencies. Tested with: Python 3.7.11 and pip 22.2.2. Rasa version: Rasa: 3.2.10 and Rasa SDK: 3.2.2. Newer versions of Rasa may not work.

Clone repository

git clone https://github.com/joancipria/vhihrtualapp.git && cd vihrtualapp

Create and activate a Python virtual environment

python3.7 -m venv ./venv && source ./venv/bin/activate

Upgrade pip and install rasa

pip3 install -U pip && pip3 install rasa

🤖 Run

Run rasa train to train a new model.

Run rasa shell to chat with the agent using the terminal .

Run rasa run -m models --enable-api --cors "*" --debug to start the conversational server .

Run rasa run actions --cors "*" to start the actions server.

📚 Articles

📝 Cite

To cite this resource in a publication, please use the following:

@inproceedings{moreno2022conversational,
  title={A Conversational Agent for Medical Disclosure of Sexually Transmitted Infections},
  author={Moreno, Joan C and S{\'a}nchez-Anguix, Victor and Alberola, Juan M and Juli{\'a}n, Vicente and Botti, Vicent},
  booktitle={International Conference on Hybrid Artificial Intelligence Systems},
  pages={431--442},
  year={2022},
  organization={Springer}
}

📜 License

Licensed under GNU General Public License v3. VIHrtual-App is a research project of the Polytechnic University of Valencia, FISABIO Foundation and the Infectious Diseases Unit of the General Hospital of Elche for the prevention of HIV.

Alt text Alt text