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

How to turn off Memory? #574

Closed gkhngyk closed 3 weeks ago

gkhngyk commented 3 weeks ago

Hello Team

I want to turn off Memory because it is generating using previous reports and therefore I get meaningless outputs.

Is there a way to do this? I deleted the value of memory_backend in config.py but that didn't work either.

self.memory_backend = os.getenv(“MEMORY_BACKEND”, “”)

assafelovic commented 3 weeks ago

Hey @gkhngyk can you give more details of the issue? The solution would not be to disable memory but to fix the issue you're experiencing. Please follow with more details, thanks!

gkhngyk commented 3 weeks ago

For example, when I ask it to research tavily, the report comes. Then when I say research empler.ai, it adds tavily to the report.

In other words, it also adds the results obtained in previous researches into the reports.

assafelovic commented 3 weeks ago

@gkhngyk does this happen when using the web interface or PIP Package?

assafelovic commented 3 weeks ago

Fixed here: https://github.com/assafelovic/gpt-researcher/commit/1525ac1e8a5e6d558826e9f2890743ea4d9dd856