dcfrancisco / chatbot-devops

This repository showcases the capabilities of Natural Language Understanding (NLU), a subset of Generative AI, using the Rasa framework and the Gradio chatbot. The goal is to facilitate engaging and accurate conversational experiences.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chatbot-devops

Table of Contents

Description

This repository showcases the capabilities of Natural Language Understanding (NLU), a subset of Generative AI. It leverages the Rasa framework, a Conversational AI chatbot, integrated with Jenkins and the Gradio interface. The goal is to facilitate engaging and accurate conversational experiences while demonstrating the power of modern AI-driven CI/CD pipelines.

Build a chatbot using Rasa framework

Setup Python environment

Install Python 3.9

sudo apt-get install python3.9

python3.9 -m venv venv

source venv/bin/activate

Install pip

sudo apt-get install python3-pip

Install virtualenv

sudo pip3 install virtualenv

Create a virtual environment

virtualenv -p python3.7 venv

Activate the virtual environment

source venv/bin/activate

Deactivate the virtual environment

deactivate

python3.9 -m venv venv source venv/bin/activate python3.9 -m venv rasa-env
python3.9 -m venv venv source venv/bin/activate

Installation

Install Rasa

pip install rasa

Rasa

Train nlu

Train

Run

Run with debug

Run action server


rasa run -m models --enable-api --cors "*" --debug
rasa train nlu
rasa run -m models --enable-api --cors "*" --debug
rasa train 
rasa run -m models --enable-api --cors "*" --debug
rasa run -m models --enable-api --cors "*"
rasa run -m models --enable-api --cors "*"
rasa train 
rasa run -m models --enable-api --cors "*"
rasa run -m models --enable-api --cors "*"
rasa run -m models --enable-api --cors "*"
rasa run -m models --enable-api --cors "*"
cd rasa

About

This repository showcases the capabilities of Natural Language Understanding (NLU), a subset of Generative AI, using the Rasa framework and the Gradio chatbot. The goal is to facilitate engaging and accurate conversational experiences.

License:MIT License


Languages

Language:Python 95.0%Language:Dockerfile 5.0%