Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Member Assistant: An Open-Source AI Helper for Mall Mini-Programs

说明与用途

面向购物中心小程序的 AI 助手,提供即时、引用式回答,数据保留在本地,且仅读安全约束得到执行。

问题

Mall mini-programs need instant, privacy‑preserving answers to member questions about points, parking, coupons, and orders without exposing sensitive data or incurring high costs.

结果

The assistant provides accurate, cited answers in milliseconds, keeps all member data on‑prem, eliminates per‑token costs, and enforces read‑only safety constraints in code.

工作流

  • 1. Member sends a question with X‑Member‑Id header to /chat
  • 2. Service authenticates via header, retrieves relevant chunks from FAISS index
  • 3. Optional preset tool call fetches data from read‑only SQLite
  • 4. Assistant streams answer with citations over SSE
  • 5. Low‑confidence answers fall back to a human agent

证据

Member Assistant is a production‑grade AI assistant for shopping‑mall mini‑programs. Members ask questions in natural language — "How many points do I have?", "How does parking work?" — and get instant, cited answers over an SSE stream.

来源

Real vector RAG — multilingual sentence‑transformers embeddings + FAISS index over the mall's knowledge base (parking rules, points rules, coupons, floor guide)

来源

Read‑only member tools — points / coupons / orders, served from SQLite opened in read‑only mode; the assistant can only call a closed registry of preset tools, never raw SQL

来源

FastAPI + Docker — /healthz, JSON structured logging, env‑based config, one‑command deploy

来源

  • 记录日期: 2026-10-19T02:41:22.377Z