4 ms·
Funny enough, their prompts leaked: https://www.reddit.com/r/perplexity_ai/s/kn6i20kMLH https://www.reddit.com/r/perplexity_ai/s/kn6i20kMLH And I’ve built a pe
by cpursley 2y ago
Funny enough, their prompts leaked: https://www.reddit.com/r/perplexity_ai/s/kn6i20kMLH https://www.reddit.com/r/perplexity_ai/s/kn6i20kMLH
And I’ve built a perplexity clone in about a day - it’s not that hard: search -> scrape results -> parse results —> summarize results -> summarize aggregate results into single summary.
I’m really not sure I even see their moat.
- emporas 2y agoWhat have you used if i may ask? It seems very simple indeed. What search API is best? Also there is a program called html2text to throw out the html formatting so as to use less tokens. Have you used this or something similar?
- cpursley 2y agoBrave API (Bing is good as well). Here's a little gist (Elixir). It's pretty rudimentary so far and needs refining, but works alright enough (result at bottom): https://gist.github.com/cpursley/b4af2ff3b56c912f659bd5300e422790 https://gist.github.com/cpursley/b4af2ff3b56c912f659bd5300e4... The most useful part is probably the prompt and usage of Phi 3 Mini 128K Instruct for web page summarization and Llama 3 for the final summary (of the summaries). I'm parsing out all but minimal content html but might even remove that to keep context length down.
- emporas 2y agoVery nice, thank you!