About Lighthouse Bot

AI-Powered Maritime Data Analysis Platform

What is Lighthouse Bot?

Lighthouse Bot is a data analysis application that uses natural language queries to analyze maritime ferry data using agentic Retrieval-Augmented Generation (RAG). The platform allows users to ask questions about ferry operations, routes, passenger traffic, and performance metrics in plain English, and receive detailed analytical responses backed by real data.

This innovative platform bridges the gap between complex maritime data and accessible insights, making data analysis available to both technical and non-technical users in the maritime industry.

How to Use This Platform

πŸ”‘ API Key Requirement

To use this application, you need an OpenRouter API key. This key enables access to various Large Language Models (LLMs) for processing your queries.

Note: The platform is designed for querying and analysis only. Advanced features like model evaluation are available through the source code.

πŸ“Š Getting Started

  1. Select a language model from the dropdown menu
  2. Enter your question about ferry data (e.g., "What is the average speed of ferry Jupiter?")
  3. View comprehensive responses including SQL queries and analysis
  4. Access your query history to track previous analyses

πŸ“Š Ferry Database Overview

🚒 Ferry Fleet Data

πŸ”— View Source Data

Our database contains real-world operational data from FΓ€rjerederiet's ferry fleet, covering the period from March 2023 to February 2024.

🚒 Available Ferries with Trip Data (5 Vessels)

FraganciaTrip records & routes
JupiterTrip records & routes
MerkuriusTrip records & routes
NinaTrip records & routes
YxlanTrip records & routes

Note: Additional ferry specifications are available for 6 more vessels (Skidbladner, Marie, Capella, Linda, Sedna, Ebba Brahe) but without trip data.

πŸ“ˆ Available Data Categories

πŸ›³οΈ
Trip Operations: Departure/arrival times, routes, trip types (ordinary, extra, doubling)
β›½
Performance Metrics: Fuel consumption, distances, speed, efficiency
πŸš—
Cargo & Passengers: Vehicle counts, passenger car equivalents, load statistics
πŸ“
Route Information: Terminal locations, route descriptions, schedules

πŸ’‘ Example Questions You Can Ask

Performance Analysis:
  • β€’ "What is the average fuel consumption of ferry Jupiter?"
  • β€’ "Which ferry has the best fuel efficiency?"
  • β€’ "Compare the average speed of all ferries"
  • β€’ "Show me the longest trips by distance"
Operations & Traffic:
  • β€’ "What are the busiest routes by passenger volume?"
  • β€’ "How many extra trips were made in 2023?"
  • β€’ "Which ferry carries the most vehicles on average?"
  • β€’ "Show passenger patterns by month"

πŸ—ƒοΈ Key Database Fields

Trip Information:
time_departure
trip_type
tailored_trip
start_time_outbound
end_time_outbound
Performance Data:
distance_outbound_nm
fuelcons_outbound_l
distance_inbound_nm
fuelcons_inbound_l
Load & Capacity:
passenger_car_equivalent_outbound
passenger_car_equivalent_inbound
vehicles_left_at_terminal_outbound
vehicles_left_at_terminal_inbound

Learn More

πŸ“š Full Documentation & Source Code

For detailed setup instructions, evaluation features, and technical documentation:

πŸ”— GitHub Repository - vildly/lighthouse-sensor-bot

πŸ—ƒοΈ Raw Ferry Data Source

The ferry operational data used in this platform is part of the Hack-A-Fleet v2.0 dataset from RISE Maritime:

πŸ”— RISE Maritime - Hack-A-Fleet Dataset (ferry_trips_data.csv)

πŸŽ“ Academic Research

This platform was developed as part of a bachelor's degree thesis evaluating LLMs for maritime data analysis:

πŸ“„ "Lighthouse Bot: A Platform For Evaluating LLMs For Agentic Maritime Data Analysis"

Contributors

OS

Oxana Sachenkova

Supervisor & Contributor

DT

Dongzhu Tan

Co-Developer & Researcher

MA

Melker Andreasson

Co-Developer & Researcher

This project was developed as part of a Computer Science bachelor's degree program, focusing on evaluating Large Language Models for maritime data analysis applications. Oxana Sachenkova served as the academic supervisor, guiding the research and contributing to the application development.

Technical Overview

πŸ–₯️

Frontend

Next.js interface for submitting queries and viewing results

βš™οΈ

Backend

Flask server processing queries with LLM agents

πŸ—„οΈ

Database

PostgreSQL storing query results and evaluations