News for hackers. Stuff that matters.
Re:Perplexity clone in 21 lines of code by galgia on Thursday January 30, 2025 @10:09AM (#42878448)
Minimal Perplexity clone.

What it does:

- Input user query - Generate 1 to n google queries to find the answer - Use this queries to query Google - Generate response with links to sources

You can retrieve from any source line this and improve the quality of answers for multi-hop questions from your users.

Have fun!