assafelovic / gpt-researcher

LLM based autonomous agent that does online comprehensive research on any given topic
https://gptr.dev
Apache License 2.0
14.25k stars 1.86k forks source link

detailed_report argument not working #550

Closed theguaz closed 3 months ago

theguaz commented 4 months ago

When I execute ;

python cli.py "tell me about cats" --report_type "detailed_report"

I get :

Please use one of the following: research_report, resource_report, outline_report, custom_report, subtopic_report Using default report type: research_report prompt.

Any thoughts?

assafelovic commented 4 months ago

Hey @theguaz detailed reports is not a GPT Researcher report type but rather an implementation that leverages GPT Researcher. You can see here how it's implemented: https://github.com/assafelovic/gpt-researcher/tree/master/backend/report_type/detailed_report

The idea behind it is that it's a very very long process so would result in instabilities as one function call. If you see the code above you'll see that we use GPT Researcher iteratively to generate the detailed report.