trips/mock
Greg Pomerantz 7efd2567b2 spatial: pgvector semantic POI index + UI map pins
- db/Dockerfile: postgis:16-3.4 + postgresql-16-pgvector (works around the
  EOL bullseye release files: disable Check-Valid-Until, add pgdg repo)
- 20-vector.sql: CREATE EXTENSION vector on first boot
- embed/main.go (embedpoi): build poi_vec from poi — zembed embeddings of
  'name — kind' (2560-d), resumable, HNSW cosine index at the end
- main.go: /semantic endpoint (embeds q with the local model, cosine <=>
  over poi_vec, returns lat/lng/score); add lat/lng to /near /nearest
  /corridor so the UI can pin results; bind the vector as a text literal
  + ::vector cast (lib/pq has no []float32 codec)
- mock/app.js: poi_semantic tool + poi_near now returns coords; agent loop
  drops poi_near/poi_semantic results as map pins (showSpatialPins)
- mock/styles.css: .sp-dot / .sp-card pin + popup styles
- README: document the pgvector stack + embedpoi
2026-09-10 14:08:53 -04:00
..
scripts Move runtime artifacts out of the source tree to ~/trips 2026-09-10 10:03:04 -04:00
app.js spatial: pgvector semantic POI index + UI map pins 2026-09-10 14:08:53 -04:00
data.js Fix Cartagena old-city points placed in the bay + misplaced CTG airport 2026-09-09 21:02:19 -04:00
index.html Route card: put walk/taxi on the leg popup; make the drop-off ride hoverable 2026-09-09 17:56:58 -04:00
server.js PostGIS: live — imports, spatiald, and fixes from real runs 2026-09-10 12:23:49 -04:00
styles.css spatial: pgvector semantic POI index + UI map pins 2026-09-10 14:08:53 -04:00