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

From editor alternatives to synonym-aware search with Terraphim

说明与用途

Terraphim 允许用户为单词添加同义词,导出知识图谱,并使用 terraphim-grep 按语义搜索,即使同义词不在最终文本中,也能检索到决策。

问题

Literal searches miss decisions when synonyms are used in documents.

结果

The synonym-aware search retrieves all relevant passages and decisions, demonstrating that sharing the synonym graph makes the search effective.

工作流

  • 1. In Terraphim Editor, add “Concern” as an alternative to “Risk”.
  • 2. Export the knowledge graph as a thesaurus (knowledge-graph.json).
  • 3. Run terraphim-grep with the thesaurus: terraphim-grep concern --thesaurus knowledge-graph.json --paths corpus -C 2 --search-only --json.
  • 4. Review returned passages and locations.
  • 5. Optionally replace --search-only with --answer to generate a summary via a configured model provider.

证据

We made an 80-second demonstration of a different flow. It starts with choosing a word in an editor and ends with finding a decision from the command line.

来源

I add “Concern” as an alternative to “Risk”. I can swap between the two without losing the other wording.

来源

I pass that exported graph to terraphim-grep: terraphim-grep concern --thesaurus knowledge-graph.json --paths corpus -C 2 --search-only --json

来源

It finds all three “Risk” passages and the decisions next to them, even though “Concern” does not appear in the clean text.

来源

  • 记录日期: 2026-10-12T11:56:25.387Z