Dandelion is a fair source project. View the code on Github · See the design guide

Commits on Jan 01, 2026
9943068

♻️ Extract geographic bounding-box logic into reusable helper method set_bounding_box

adae69e

🐛 (app/views/_ai.erb): replace hard-coded prompt text with configurable Stash value to allow prompt updates without code changes

86e94be

📝 Update AI prompt to use British English and day-before-month format

33e2a85

💬 (search.erb): replace “full” with “precise” in search option links to better reflect the refined search behavior

77c2c82

♻️ Refactor kept_ids creation to use to_set with block

7099879

♻️ (searchable): replace name-based deduplication with earliest-dated event logic

99107ff

🐛 (searchable): deduplicate search results by name to avoid showing duplicates

22e875c

📝 (app/views/_ai.erb): update AI prompt to preserve event order and paragraph structure, remove stray “§”

7d44281

🎨 (app/views/_ai.erb): remove bullet-point normalization and extra blank line handling to simplify markdown rendering

506071c

✨ (app.rb): filter AI search results to only live, public, browsable, future events
♻️ (searchable.rb): allow vector_search to work on existing scopes by injecting filter

c4799a7

🐛 (_ai.erb): guard against nil AI response and show fallback message
🐛 (_ai.erb): only render carousel blocks for events that have an image
🐛 (_block_carousel.erb): skip rendering link/image when event has no image
✅ (search_test.rb): update test to expect AI mode as default search tab

24b5e3b

♻️ (app.rb): merge standalone /ai route into search flow to simplify routing
🚚 (views): relocate AI response template into search result partial for unified rendering
✨ (search): make “ai” the default search type when no type is specified

9c0d82e

✨ Add AI search type to AJAX endpoint and unify UI flow

b75b1ab

✨ Add AI-powered search mode with vector search and LLM response
✨ Introduce new /ai endpoint and ai.erb partial for AI-generated answers
✨ Display vector-search results alongside AI response in a two-column layout

5b85f1f

🐛 (event_validation): wrap OpenRouter.embedding call in production with error handling to prevent failures from crashing the job

bde347c

✨ Generate embedding for events in production
🐛 Sanitize description links only when description present

792d0e5

✨ Add vector search capability to Searchable concern

997289d

➕ Add reverse_markdown gem for HTML-to-Markdown conversion
✨ Introduce to_markdown helpers for Hash and Array
✨ Add to_public_markdown to EventSerialization for Markdown export

497bccb

✨ Add embedding support to OpenRouter client and Event model

  • Add class-level embedding helper to OpenRouter
  • Implement embedding instance method with configurable model
  • Extract shared api_post private method to DRY up requests
  • Add embedding Array field to EventFields concern for storage
Commits on Dec 31, 2025
3e9e4ee

♻️ (event_serialization): use generic to_xml/to_json instead of custom public helpers