anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[FEAT]: Add Searxng as web search provider for agent to use (free and unrestricted)

Open savareyhano opened this issue 9 months ago • 4 comments

What would you like to see?

Add Searxng as the web search provider for agent to use, it is used in popular github projects like Perplexica, and LLocalSearch. I think this would be great alternative to Google and Serper, because if i'm not mistaken it is free and not restricted with maybe a caveat (after seeing how Perplexica works) it need to be locally hosted (more resource usage probably).

savareyhano avatar May 12 '24 04:05 savareyhano

The best we could do here is connect to someones running instance of Seachxng. So it would basically just be a third party provider for search support.

timothycarambat avatar May 12 '24 17:05 timothycarambat

The best we could do here is connect to someones running instance of Seachxng. So it would basically just be a third party provider for search support.

Yeah i think that would be good too, because creating own searxng instances would require docker (correct me if i'm wrong) and all stuff that might complicate the application unnecessarily.

User can host his own searxng instance or by using someone else instance and AnythingLLM connects into it sounds more reasonable to me.

savareyhano avatar May 12 '24 22:05 savareyhano

I run a local docker container of searxng since most public ones do not provide json results. Plus I can customize which search engines it queries in config. Example config: https://gist.github.com/jaschadub/65edd6b158eddb7b2c1da41e25820c6d

jaschadub avatar May 12 '24 22:05 jaschadub

connect #1327

timothycarambat avatar May 20 '24 18:05 timothycarambat

Nice, so how we can add this search to the app?

olariuromeo avatar Jun 20 '24 11:06 olariuromeo