How Sanity Context & MCP Supercharged AI Customer Support in Basegent & Bucket Space
说明与用途
将 Sanity Context MCP 集成到 Basegent,AI 助手能够提供准确、符合条件的回答,消除了传统 RAG 的问题。
问题
Traditional vector search treats company documentation like a bag of text chunks, leading to outdated policy quoting, lack of conditional logic for multi‑dimensional entitlements, and hallucinations on generic product names.
结果
By modeling policies as structured documents in Sanity and querying them live via MCP, Basegent delivers accurate, context‑aware support, eliminates policy conflicts, and reduces hallucinations.
工作流
- Integrate Sanity into Basegent via SanityContextSourceAdapter and BYOK inference engine
- Set up Sanity Knowledge Base & Context MCP with structured supportPolicy documents and conflict detection
- Deploy Basegent chat widget in Bucket Space, passing authenticated user tokens to query Sanity live
证据
Traditional vector search treats company documentation like a bag of text chunks.
Support policies shouldn’t be plain blobs of text. In Sanity Studio, we modeled supportPolicy documents with explicit schema constraints.
Built a first‑party SanityContextSourceAdapter directly into Basegent that talks to Sanity’s hosted MCP endpoint, paired with a multi‑provider Bring‑Your‑Own‑Key inference engine.
- 记录日期: 2026-10-04T23:55:47.489Z