Code Monkey home page Code Monkey logo

Comments (12)

MrAshRhodes avatar MrAshRhodes commented on July 26, 2024 1

go to line 53 in index.html and replace

<form method="POST" class="mt-3" onsubmit="startResearch(); return false;">

with

<form method="POST" class="mt-3" onsubmit="GPTResearcher.startResearch(); return false;">

from gpt-researcher.

rhoconlinux avatar rhoconlinux commented on July 26, 2024 1

Thank you! Solved and working as a charm!
Cheers,

from gpt-researcher.

gregdrizz avatar gregdrizz commented on July 26, 2024

Get the most updated code of gptresearcher, if you run into this problem again after you have the line @MrAshRhodes mentioned, clean your browser's cache and it'll work properly

from gpt-researcher.

assafelovic avatar assafelovic commented on July 26, 2024

Thank you for raising this issue. We've merged a fix or this, so please pull latest version.

from gpt-researcher.

jeffmoore64 avatar jeffmoore64 commented on July 26, 2024

Getting the error:
bash-3.2$ $ uvicorn main:app --reload
bash: $: command not found
So do I just install unicorn or do I need to configure it?

from gpt-researcher.

raviwarrier avatar raviwarrier commented on July 26, 2024

Hi, I just deployed GPT Researcher as a web service on Render and am calling it from Make.com (like Zapier) from an HTTP module.
Here is my HTTP module from Make:
image

But I get this response
image

Since I am not using the frontend, how can I solve this. I haven't changed anything in the code.

from gpt-researcher.

kfern avatar kfern commented on July 26, 2024

Hi @raviwarrier. Do you have any related log on the server side?

from gpt-researcher.

raviwarrier avatar raviwarrier commented on July 26, 2024
==> Using Node version 20.10.0 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version
==> Running 'uvicorn main:app --host 0.0.0.0 --port 10001 --reload'
INFO:     Will watch for changes in these directories: ['/opt/render/project/src']
INFO:     Uvicorn running on http://0.0.0.0:10001/ (Press CTRL+C to quit)
INFO:     Started reloader process [43] using StatReload
INFO:     Started server process [45]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     52.31.156.93:0 - "POST / HTTP/1.1" 405 Method Not Allowed
==> Using Node version 20.10.0 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version
==> Running 'uvicorn main:app --host 0.0.0.0 --port 10001 --reload'
INFO:     Will watch for changes in these directories: ['/opt/render/project/src']
INFO:     Uvicorn running on http://0.0.0.0:10001/ (Press CTRL+C to quit)
INFO:     Started reloader process [43] using StatReload
INFO:     Started server process [45]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     52.31.156.93:0 - "POST / HTTP/1.1" 405 Method Not Allowed

from gpt-researcher.

raviwarrier avatar raviwarrier commented on July 26, 2024

that's all I see on the log window of Render

from gpt-researcher.

kfern avatar kfern commented on July 26, 2024

How is the data submitted from Make.com? I think you can only interact using ws

@app.websocket("/ws")

from gpt-researcher.

raviwarrier avatar raviwarrier commented on July 26, 2024

I'm not a programmer. could you elaborate please? could you tell me how to use/call the websocket?

from gpt-researcher.

raviwarrier avatar raviwarrier commented on July 26, 2024

I checked this docs/docs/tavily-api/rest_api.md
and tried using /search and /search/ but both resulted in "404 detail not found" error
and tried using /ws and /ws/ and got the same 404 error.

what endpoint do I need to use? I also tried api.tavily.com, but that gave a totally different output

from gpt-researcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.