Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Trip Buddy — I built my friend a budget trip planner on an open-weight model

说明与用途

Trip Buddy 将旅行规划整合到单一表单中,利用开源模型和数据快速生成优化行程。

问题

Friends plan trips manually with many tabs and mental maps, making it hard to create a concise, budget‑aware itinerary.

结果

Trip Buddy delivers a fully grounded, budget‑aware itinerary in a single page, eliminating manual planning steps and reducing cost by using open‑weight models and open data.

工作流

  • 1. User submits start, destination, days, budget, and interests via a form.
  • 2. Backend calls an open‑weight LLM (Llama 3.3 70B) to return structured JSON of transport, stays, and sights.
  • 3. Destination is geocoded with OpenStreetMap Nominatim; out‑of‑range attractions are filtered.
  • 4. optimize.js deterministically selects sights, clusters them into days with k‑means, routes each day with nearest‑neighbour + 2‑opt, and creates a timed schedule.
  • 5. Frontend renders the itinerary on a Leaflet map with day‑colored routes.
  • 6. User reviews and can adjust the plan if needed.

证据

Trip Buddy turns that into one form. Enter where you're starting, where you're going, how many days, a budget, and what you're into. You get: ...

来源

The key decision: the LLM researches, plain code optimises.

来源

I geocode the destination with Nominatim and drop any "attraction" more than 80 km away.

来源

No npm dependencies: Node's built-in http and fetch, plus 7 unit tests with node:test.

来源

  • 记录日期: 2026-10-04T18:55:44.786Z