langchain/docs/modules/utils
blob42 3ecdea8be4
SearxNG meta search api helper (#854)
This is a work in progress PR to track my progres.

## TODO:

- [x]  Get results using the specifed searx host
- [x]  Prioritize returning an  `answer`  or results otherwise
    - [ ] expose the field `infobox` when available
    - [ ] expose `score` of result to help agent's decision
- [ ] expose the `suggestions` field to agents so they could try new
queries if no results are found with the orignial query ?

- [ ] Dynamic tool description for agents ?
- Searx offers many engines and a search syntax that agents can take
advantage of. It would be nice to generate a dynamic Tool description so
that it can be used many times as a tool but for different purposes.

- [x]  Limit number of results
- [ ]   Implement paging
- [x]  Miror the usage of the Google Search tool
- [x] easy selection of search engines
- [x]  Documentation
    - [ ] update HowTo guide notebook on Search Tools
- [ ] Handle async 
- [ ]  Tests

###  Add examples / documentation on possible uses with
 - [ ]  getting factual answers with `!wiki` option and `infoboxes`
 - [ ]  getting `suggestions`
 - [ ]  getting `corrections`

---------

Co-authored-by: blob42 <spike@w530>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-02-15 23:03:57 -08:00
..
combine_docs_examples Support similarity search by vector (in FAISS) (#961) 2023-02-15 22:50:00 -08:00
examples SearxNG meta search api helper (#854) 2023-02-15 23:03:57 -08:00
combine_docs_how_to.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
generic_how_to.rst SearxNG meta search api helper (#854) 2023-02-15 23:03:57 -08:00
how_to_guides.rst Feature: linkcheck-action (#534) (#542) 2023-01-04 21:39:50 -08:00
key_concepts.md SearxNG meta search api helper (#854) 2023-02-15 23:03:57 -08:00