Hacker News new | ask | show | jobs
by eitanlebras 62 days ago
The hybrid search scoring is really well thought out. One question: are the 0.4/0.4/0.2 weights fixed or configurable? To me it feels like different use cases would want different balances (e.g. a coding assistant would want higher recency weights than a research tool would).
1 comments

The 0.4/0.4/0.2 weights are just based of hand wavy trail an error, will look into other options. I could make them configurable?
I think that'd be cool, maybe just a simple config option in pyproject.toml or a .rekal/config.yml would cover most use cases: they could default to 0.4/0.4/0.2 but could be overriden.
Added a mcp command for it, but i might add it as a comfig as well?

https://github.com/janbjorge/rekal/pull/14/changes

Nice! Yeah, maybe adding it as a quick config could be very helpful to embed it into Rekal's structure.