iyinusa / PDT-bot

A Conversational AI Assistance built on Python and Rasa to act as student's PDT and provide emotional support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDT Conversational AI

A Conversational AI Assistance built on Python and Rasa to act as a PDT and provide emotional support using Sentiment Analysis.

Screenshot

To get started testing the PDT Chatbot on your system, make sure you have Rasa setup. For guide on how to setup Rasa, please visit Rasa Open Source Doc.

You can rather pull this repo on your system, by following the below:

Run Locally

Clone the project

  git clone https://github.com/iyinusa/PDT-bot.git

Go to the project directory

  cd PDT-bot

Install Rasa/dependencies

  rasa init

Train the model, and anytime you update the NLU pipeline

  rasa train

To now be able to launch the Chatbot Interface, you will need to start the Rasa Server, and Python HTTP Server.

To start Rasa Server

  rasa run --enable-api --cors "*"

Ensure the the flag --cors "*" is included to allow request acceptance for any sources, or you can define your sources, by replace it with the "*"

For Rasa to be able to execute other Transformers/LLM integration in the Rasa Action, you will need to ensure that the Rasa Action server is also started and running.

To start Rasa Action Server

  rasa run actions --actions actions

On successful running, you will observe the message, Action endpoint is up and running on http://0.0.0.0:5055.

Once started, you will have access to the API URI, which will look like http://localhost:5005. You will need that for the API requests/responses.

To start Python HTTP Server

  python -m http.server

Once started, you can then go to your browser, and type http://localhost:8000. Please check terminal if port is different.

Finally, you will now be able to test and start having conversation with the Chatbot.

Contributors

Meet the project contributors.


Aaron Darmudas

I. Kennedy Yinusa

Yeshwasri

Astogunsola

Saw6205

Yab55

Aye Thandar Phyo

About

A Conversational AI Assistance built on Python and Rasa to act as student's PDT and provide emotional support

License:MIT License


Languages

Language:Python 42.8%Language:JavaScript 31.9%Language:CSS 16.2%Language:HTML 9.2%