You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I pass a config.json via the config_path value to the pip package of GPTResearcher, the values are not used. Instead the default values are always used. E.G. for TOTAL_WORDS.
This is the command I am running:
researcher = GPTResearcher(query=query, report_type=f'{type}_report', tone="Objective", config_path="config.json")
And this is my config.json (some values set for testing):
{
"TOTAL_WORDS":4000,
"REPORT_FORMAT": "APA",
"TEMPERATURE": 0.2,
"MAX_ITERATIONS": 3
}
I also tried passing TOTAL_WORDS as env-var as suggested in the documentation, however this also doesn't work.
Could you please tell me how I can customize the reports via adding custom config variables ?
Thanks a lot, Much appreciated!
The text was updated successfully, but these errors were encountered:
When I pass a config.json via the config_path value to the pip package of GPTResearcher, the values are not used. Instead the default values are always used. E.G. for TOTAL_WORDS.
This is the command I am running:
researcher = GPTResearcher(query=query, report_type=f'{type}_report', tone="Objective", config_path="config.json")
And this is my config.json (some values set for testing):
{
"TOTAL_WORDS":4000,
"REPORT_FORMAT": "APA",
"TEMPERATURE": 0.2,
"MAX_ITERATIONS": 3
}
I also tried passing TOTAL_WORDS as env-var as suggested in the documentation, however this also doesn't work.
Could you please tell me how I can customize the reports via adding custom config variables ?
Thanks a lot, Much appreciated!
The text was updated successfully, but these errors were encountered: