Show HN: I've built a locally running Perplexity clone
31–40 of 140 posts
Re: Show HN: I've built a locally running Perplexity clone
#32The big secret about perplexity is they havent done much beyond using off the shelf models
I must say, though, that they are doing a commendable job integrating sources like YouTube and Reddit. These platforms benefit from special preprocessing and indeed add value.
Re: Show HN: I've built a locally running Perplexity clone
#33what does this have to do with Perplexity? it should reference the underlying models used instead
Re: Show HN: I've built a locally running Perplexity clone
#34Happy 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…
Re: Show HN: I've built a locally running Perplexity clone
#35Earlier quoted context omitted.
That is probably exactly why they got funding. You can sell it as focus on adding new features and leveraging the best available tools before reinventing the wheel. They do train their own models now, but for about a year they just forwarded calls to models like gpt3.5T. You still have the option to use models not trained by perplexity.
which is why their engagement and model responses suck. the other competitors are far better C.ai and Pi comes to mind
Re: Show HN: I've built a locally running Perplexity clone
#36Earlier quoted context omitted.
How did they secure funds in that case?
That is probably exactly why they got funding. You can sell it as focus on adding new features and leveraging the best available tools before reinventing the wheel. They do train their own models now, but for about a year they just forwarded calls to models like gpt3.5T. You still have the option to use models not trained by perplexity.
Re: Show HN: I've built a locally running Perplexity clone
#37Earlier quoted context omitted.
What is the search engine that it uses?
searxng, which is a locally running meta search engine combining a lot of different sources (including Google and co)
I'm wondering if there's a search API that would make the backend seamless for something like this.
Re: Show HN: I've built a locally running Perplexity clone
#38Happy 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…
Re: Show HN: I've built a locally running Perplexity clone
#39Re: Show HN: I've built a locally running Perplexity clone
#40This is really neat! I have questions: “Needs tool usage” and “found the answer” blocks in your infra, how are these decisions made? Looking at the demo, it takes a little time to return results, from the search, vector storage and vector db retrieval, which step takes the most time?
Thanks :) Die LLM makes these decisions on its own. If it writes a message which contains a tool call (Action: Web search Action Input: weight of a llama) the matching function will be executed and the response returned to the LLM. It's basically chatting with the tool. You can toggle the log viewer on the top right, to get more detail on what it's doing and what is taking time. Timing depends on multiple things: - t…
You mean the? The German is bleeding through haha