
RAG
Version: 0.0.7
Downloads: 36
Size: 215 kB
Published At: 2025-02-12 07:45
Source Commit github.com/kunkunsh/kunkun-ext-rag/7fed733f
Build File .github/workflows/jsr-publish.yml
Public Ledger Transparentcy log entry
Security and Privacy
- clipboard:read-text
- notification:all
- dialog:all
- fs:exists
- shell:execute
- shell:deno:spawn
- shell:stdin-write
- shell:kill
- open:url
Description
Commands
- Local RAG
README
Kunkun RAG Extension
RAG means Retrieval-Augmented Generation.
This extension is a local RAG app, that allows you to index a local directory of files and search them using a LLM model.
If you don't know what RAG is, see Wikipedia: RAG
Basically, this extension allows you index local files and directories and search them using a LLM model.
For now, only text files and pdf files are supported.
The following file extensions are supported for Add Files
:
.txt
.pdf
.md
.mdx
.pdf
is not supported yet for Add Directory
.
[!CAUTION] If you want other file extensions to be supported, please send a issue to the repository. I will add options to let user add dynamic file extensions if there are people using this extension.
This is to prevent indexing other files you may not want to index, like lock files.
Sample Images
API Key
You need to supply an OpenAI API key to use this extension. It's kept locally with encryption. It's used for running embedding and LLM model. So if you index lots of files and directories, it may cost you some money. Index only the files you need.