Files
nexus/wiki/concepts/Dataview.md
2026-05-03 05:42:12 +08:00

1.2 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
Dataview concept
tool
obsidian
plugin
query
karpathy-最新分享-用-llm-搭建个人知识库-告别-rag-的低效循环
2026-04-20

Aliases

  • Obsidian Dataview 插件
  • DataviewJS

Definition

Obsidian 的社区插件,对页面 YAML frontmatter 做数据库式查询,自动生成动态表格和列表。是 LLM Wiki 的可选增强工具。

LLM Wiki Usage

让 AI 在每个 Wiki 页面的 frontmatter 里写上结构化元数据(如 typedatetagssource_count),然后用 Dataview 查询生成动态报表。

Example Query

```dataview
TABLE title, date, tags
FROM "wiki/sources"
SORT date DESC
```

Practical Value

  • 页面少时价值有限Wiki 规模大时(数百页面)报表价值显著
  • 老张(laozhang2579)观点:"多到一定程度或者想用元数据查询方式习惯的可以考虑,我是直接用索引文件配合 Claude 的文件检索"
  • 安装:设置 → 第三方插件 → 社区插件市场 → 搜索 "Dataview" → 安装并启用

Connections