Skip to content

appdevjohn/flight-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Flight Service - AI Agent Demo

Given two airports identifiers, summarize the weather conditions and give a quick opinion on the safety of a VFR flight.

=== VFR Flight Check ===

Origin:

At Sanford/Lee Cnty Airport, it is currently VFR conditions with a temperature of 25.2 degrees Celsius and dewpoint of 16.7 degrees Celsius, with light winds at 4 knots from the west-northwest, visibility of 10 miles or more, scattered clouds at 4300 feet and 5000 feet altitudes, under standard barometric pressure.

Destination:

At Louisburg/Franklin Cnty airport, it is currently VFR conditions with light winds at 4 knots from the west, 10 statute miles visibility, scattered clouds at 4,700 and 6,000 feet altitude, a barometric pressure of 30.30 inches, and a temperature of 26 degrees Fahrenheit.

Summary:

Based on the provided conditions, both airports appear to be suitable for VFR flight with no apparent safety concerns given your personal minimums. The visibility is more than sufficient at both locations, ceilings are higher than required, and winds are light and within your acceptable limit of 12 knots. No other factors seem to indicate a significant risk to VFR flight.

This is only an AI agent demo and should not be used for real decision making.

Running On Your Machine

  1. Ensure Ollama is running with the proper model (llama3.1:8b).

  2. Install dependencies

# Optionally, with a virtual environment.
python -m venv env
source env/bin/activate

# Install dependencies
pip install -r requirements.txt
  1. Run the script
python flight_service.py KTTA KLHZ

About

AI Agent for a quick a quick VFR safety summary.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages