An open API service indexing awesome lists of open source software.

https://github.com/manojtharindu11/itp_sl_via_experta

The intelligent travel planner uses an Experta-based expert system to recommend optimal routes through Sri Lanka based on your preferences.
https://github.com/manojtharindu11/itp_sl_via_experta

expert-system experta prolog

Last synced: 2 months ago
JSON representation

The intelligent travel planner uses an Experta-based expert system to recommend optimal routes through Sri Lanka based on your preferences.

Awesome Lists containing this project

README

          

# ITP-SL — Intelligent Travel Planning (Sri Lanka)

A compact expert-system-backed travel recommender for Sri Lanka using Experta. It recommends destinations and routes based on season and budget preferences and computes shortest paths between cities.

## Quick start

Prerequisites

- Python 3.8+

Install dependencies (recommended in a virtual environment):

```powershell
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
```

Run the Streamlit app:

```powershell
streamlit run app.py
```

Open http://localhost:8501 in your browser. Press Ctrl+C to stop.

Run tests:

```powershell
pytest -q
```

## Project layout

- `app/experta_kb.py` — Experta knowledge base and rules
- `app/query.py` — Helper/adaptor functions used by the UI and tests
- `app.py` — Streamlit UI
- `test/` — unit and integration tests

## Environment variables

Copy `.env.example` to `.env` to configure:

- `USE_MAPBOX` — `true` to enable Mapbox tiles
- `MAPBOX_TOKEN` — Mapbox access token (if `USE_MAPBOX=true`)
- `MAPBOX_STYLE` — optional Mapbox style URI
- `OSM_TILE_URL` — optional custom OSM tile URL

## Notes

- The canonical knowledge base is `app/experta_kb.py`. Extend rules or data there.
- README simplified to remove outdated details.