gpt-researcher icon indicating copy to clipboard operation
gpt-researcher copied to clipboard

Reports from documents!

Open proy9714 opened this issue 10 months ago • 5 comments

A highly requested feature!!! 🔥 🚀 💯

Now generate reports from your own documents!!

Just add the env variable DOC_PATH pointing to the folder where your document are located and choose MY DOCUMENTS from the source.

image

Support for a few basic document types, the community integrate many more from the host of document loaders provided by the langchain ecosystem.

There you go @assafelovic !

proy9714 avatar Apr 04 '24 09:04 proy9714

This is huge @proy9714 I will review it in a few days, feel free to continue refining in the meanwhile 👏🤩

assafelovic avatar Apr 04 '24 11:04 assafelovic

Looks good guys! I noticed that there is an error running on mac:

docker-compose up --build

The fix is here.

ElishaKay avatar Apr 25 '24 09:04 ElishaKay

Within the Readme, you'll want to be a little more specific on the limits of the DOC_PATH variable - ideally it should be somewhere within the gpt-researcher project folder.

For example, we should recommend something like:

DOC_PATH=./docs/my-docs

Reason being, when you're running the app via Docker, when you try to set the DOC_PATH variable to your Downloads folder:

  • you'll get a "Permission Denied" error
  • plus some other errors and complexity which arise, like needing to load volumes into Docker, which we should avoid.

ElishaKay avatar Apr 26 '24 05:04 ElishaKay

Hey @assafelovic I was on vacation and back now. Is there any problems with merging this? Can you quickly get me up to speed?!

proy9714 avatar Apr 29 '24 10:04 proy9714

@proy9714 welcome back from vacation :)

@ElishaKay took the liberty of fixing some issues with docker and created a new PR for this. Ping me on Discord and I'll be happy to jump you in!

assafelovic avatar May 02 '24 06:05 assafelovic