Skip to content

konvica/mini-weather-chatbot

Repository files navigation

Weather chatbot assignment

Proof of concept implementation of Weather Chatbot using Rasa NLU and tommorow.io weather api (see References). The chat bot looks for location in user input and provides realtime weather report for given location.

example

Setup

Requires docker-compose, git and private weather api (https://app.tomorrow.io/home) token defined in .env file.

#contents of .env file
CLIMACELL_API_KEY=token

Run both rasa and rasa_action_server using docker-compose

#get .env file with weather api token
docker-compose up -d --build

Now there should be running rasa API on port 5005. To test it out visit demo chatroom on localhost:8880 (cloned from https://github.com/scalableminds/chatroom)

Assumptions

  • User asks for weather using words that are similar / close to word weather (sunny, cloudy, ...)
  • Location must be specified as name of City or Country

Future plan

  • Spacy entity and trained DIETclassifier are weak when detecting less known cities. Needs more data or better city entity recognition.

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published