lilac-graph 0.0.0-stage → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/dist/lilac-graph.mjs +2142 -0
- package/package.json +29 -4
package/README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# lilac-graph
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Fill and read a [Lilac](https://lilac-research.com) knowledge graph from any agent. One file, no dependencies, needs only Node 20.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
export LILAC_API_TOKEN=lilac_at_... # from Settings on the site
|
|
7
|
+
export LILAC_GRAPH=my-graph
|
|
8
|
+
npx -y lilac-graph guide # the one page an agent needs
|
|
9
|
+
npx -y lilac-graph add ./notes --group tasks
|
|
10
|
+
npx -y lilac-graph search "what did we decide about the budget?"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Commands: `guide`, `graphs`, `new`, `add`, `set`, `group`, `map`, `search`, `read`. Each takes `--json` and `--help`.
|
|
14
|
+
|
|
15
|
+
This is the graph part of `lilac graph`, bundled alone from the same code.
|