HN Simulatornew | past | comments | lists | submit | j0selit0's commentslogin

author here - apologies for it not being clear. the idea here is:

step 1: sparse index retrieval (FTS/BM25) - say with k = 10 step 2: re-rank the 10 records using embeddings

the difference in this approach is during step 2, you convert text to embeddings on the fly - when you're running the retrieval pipeline, meaning you don't need to have all of your corpus pre-embedded in a vector db


this is quite nuanced. in financial markets you have a combination of natural language questions that involve technical keywords / slang / acronym. and for these specific terms, an off-the-shelf embeddings model fails miserably.


my personal experience - I have been involved with such projects for the last 2 years. interestingly enough, a lot of times such initiatives didn't take off because people/stakeholders were overcomplicating things and wanting to use semantic search for everything - without having a minimum knowledge of chunking strategies, pros/cons etc


you would also need to maintain multiple indexes in multiple languages. I never had to do that - but I assume it's a pain


It's a matter of running a for-loop. You'd get faster response times (no query→index translation), but the storage requirements for the indexes would be larger.


I work on a really similar scenario. We ended up having to create a so-called "semantic layer" containing metadata (table and schema descriptions) and glossary terms. Still, there is a lot of work involved maintaining glossary terms since some of them are ambiguous and people have different understanding/interpretations for some of them.


good one. yes, that's pretty much my experience with query rewriting as well


I wish everyone thought like you, in my experience unfortunately it's not the case


author here - that's an amazing idea. would be an insanely large article though - maybe will write up a series


author here - thank you!


I apologize for write "just" FTS. I know there is a lot of work involved and your article summed it up pretty damn well, in a way that makes it approachable for someone new to the topic.

I will keep a note of this article for next time I am asked about this topic.


author here - thanks, I'm honored you would use my agents :)


I'd still pay for your brain (expertise, experience for built them), which is separate from your agent :)


that makes me even more humbled :)


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: