HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cepstrum9

no profile record

Submissions

[untitled]

1 points·by cepstrum9·قبل شهرين·0 comments

Poking Around ChatGPT's Sandbox

mkarots.github.io
1 points·by cepstrum9·قبل 4 أشهر·0 comments

Show HN: Portable RAG (Open Source)

4 points·by cepstrum9·قبل 4 أشهر·0 comments

Show HN: Raglet(open-source)–portable RAG for small text corpora (no infra)

github.com
2 points·by cepstrum9·قبل 4 أشهر·1 comments

Built a small tool to decouple prompts from code

github.com
1 points·by cepstrum9·قبل 7 أشهر·1 comments

comments

cepstrum9
·قبل 4 أشهر·discuss
neat minimalistic tool, giving it a go now, thanks for posting :)
cepstrum9
·قبل 4 أشهر·discuss
[dead]
cepstrum9
·قبل 4 أشهر·discuss
There's a class of text that's too big for a context window but too small to justify a vector database. A codebase, a folder of notes, a Slack export. I built a small library - raglet - to solve this problem raglet for it. The idea is that you can create small knowledge bases - "raglets" out of local directories.

i.e

from raglet import RAGlet rag = RAGlet.from_files(["docs/", "notes.md"]) results = rag.search("what did we decide about the API design?", top_k=5) rag.save("my-notes")

Load it anywhere rag = RAGlet.load("my-notes")

Local embeddings (sentence-transformers, no API keys), saves to a plain directory you can git commit.

The benchmark numbers were more interesting than I expected: 1 MB (~262K tokens) | 3.5s build | 3.7ms search 10 MB (~2.6M tokens) | 35s build | 6.3ms search 100 MB (~26M tokens) | 6min build | 10.4ms search Honest limitations: .txt and .md only right now (PDF/DOCX is next), no file change detection, ~100 MB practical ceiling before build time gets unwieldy.

What would make this useful for your workflow? Would love to get your feedback.
cepstrum9
·قبل 7 أشهر·discuss
hey all, while working on a SaaS im building, I had the need to decouple my prompts for code, so i could manage & organise them better, and I ended up building a small CLI tool to do that. the idea is that you can store prompts in yaml, version them and programmatically use them by ID. thats it, lmk what you think!