.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
ollama.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
namespace  searx.engines
 ::1337x
namespace  searx.engines.ollama

Functions

 searx.engines.ollama.request (query, params)
EngineResults searx.engines.ollama.response (resp)

Variables

dict searx.engines.ollama.about
list searx.engines.ollama.categories = ["it", "repos"]
str searx.engines.ollama.base_url = "https://ollama.com"
str searx.engines.ollama.results_xpath = '//li[@x-test-model]'
str searx.engines.ollama.title_xpath = './/span[@x-test-search-response-title]/text()'
str searx.engines.ollama.content_xpath = './/p[@class="max-w-lg break-words text-neutral-800 text-md"]/text()'
str searx.engines.ollama.url_xpath = './a/@href'
str searx.engines.ollama.publish_date_xpath = './/span[contains(@class, "flex items-center")]/@title'