Perplexity clone in 21 lines of code(github.com)
github.com
Perplexity clone in 21 lines of code
https://github.com/Pravko-Solutions/FlashLearn/blob/main/examples/perplexity_clone.py
https://github.com/Pravko-Solutions/FlashLearn/blob/main/examples/perplexity_clone.py
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!