Skip to content

MatthieuThib/ChatbotJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

WeatherChatbotJS

Description

The aim of this project was to build a Rule-based Weather bot in JavaScript.

Team

  • Chloé TEMPO
  • Sebastien YUNG
  • Matthieu THIBAUT

Table Of Contents

  • Vanilla This folder contains the entire project.
    • Colors Inside this folder, a JavaScript file contains a style object that will be used to change the display color of the node js command prompt.
    • Matcher Inside this folder, a JavaScript file contains a function that search matching patterns.
    • Patterns Inside this folder, a JavaScript file contains a pattern object that assign a value at a regular expression.
    • Weather Inside this folder, the JavaScript uses a weather API to fetch weather forecasts for a specific location and timestamp.
    • app.js The main script of this project, define the structure and the interactions with the bot.
  • ReadMe.md You are on the ReadMe.md file.

How it works

This bot simply works by gathering information in the user's sentence like the location and the timestamp. Then he uses the accuweather API to fetch weather data. After some data processing, he reply back to the user.
Information about Accuweather API: https://developer.accuweather.com/apis

Example

Here, a quick overview of an iteraction with the weather bot !

image

About

☀️Weather Chatbot in javascript

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •