Happy to answer any questions and open for suggestions :) It's basically a LLMs with access to a search engine and the ability to query a vector db. The top n results from each search query (initialized by the LLM) will be scraped, split into little chunks and saved to the vector db. The LLM can then query this vector db to get the relevant chunks. This obviously isn't as comprehensive as having a 128k context LLM ju…
"normal consumer GPU"... well mine is a 4GB 6600.. so I guess that varies.
Show HN: I've built a locally running Perplexity clone
61–70 of 140 posts
Re: Show HN: I've built a locally running Perplexity clone
#62Happy to answer any questions and open for suggestions :) It's basically a LLMs with access to a search engine and the ability to query a vector db. The top n results from each search query (initialized by the LLM) will be scraped, split into little chunks and saved to the vector db. The LLM can then query this vector db to get the relevant chunks. This obviously isn't as comprehensive as having a 128k context LLM ju…
Your project looks very cool. I had on my ‘list’ to re-learn Typescript (I took a TS course about 5 years ago, but didn’t do anything with it) so I just cloned your repo so I can experiment with it. EDIT: I just noticed that most of the code is Go. Still going to play with it!
Re: Show HN: I've built a locally running Perplexity clone
#63Earlier quoted context omitted.
searxng, which is a locally running meta search engine combining a lot of different sources (including Google and co)
This might be more of a searxng question, but doesn't it quickly run up against anti-bot measures? CAPTCHA challenges and Forbidden responses? I can see the manual has some support for dealing with CAPTCHA [1], but in practical terms, I would guess a tool like this can't be used extensively all day long. I'm wondering if there's a search API that would make the backend seamless for something like this. 1. https://doc…
There are projects like flareresolverr which might be interesting
Re: Show HN: I've built a locally running Perplexity clone
#64A while back you commented on my personal project Airdraw which I really appreciated. This looks awesome and you're well on your way to another banger project - looking forward to toying around with this :)
Re: Show HN: I've built a locally running Perplexity clone
#65Re: Show HN: I've built a locally running Perplexity clone
#66Would be good if the readme mentions minimum hardware specs to get a reasonably decent performance. E.g. I have a ThinkPad X1 extreme i7 with MaxQ graphics, any hopes of running this on it without completely ruining the performance?
Just taking a guess, but I wouldn't expect more than a couple tokens (more or less like syllables) per second. Which is probably to slow, since it has to read a couple thousand per search result.
It's hard to provide minimum requirements, since there are so many edge cases.
Re: Show HN: I've built a locally running Perplexity clone
#67Excellent work! Cool side projects like that will eventually help you get hired by a top startup or may even lead to building your own. I can only encourage other makers to post their projects on HN and put them out into the world.
Re: Show HN: I've built a locally running Perplexity clone
#68Did you really make a perplexity clone if you didn’t spend more time promoting yourself on Twitter and LinkedIn than on the engineering?
Re: Show HN: I've built a locally running Perplexity clone
#69Re: Show HN: I've built a locally running Perplexity clone
#70It says it's a "locally running search engine" - but not sure how it finds the sites and pages to index in the first place?
Yea I guess that's misleading, I should probably change that. I was referring to the LLM part as locally running. Indexing is still done by the big guys and queried using searxng