assafelovic / gpt-researcher

GPT based autonomous agent that does online comprehensive research on any given topic
https://gptr.dev
MIT License
13.01k stars 1.61k forks source link

Multi-Agent Assistant中的 LangGraph可以配置llama3等本地模型吗? #575

Open zhangwanshen opened 3 weeks ago

zhangwanshen commented 3 weeks ago

{ "query": "Is AI in a hype cycle?", "max_sections": 3, "publish_formats": { "markdown": true, "pdf": true, "docx": true }, "source": "local", "follow_guidelines": false, "model": "llama3", "guidelines": [ "The report MUST be written in APA format", "Each sub section MUST include supporting sources using hyperlinks. If none exist, erase the sub section or rewrite it to be a part of the previous section", "The report MUST be written in chinese" ], "verbose": true }

oceanzhang2014 commented 3 weeks ago

{ "query": "Is AI in a hype cycle?", "max_sections": 3, "publish_formats": { "markdown": true, "pdf": true, "docx": true }, "source": "local", "follow_guidelines": false, "model": "llama3", "guidelines": [ "The report MUST be written in APA format", "Each sub section MUST include supporting sources using hyperlinks. If none exist, erase the sub section or rewrite it to be a part of the previous section", "The report MUST be written in chinese" ], "verbose": true }

"Sure, I am using the API provided by Gemini. By modifying the 'llms.py' file in the directory, it can be achieved. Additionally, different models can be specified for different agents using the 'call_model' function."