What problem does it solve?
wiki-query helps you find existing knowledge in your lorekit corpus and generate a synthesized answer with truthful, traceable citations, instead of guessing or forcing web research.
Core Features & Use Cases
- Three-layer retrieval routing (exact / fuzzy / multi-hop): Selects the right lookup strategy based on query intent and the corpus mode (text vs vector) to quickly locate relevant pages.
- Source-guaranteed synthesis: Produces conclusions that must be grounded in real wiki links, and requires evidence from
知识库/摘要/<slug>.md for core claims.
- Decision-time tool usage: Uses
lorekit vector status, lorekit search, and lorekit vector query --hybrid to balance precision and semantic coverage.
- Answer provenance and UX loop: Outputs citations per claim, includes confidence notes, logs the query to
corpus/log.md, and proposes fileback to store valuable syntheses.
Quick Start
Ask your AI: 查一下 “XXX”,并用 corpus 里的现有资料回答(如果 corpus 没有就诚实说没有),同时给出每条结论的页面来源引用并在末尾询问是否要把答案存回 corpus。