assafelovic / gpt-researcher

GPT based autonomous agent that does online comprehensive research on any given topic
https://gptr.dev
MIT License
13.02k stars 1.61k forks source link

docker image assafelovic/gpt-researcher is missing from docker hub #490

Open SpareShade opened 1 month ago

SpareShade commented 1 month ago

it seems that the docker assafelovic/gpt-researcher image is missing gpt-researcher Warning pull access denied for assafelovic/gpt-researcher, repository doesn't exist

thank you for this great tool :)

assafelovic commented 1 month ago

@ElishaKay any chance you can help with this as the docker master? 😃

arces commented 1 month ago

You can git pull and build the image or use https://hub.docker.com/r/elestio/gpt-researcher in the mean while. Their docker compose file is wrong and didn't work for me, so just use the one here in this repo and it should work for you. I looked at their build file and it seems fine, but I would prefer to use the original from assafelovic if I could.

ElishaKay commented 1 month ago

Hey @SpareShade & @arces, Thanks for the heads up on this :) We're looking into a solution - we're considering to auto-push the official Docker Image to Docker Hub when code is merged into this Github repo's Master Branch. Will update this thread when there's news.

ElishaKay commented 1 month ago

After discussing with Assaf, This will be official Docker Package page:

https://hub.docker.com/r/kramer1346/gpt-researcher

I pushed the latest Documents Feature to that Image yesterday & it will be continually updated moving forward to reflect the master branch on this Github repo

gakugaku commented 1 month ago

https://hub.docker.com/r/kramer1346/gpt-researcher image only supports arm and doesn't work on amd64 :'(

$ docker compose up 
WARN[0000] /gpt-researcher/docker-compose.yml: `version` is obsolete 
[+] Running 14/14
[+] Running 3/2
✔ Network gpt-researcher_default
✔ Container gpt-researcher-gpt-researcher-1
! gpt-researcher The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v4) and no specific platform was requested
Attaching to gpt-researcher-1
gpt-researcher-1  | exec /usr/local/bin/uvicorn: exec format error
gpt-researcher-1 exited with code 1
dannykorpan commented 3 weeks ago

Still same problem. Only ARM Image is available.

assafelovic commented 3 weeks ago

Can this work? https://hub.docker.com/r/elestio/gpt-researcher @dannykorpan

arces commented 2 weeks ago

@assafelovic That is what I am using and it works fine for me. My machine where I run docker is using an intel x86 CPU in it. It might be worth it to build docker images with Github Actions and push it to dockerhub. If I have extra time in the near future, I would be interested in helping out with the repo and building this out. Love what you guys are building and it has given me a lot of value, so I appreciate the hard work and responsiveness of you and the team!

https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action

dannykorpan commented 1 week ago

Can this work? https://hub.docker.com/r/elestio/gpt-researcher @dannykorpan

No, always hangs at "Thinking about research questions for the task...".

I'm using it with the latest docker tag.

Here is the output of "docker compose logs"

WARN[0000] /opt/docker/gpt-researcher/docker-compose.yml: `version` is obsolete
gpt-researcher  | USER_AGENT environment variable not set, consider setting it to identify your requests.
gpt-researcher  | INFO:     Started server process [1]
gpt-researcher  | INFO:     Waiting for application startup.
gpt-researcher  | INFO:     Application startup complete.
gpt-researcher  | INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
gpt-researcher  | INFO:     192.168.64.4:55906 - "GET / HTTP/1.1" 200 OK
gpt-researcher  | INFO:     192.168.64.4:55906 - "GET /static/gptr-logo.png HTTP/1.1" 200 OK
gpt-researcher  | INFO:     192.168.64.4:55906 - "POST / HTTP/1.1" 405 Method Not Allowed
gpt-researcher  | INFO:     192.168.64.4:55906 - "GET /favicon.ico HTTP/1.1" 404 Not Found
gpt-researcher  | INFO:     192.168.64.4:37098 - "GET / HTTP/1.1" 200 OK
gpt-researcher  | INFO:     192.168.64.4:37098 - "GET /site/styles.css HTTP/1.1" 200 OK
gpt-researcher  | INFO:     192.168.64.4:37098 - "GET /static/gptr-logo.png HTTP/1.1" 200 OK
gpt-researcher  | INFO:     192.168.64.4:37104 - "GET /site/scripts.js HTTP/1.1" 200 OK
gpt-researcher  | INFO:     192.168.64.4:37098 - "GET /static/favicon.ico HTTP/1.1" 200 OK
gpt-researcher  | INFO:     ('192.168.64.4', 37116) - "WebSocket /ws" [accepted]
gpt-researcher  | INFO:     connection open