Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with full RAG and AI Agent capabilities.
https://useanything.com
MIT License
17.15k stars 1.84k forks source link

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

Closed savareyhano closed 2 weeks ago

savareyhano commented 1 month ago

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).

timothycarambat commented 1 month ago

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.

savareyhano commented 1 month ago

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.

jaschadub commented 1 month ago

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

timothycarambat commented 1 month ago

connect #1327

olariuromeo commented 2 weeks ago

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