Loke-60000 / weather-report-assistant

An AI-powered weather application providing accurate and updated forecasts in text and voice synthesis. It collects, processes, and stores weather data, ensuring a personalized and user-friendly weather experience.

Home Page:http://lokweatherapp.eastus.azurecontainer.io:3000/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather Report Assistant Setup Guide

Overview

This document details the setup process for the Weather Report Assistant, a chatbot application designed to deliver weather reports. The application is structured into three main services: Data Collector, NLP Module, and HTTP Server (Frontend). Each service operates within its own Docker container and is stored in separate folders as outlined below. It is essential to have a PostgreSQL database running as it is required for storing the collected weather data.

Services and Instructions

1. Data Collector (backend_weather_data_collector)

Responsible for fetching and storing weather data, which is then used by other components of the application. This service requires a PostgreSQL database to be running.

Location: backend_weather_data_collector/

Docker Build:

cd data_collector_weather
docker build -t data_collector_weather .

Docker Run:

docker run -d -p 5432:5432 data_collector_weather

2. NLP Module (backend_nlp)

This service processes the collected weather data to generate textual and audio weather reports, making it the core component of the chatbot's response system. It also relies on the PostgreSQL database for accessing the stored data.

Location: backend_nlp/

Docker Build:

cd nlp_weather
docker build -t nlp_weather .

Docker Run:

docker run -d -p 8000:8000 nlp_weather

3. HTTP Server (Frontend) (frontend)

Hosts the user interface for the chatbot, where users can interact with the application to receive weather updates.

Location: frontend/

Docker Build:

cd frontend
docker build -t frontend_server .

Docker Run:

docker run -d -p 3000:3000 frontend_server

About

An AI-powered weather application providing accurate and updated forecasts in text and voice synthesis. It collects, processes, and stores weather data, ensuring a personalized and user-friendly weather experience.

http://lokweatherapp.eastus.azurecontainer.io:3000/


Languages

Language:Python 63.7%Language:CSS 14.9%Language:JavaScript 13.4%Language:HTML 4.8%Language:Dockerfile 3.1%