GPT Researcher[1] 是一个基于大型语言模型(LLM)的自动化智能体,目标是对任何给定主题进行在线全面研究。
该智能体能够生成详细、事实和无偏见的研究报告,并提供定制化选项,以关注相关资源和大纲。
GPT Researcher的设计灵感来源于最新的Plan-and-Solve和RAG论文,目标是解决错误信息、速度、确定性和可靠性问题,通过并行化智能体工作而不是同步操作,提供更稳定的性能和更快的速度。
GPT Researcher适用于需要快速、准确和全面研究的个人和组织,尤其是在需要客观结论和详细报告的场合。
gitclonehttps://github.com/assafelovic/gpt-researcher.git
cdgpt-researcher
.env文件中。exportOPENAI_API_KEY={YourOpenAIAPIKeyhere}
exportTAVILY_API_KEY={YourTavilyAPIKeyhere}
pipinstall-rrequirements.txt
python-muvicornmain:app--reload
http://localhost:8000并在任何浏览器上进行研究。pipinstallgpt-researcher
fromgpt_researcherimportGPTResearcher
query="为什么Nvidia股票上涨?"
researcher=GPTResearcher(query=query,report_type="research_report")
#进行研究
research_result=awaitresearcher.conduct_research()
#写报告
report=awaitresearcher.write_report()
.env.example文件,添加您的API密钥到克隆的文件并保存为.env。docker-composeup--build
注:本文内容仅供参考,具体项目特性请参照官方 GitHub 页面的最新说明。
| 欢迎光临 链载Ai (https://www.lianzai.com/) | Powered by Discuz! X3.5 |