Permlexity代表下一代搜索引擎,它使用人工智能来理解人类语言,并将可搜索的网页提炼、总结,而FuckPerplexity则是Permlexity一个简单的替代品。
- 将question送入duckduckgo搜索实时网页结果;
- 使用jina.ai将网页解析成markdown;
- 将quesiton、markdown拼成prompt,送入openai chatgpt处理;
- 用streamlit将openai chatgpt的回答展示到前端。
1. 可科学上网环境
1. pip install -r requirements.txt
1. streamlit run webui.py
2. 左侧填写Open AI API Key,右侧填写问题
3. 点击左侧“开始请教”
4. 等待结束
- 增加本地LLM支持