Random

Back to top

class searx.answerers.random.SXNGAnswerer[source] : Random value generator

keywords: [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)] = ['random']
:   Keywords to which the answerer has *answers*.

info()[[source]](https://docs.searxng.org/_modules/searx/answerers/random.html#SXNGAnswerer.info)
:   Information about the *answerer*, see `AnswererInfo`.

answer(*query: [str](https://docs.python.org/3/builtins/stdtypes.html#str)*) → [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[BaseAnswer](https://docs.searxng.org/dev/result_types/answer.html#searx.result_types.answer.BaseAnswer)][[source]](https://docs.searxng.org/_modules/searx/answerers/random.html#SXNGAnswerer.answer)
:   Function that returns a list of answers to the question/query.

Copyright © SearXNG team

Made with Furo

💾 🌐