Live data from Hacker News

Show HN: I've built a locally running Perplexity clone

github.com

101–110 of 140 posts

Re: Show HN: I've built a locally running Perplexity clone

#101

I if a quick poke through the source and it seems like there’s not much reason this couldn’t run on macOS? It seems that ollama is doing the inference and then there’s a go binary doing everything else? I might give it a go and see what happens!

sure there are people in the issues how got it working on macos. docker networking was the only problem :)

Re: Show HN: I've built a locally running Perplexity clone

#102
post #24

This is cool, haven't run this yet but seems really promising. Am thinking how this can be a super useful to hook with internal corporate search engines and then get answers from that. Good to see more of these non API key products being built (connected to local llms)

I might try to hook this into our internal confluence, shouldn't be a problem

Re: Show HN: I've built a locally running Perplexity clone

#104

Earlier quoted context omitted.

ohh " https://duckduckgo.com/?q=andrew&format=json " nice!

Those arent search results tho, that's just duckduckgo internal things like "similar queries"

oh they must be hitting their own internal api with format=json but what is the datasource?

Re: Show HN: I've built a locally running Perplexity clone

#105

Earlier quoted context omitted.

Those arent search results tho, that's just duckduckgo internal things like "similar queries"

oh they must be hitting their own internal api with format=json but what is the datasource?

https://news.ycombinator.com/item?id=39925003 ahhh https://github.com/searxng/searxng

Re: Show HN: I've built a locally running Perplexity clone

#107

I if a quick poke through the source and it seems like there’s not much reason this couldn’t run on macOS? It seems that ollama is doing the inference and then there’s a go binary doing everything else? I might give it a go and see what happens!

sure there are people in the issues how got it working on macos. docker networking was the only problem :)

I have it running on my Mac right now, took < 2 minutes (had to manually download one of the ollama models)

Re: Show HN: I've built a locally running Perplexity clone

#108
> Q: is chrome on ios powered by safari

> According to the sources provided, Chrome on iOS is not powered by Safari. Google's Chrome uses the Blink engine, while Safari uses the WebKit engine.

I find it amusing how when people show off their LLM projects their examples are always of it failing, and providing a bad answer.

Re: Show HN: I've built a locally running Perplexity clone

#109
post #106

Speaking of LLM's... here's my "dear lazyweb" to HN: What would be the best self hosted option to build sort of a textual AI assistant into your app? Preferably something that I can train myself over time with domain knowledge.

Fine tuning on your own knowledge probably isn't what you want to do, you probably want to do retrieval aided generation instead. Basically a search engine on some local documents, and you put the results of the search into your prompt. The search engine uses the same vector space as your language model as its index, so the results should be highly relevant to whatever the prompt is.

I'd start with "librechat" and mistral, so far that's one of the best chat interfaces and has good support for self hosting. For the actual model runner, ollama seems to be the way to go.

I believe it's built on "langchain", so you can switch to that when it makes sense to. When you've tested all your queries and setup with librechat, know that librechat is a wrapper around "langchain".

I'd start by testing the workflow in librechat, and if librechat's API doesn't do what you want, well I've always found fastAPI pleasant to work with.

---

Less for your use case, and more in-general. I've been assessing a lot of LLM interfaces lately, and the weird porn community has some really powerful and flexible interfaces. With sillytavern you can set up multiple agents, have one agent program, another agent critique, and a third asses it for security concerns. This kind of feedback can help catch a lot of LLM mistakes. You can also go back and edit the LLM's response, which can really help. If you go back and edit an LLM message to fix code or change variable names, it will tend to stick with those decisions. But those interfaces are still very much optimized for "Role playing".

Recommend keeping an eye on https://www.reddit.com/r/LocalLLaMA/

Re: Show HN: I've built a locally running Perplexity clone

#110
post #45

Earlier quoted context omitted.

As a last resort we could have AI work on top of a real web browser and solving captchas as well. Should look like normal usage. I think these kinds of systems LLM + RAG + Web Agent will become widespread and the preferred method to interact with the web. We can escape all ads and dark UI patterns by delegating this task to AI agents. We could have it collect our feeds, filter, rank and summarize them to our preferen…

If everyone consumes like that what's even the incentive for content creators?

If content creators can't find anything that is uniquely human and cannot be made by AI, then maybe they are not creative enough for the job. The thing about generative AI is that it can take context, you can put a lot or very little guidance in it. The more you specify, the more you can mix your own unique sauce in the final result.

I personally use AI for text style changes, as a summarizer of ideas and as rubber duck, something to bounce ideas off of. It's good to get ideas flowing and sometimes can help you realize things you missed, or frame something better than you could.

Post reply on HN