Live data from Hacker News

Show HN: Turn any website into a knowledge base for LLMs

embedding.io

61–70 of 135 posts

Re: Show HN: Turn any website into a knowledge base for LLMs

#64

In my opinion this is a transitional niche. Soon websites/apps whatever you want to call them will have their own built-in handling for AI. It's inefficient and rude to be scraping pages for content. Especially for profit.

I doubt. For larger players, data is valuable - so they are preventing scraping already (eg reddit, linkedin). For smaller websites there’s also not much of an incentive.. Maybe hosting providers will help with preventing scraping? like ddos protection

Re: Show HN: Turn any website into a knowledge base for LLMs

#65

I feel like this is unethical. You built yet another bot scraper. It would only be an ethical tool if it validated I own the website I am scraping before it starts.

yes only big conglomerates now can scrape pages. If you're not google stealing the info then...... Right?

Re: Show HN: Turn any website into a knowledge base for LLMs

#66

In my opinion this is a transitional niche. Soon websites/apps whatever you want to call them will have their own built-in handling for AI. It's inefficient and rude to be scraping pages for content. Especially for profit.

I think each website/data-source having their own built-in AI is also a transitional period.

It is like every website having search engine vs google.

Re: Show HN: Turn any website into a knowledge base for LLMs

#67
post #54

Earlier quoted context omitted.

I chunk pages and generate embeddings for each chunk. So there's no real size limit per page.

The more detail, the better. If ` ` elements are found you chunk those? Do you do it recursively or do you stop after a certain level? And when section elements don't exist, you use ` `, ` `, etc. to infer logical chunks?

Having looked at a lot of HTMLs, I noticed that sections are not really the default. I rely on headings (h1, h2, ...) to chunk each pages. Each chunk has its heading hierarchy attached to it. There are a lot of optimizations that could be done at that level.

Re: Show HN: Turn any website into a knowledge base for LLMs

#68

I like this a lot! But: I feel the more of these services come to being, the more likely it is that every website starts putting up gates to keep the bots away. Sort of like a weird GenAI take on Cixin Liu's Dark Forest hypothesis ( https://en.wikipedia.org/wiki/Dark_forest_hypothesis ). (Edited to add a reference.)

> I feel the more of these services come to being, the more likely it is that every website starts putting up gates to keep the bots away

That's why we need microtransactions, because I'd rather be able to have both nice AI services and useful data repositories that they pull from, than have to choose just one. (and that one would be AI services, because you can't stop all the scrapers, so data sources will just keep tightening their restrictions)

Re: Show HN: Turn any website into a knowledge base for LLMs

#70

In my opinion this is a transitional niche. Soon websites/apps whatever you want to call them will have their own built-in handling for AI. It's inefficient and rude to be scraping pages for content. Especially for profit.

In agree that this niche is DOA. No offence to OP but the barrier for entry to this stuff is low. I built basically the same thing over a weekend for personal use. React frontend, python server, chroma for embeddings, sqlite cache, switch between open AI and anthropic (I want to add llama for full local execution when I get a better pc). I have a local SPA with named "projects", can configure crawl depth from a start page, I can set my crawl rate, don't have to pay to use it, can choose any provider I want... I'm just one guy and that took a day to get working plus a bit of polish.

I would guess the hardest thing by far in developing the advertised product would be user management, authentication, payments and wrapping the subscription model's business logic around the core loop. And probably scaling, as running embeddings over hundreds of scraped pages adds up quickly when free tier users start hammering you.

My question when deciding to sell something I've built is, if building the service model is harder than building the actual service, where is the value add?

My take on the natural evolution is that collating and caching documents, websites etc for search (with source attribution ideally) is a problem that will I think ultimately be solved by OS vendors. Why sign up for SaaS and expose all your content to untrustworthy 3rd parties, when it's built right in and handled by your "trusty" OS.

In the meantime, I reckon someone more dedicated than me will (or probably already has) open source something like I built but better, probably as a CLI tool, which will eventually reach maturity and be stolen cough I mean adopted by the top end of town.

Ethically I think nothing's changed for centuries in regards to plagiarism and attribution. It gets easier to copy work and thinking, but it also ultimately gets easier to acknowledge sources. Good folk will do the right thing as they always have done.

Regarding efficiency, I think tools like this have a place in making access to relevant and summarised knowledge during general research more efficient, when doing the broad strokes to find areas of interest to zoom in on, when more traditional approaches take over.

Interesting times anyway. I have to give credit to people that try, but I'm taking a back seat in thinking of ideas to productise in this space, as by the time I've thought it through, something new comes along that instantly makes it obsolete.

Post reply on HN