llm-kb 0.0.1
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 +26 -0
- package/bin/cli.mjs +3 -0
- package/package.json +24 -0
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# llm-kb
|
|
2
|
+
|
|
3
|
+
LLM-powered knowledge base. Drop documents, build a wiki, ask questions.
|
|
4
|
+
|
|
5
|
+
Inspired by [Karpathy's LLM Knowledge Bases](https://x.com/karpathy/status/2039805659525644595).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx llm-kb run ./my-documents
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## What It Does
|
|
12
|
+
|
|
13
|
+
- **Ingest** — drop PDFs, Excel, Word, PowerPoint, images, or text into a folder
|
|
14
|
+
- **Parse** — automatically converts to markdown (LiteParse for PDFs, ExcelJS for spreadsheets, Mammoth for Word)
|
|
15
|
+
- **Index** — LLM reads all sources, maintains an index with summaries and topics
|
|
16
|
+
- **Query** — ask questions, get answers with citations
|
|
17
|
+
- **Research** — answers saved back to the wiki, compounding knowledge
|
|
18
|
+
- **Eval** — checks answers against sources, reports failures
|
|
19
|
+
|
|
20
|
+
## Tutorial
|
|
21
|
+
|
|
22
|
+
Building this in public: [themindfulai.dev](https://themindfulai.dev/articles/building-karpathy-knowledge-base-part-1)
|
|
23
|
+
|
|
24
|
+
## License
|
|
25
|
+
|
|
26
|
+
MIT
|
package/bin/cli.mjs
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "llm-kb",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "LLM-powered knowledge base. Drop documents, build a wiki, ask questions. Inspired by Karpathy.",
|
|
5
|
+
"bin": {
|
|
6
|
+
"llm-kb": "./bin/cli.mjs"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"llm",
|
|
11
|
+
"knowledge-base",
|
|
12
|
+
"wiki",
|
|
13
|
+
"karpathy",
|
|
14
|
+
"ai",
|
|
15
|
+
"document",
|
|
16
|
+
"pi-sdk"
|
|
17
|
+
],
|
|
18
|
+
"author": "Satish Venkatakrishnan <satish@deltaxy.ai>",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/satish860/llm-kb"
|
|
23
|
+
}
|
|
24
|
+
}
|