Agents: Add semantic retrieval and show source links in answers
Our search is in-memory BM25 over keyword tokens with a small ES/EN/PT stopword list (lib/knowledge-search.ts), so a question phrased differently from the doc, or in another language than the doc, often returns nothing and triggers a handoff. Fin answers in 45+ languages from the same content (https://fin.ai/capabilities). search_knowledge already returns a source for URLs but the visitor never sees which page an answer came from, which hurts trust and makes wrong answers hard to debug. First scope: hybrid ranking (BM25 plus embeddings via the AI Gateway, cached per chunk with a content hash), and an instruction plus UI to append one source link (Docs public URL or web URL) to answers that used knowledge. Priority: medium. Effort: M. Compared with Intercom Fin, Zapier Agents, Lindy (plus OpenAI AgentKit as reference for evals/versioning).
Comments 0
No comments yet.
Sign in to comment