News for hackers. Stuff that matters.
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by apetresc on Monday October 23, 2023 @02:54PM (#37989971)
Logical direction, but the real killer feature would be for an LLM to read every page you bookmark and not just categorize it once for you, but add it to a queryable knowledge-base that you can reference at any point in future conversations.
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by eagrwl on Monday October 23, 2023 @03:35PM (#37990470)
Zenfetch (https://www.zenfetch.com/) does an awesome job at this!
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by purplecats on Monday October 23, 2023 @03:20PM (#37990307)
the ability to do this is pretty accessible nowadays, its just a little expensive for normal use for the layman
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by coolvision on Monday October 23, 2023 @03:48PM (#37990620)
There is a nice opensource extension that does exactly that: https://github.com/memex-life/memex

I tried to use it, and it just does not work very well, I don't it's because implementation is bad, it's just RAG (retrieval based generation) does not work well outside of some simple use cases.

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by danielbln on Monday October 23, 2023 @04:39PM (#37991256)
What are those simple use cases, and where do you see Retrieval Augmented Generation fall over?
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by coolvision on Monday October 23, 2023 @05:39PM (#37991947)
I think it works better if query is a larger chunk of text. Like, if you have an email from a customer and want to compose a response based on some relevant documentation, it should work well.

But for a use case where you want to retrieve something from browsing history you would mainly use a short search query, just few words. in this case embeddings are too ambiguous and relevance of retrieved content is not great.

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by janalsncm on Monday October 23, 2023 @08:39PM (#37993584)
That’s not a problem with RAG itself that’s an issue with your retriever. In the original RAG paper they used two vanilla BERT models and cosine similarity but there’s no requirement you do that. Use any retriever that gets you high precision. Use BM25 if you want, it’s simple and cheap.

You’re right in saying there’s not enough semantic meaning in the text of the query. The domain of queries and the domain of documents are very different. That’s why a real retrieval system will train the query encoder and doc encoder to be closer in their embedding space using click data. This is what Google is doing.

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by ayaanmomin on Monday October 23, 2023 @08:53PM (#37993683)
"train the query encoder and doc encoder to be closer in their embedding space using click data" <- Any papers/resources you know where I can learn more about this process?
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by janalsncm on Monday October 23, 2023 @09:35PM (#37993948)
Triplet loss.

https://pytorch.org/docs/stable/generated/torch.nn.TripletMa...

Triplet loss takes an anchor, positive, and negative. In this case the anchor is your query, the positive is a similar doc, and the negative is a dissimilar doc. When you train, backpropagate the loss to both the doc and the query encoder.

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by visarga on Monday October 23, 2023 @04:35PM (#37991216)
alway wonder why browsers don't keep at least a text version of the pages for search

nowadays I expect browsers to incorporate small LLMs like Mistral out of the box

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by coolvision on Monday October 23, 2023 @05:43PM (#37991994)
if history search worked better then you would visit google/bing less, so I expect pushback from browser vendors

also: https://bugs.chromium.org/p/chromium/issues/detail?id=297648

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by TeMPOraL on Monday October 23, 2023 @07:04PM (#37992802)
From a comment on that issue page, dating a little over a decade ago:

> Shouldn't this be left to users to decide whether they want a feature or not.

Yes, those were good times. Nowadays, it's anathema to software vendors, and increasingly even to open source devs.

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by totetsu on Monday October 23, 2023 @08:48PM (#37993647)
Another advertising revenue win for Query Jerry from marketing.
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by poyu on Tuesday October 24, 2023 @12:31AM (#37994863)
Not every browser vendor runs a search engine…
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by janalsncm on Tuesday October 24, 2023 @02:14PM (#38003041)
Apple and Mozilla aren’t Google. Apple runs their own searches on the App Store and iPhone, but Google pays them to be default. There’s no reason Apple couldn’t also index your search history in a more meaningful way other than perhaps space requirements.
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by patapong on Tuesday October 24, 2023 @02:24PM (#38003170)
Opera used to do this! And then when you searched in the top bar, it would also search your visited pages. It was very useful.
Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by toomuchtodo on Monday October 23, 2023 @04:36PM (#37991224)
Hope the Raindrop.io [1] founder (u/johngreen) sees this! Tangentially, quite a bit of what I read ends up as comments here, and it can be a pickle remembering where I read something to properly cite ("what keywords do I need to use to find the piece I'm thinking of"). Anything that reduces the human effort in citing a thesis (accurately!) is welcome.

[1] https://raindrop.io/

Re:Show HN: Autolicious – AI-powered bookmark cataloging Chr... by jondwillis on Tuesday October 24, 2023 @04:09AM (#37996080)
That gets real messy real fast!