Skip to content

This project is a basic Chatbot front-end for an Cognitive Engine API that I developed to predict the intent and sentiment of a message.

License

Notifications You must be signed in to change notification settings

Dellonath/web-chatbot-interface

Repository files navigation

Web Chatbot with Angular

A Web Chatbot Interface using Angular and a own Cognitive Engine API


Description

The project is a basic Chatbot front-end for an Cognitive Engine API that I developed to predict the intent and sentiment of a message. You can access the Cognitive Engine repository in this nlp-cognitive-engine.

Technologies

Angular is a TypeScript-based free and open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations. In addition, Angular provides a large collection of reusable components that can be used as building blocks for applications. Angular is based on the open-source model and framework for building web applications.

How to install

The first thing you need to do is download the nlp-cognitive-engine repository and install it on your machine (follow the repository instructions). This will be the project back-end, where the Chatbot will use the API to try to predict the message intent and get the response.

Now, you need install Node.js and npm. Run the follow command:

sudo apt update
sudo apt install nodejs npm

And then you can install Angular/CLI:

npm install -g @angular/cli

Clone this project in your machine:

git clone https://github.com/Dellonath/web-chatbot-interface.git

Inside the project folder, you can run the following command:

npm install

At least, run the following command:

ng serve

For standard, the project will be running in the browser in the localhost:4200/ URL.

Obs. You need to host the API in your local machine, as described in nlp-cognitive-engine repo README.md.

Preview

This is a print of the chatbot interface. You can try it in the browser in the localhost:4200/ URL. The third and fourth bot message was a response of the API.

About

This project is a basic Chatbot front-end for an Cognitive Engine API that I developed to predict the intent and sentiment of a message.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published