Forums Feature Requests Thread

[Enhancement] mobieusAI: vector embeddings + semantic search for the Q&A flagship

Patrick Bass · Jun 3 · 15 · 1 Auto-locked
[Normal Priority] [Feature Enhancement] [Deployed to Production]
🚀 OP Jun 3, 2026 6:00pm

What

Replace the FULLTEXT + LIKE retrieval that powers the mobieusAI Q&A flagship (#40) with cosine-similarity over per-tenant embeddings. Today retrieval is keyword-driven, so "how do I add a mod" surfaces threads about "moderator" but not threads phrased "promote a member to staff." Semantic search closes that gap.

Where it lives

  • Surface: Q&A drawer (every page when logged in)
  • Backlog id: B-AI-RAG-1

Implementation notes

  • BYOK embeddings provider (Voyage AI or equivalent) — same per-tenant key model as Anthropic
  • New ai_assistant_embeddings table per tenant: (source_table, source_id, embedding BLOB, dim, updated_at)
  • Backfill worker: nightly recompute deltas, plus on-write hook for new content
  • Top-K retrieval at query time: cosine vs. the question embedding
  • Falls back to the existing FULLTEXT path when no embeddings are present

Tracked as B-AI-RAG-1 in docs/BACKLOG.md.


Patrick Bass
@mobieus

🚀 Jun 11, 2026 3:12pm

Shipped. mobieusAI Q&A now matches questions by meaning, not just keywords. It runs per-tenant semantic search across your knowledge base and forum threads, so a question phrased differently from the source still finds the right answer. Turn it on in your admin AI settings. It falls back to keyword search when off.


Patrick Bass
@mobieus

Log in or register to reply to this thread.