Constructor for the SearxngSearch class
Optional
apiBase URL of Searxng instance
Optional
headers?: SearxngCustomHeadersCustom headers Set custom headers if you're using a api from RapidAPI (https://rapidapi.com/iamrony777/api/searxng) No headers needed for a locally self-hosted instance
Optional
params?: SearxngSearchParamsSearxNG Paramerters
https://docs.searxng.org/dev/search_api.html check here for more details
Protected
Optional
apiProtected
Optional
headersProtected
Optional
params
SearxngSearch class represents a meta search engine tool. Use this class when you need to answer questions about current events. The input should be a search query, and the output is a JSON array of the query results.
note: works best with agentType:
structured-chat-zero-shot-react-description
https://github.com/searxng/searxngExample