AgentGPT
AgentGPT copied to clipboard
ERROR: Failed to search as no SERP_API_KEY is provided in ENV.
I noticed this error when enabling web search. ERROR: Failed to search as no SERP_API_KEY is provided in ENV. What is SERP_API_KEY?
It is used for scraping search results. You can sign up here: https://serpapi.com/users/sign_up and it should generate a key for you.
Paste it in this file: https://github.com/reworkd/AgentGPT/blob/8810ae2ee4db52fef84d31789c21406f0ce53bd9/src/services/custom-tools/serper.ts#L26
Any benefit over Google API and CSE?
@darth-pika-hu Mostly just price and scalability. When we turned it on we hit 50k + requests in under 8 hours. I think the google API only allows for 10k searches a day
Thanks @zahir2000!
@asim-shrestha How about giving users options can use their Google API?
@darth-pika-hu Mostly just price and scalability. When we turned it on we hit 50k + requests in under 8 hours. I think the google API only allows for 10k searches a day
how much is 50k request in $$ amount? ..... ok I just became a sponsor, a google api and google search id would be good just for a single user that is running there own instance on vercel and 10k a day is fine.
Just let user use their own API
It is used for scraping search results. You can sign up here: https://serpapi.com/users/sign_up and it should generate a key for you.
Paste it in this file:
https://github.com/reworkd/AgentGPT/blob/8810ae2ee4db52fef84d31789c21406f0ce53bd9/src/services/custom-tools/serper.ts#L26
Where do I find this file? After installing in Docker?
Hey folks, so if you follow our new ./setup.sh
script you can provide your own serper API key. To use google, we'd need to have another integration. Feel free to make a ticket if this is of interest to you :) In the meantime, I'll be closing this one