assafelovic / gpt-researcher

LLM based autonomous agent that conducts local and web research on any topic and generates a comprehensive report with citations.
https://gptr.dev
Apache License 2.0
15k stars 2.01k forks source link

Add a history page (static) #967

Open niuguy opened 3 weeks ago

niuguy commented 3 weeks ago

The idea is simply to add a static history page and store the generated reports in a local SQLite database. Here are some screenshots for reference:

US election

US Election 2024 A Comprehensive

This is more of a proposal, but I think it might be more straightforward to submit a PR. Looking forward to the feedback!

ElishaKay commented 3 weeks ago

Love it.

I'm voting for Postgres as the default data store, since it's also supported by langchain vector stores - see PGVector

But, great proof of concept :)

niuguy commented 3 weeks ago

@ElishaKay Yes, integrating with Postgres is certainly viable if that’s the plan. I’m using SQLite for now just for simplicity—it’s just a single file for the database, after all