Earlier quoted context omitted.
Used to be, but they're very complicated to operate compared to more modern alternatives and have just gotten more and more bloated over the years. Also require a bunch of different applications for different parts of the stack in order to do the same basic stuff as e.g. Meilisearch, Manticore or Typesense.
>very complicated to operate compared to more modern alternatives Can you elaborate? What makes the modern alternatives easier to operate? What makes Elasticsearch complicated? Asking because in my experience, Elasticsearch is pretty simple to operate unless you have a huge cluster with nodes operating in different modes.
Ask HN: How are you doing RAG locally?
161–166 of 166 posts
Re: Ask HN: How are you doing RAG locally?
#162Re: Ask HN: How are you doing RAG locally?
#163Re: Ask HN: How are you doing RAG locally?
#164Earlier quoted context omitted.
Will fix the links. Meanwhile here is the releases page. I develop on gitlab and mirror to github. Need to make that clear as well. https://gitlab.com/rhobimd-oss/shebe/-/releases
Ah, I tried the gitlab and the tarballs 404 for me there, sorry I should have been more specific in the original post! fwiw this does look interesting.
Re: Ask HN: How are you doing RAG locally?
#1651 - agent memory ( its an ai coach so its the unique training methods that allow for instant adoption of new skills and distilling best fit skills for context )
2 - user memory ( the ai coaches memory of a user )
3 - session memory ( for long conversations, instead of compaction or truncation )
Then separately I have coding agents which I give semantic search, same system FAISS
- on command they create new memories from lessons ( consumes tokens * ) - they vector search FAISS when needing more context ( 2x greater agent alignment / outcomes this way )
And finally I forked openais codex terminal agent code to add - inbuilt vector search and injection
So I say "Find any uncovered TDD opportunity matching intent to actuality for auth on these 3 repos, write TDD coverage, and bring failures to my attention"
They set my message to {$query}
vector search on {$query}
embed results in their context window
programmatically - so no token consumption ( what a freaking dream )
thats open source if helpful
Its here
https://github.com/Next-AI-Labs-Inc/codex/tree/nextailabs
Im trying to determine where something like this fits in
https://huggingface.co/MongoDB/mdbr-leaf-ir
My gaps right now are ...
I am not training the agents yet, like fine tuning the underlying models.
Would love the simplest approach to test this, because at least with the codex clone I could easily swap out local models, but somehow doubting that they will be able to match performance of the outsourced models.
especially bc claude code just launched ahead of codex in the last week or so in quality, and they are closed source. Im seeing clear swarm agentic coding internally which is a dream for context window efficiency. ( in claude code as of today )
Re: Ask HN: How are you doing RAG locally?
#166I am using LangChain with a SQLite database - it works pretty well on a 16G GPU, but I started running it on a crappy NUC, which also worked with lesser results. The real lightbulb moment is when you realise the ONLY thing a RAG passes to the LLM is a short string of search results with small chunks of text. This changes it from 'magic' to 'ahh, ok - I need better search results'. With small models you cannot pass a…
We had to do this, 3 best matches but about 1000 characters each was far more effective than the default I ran into of 15-20 snippets of 4 sentences each
We also found a setting for "when do you cut off and/or start" the chunk, and set it to double new lines
Then just structured our agentic memory into meaningful chunks with 2 new lines between each, and it gelled perfectly.
( hope this helps )