Module: Pikuri::Tool::Search
- Defined in:
- lib/pikuri/tool/search/exa.rb,
lib/pikuri/tool/search/brave.rb,
lib/pikuri/tool/search/result.rb,
lib/pikuri/tool/search/engines.rb,
lib/pikuri/tool/search/duckduckgo.rb,
lib/pikuri/tool/search/rate_limiter.rb
Defined Under Namespace
Modules: Brave, DuckDuckGo, Engines, Exa Classes: RateLimiter, Result
Instance Attribute Summary collapse
-
#body ⇒ String
readonly
Plain-text snippet, possibly empty (e.g. an Exa navigational result with no highlights).
-
#title ⇒ String
readonly
Plain-text title, with provider-specific highlight markup (Brave‘s <strong>, DuckDuckGo’s <b>) already stripped.
-
#url ⇒ String
readonly
Absolute URL of the hit.
Instance Attribute Details
#body ⇒ String (readonly)
Returns plain-text snippet, possibly empty (e.g. an Exa navigational result with no highlights).
26 |
# File 'lib/pikuri/tool/search/result.rb', line 26 Result = Data.define(:url, :title, :body) |
#title ⇒ String (readonly)
Returns plain-text title, with provider-specific highlight markup (Brave‘s <strong>, DuckDuckGo’s <b>) already stripped.
26 |
# File 'lib/pikuri/tool/search/result.rb', line 26 Result = Data.define(:url, :title, :body) |
#url ⇒ String (readonly)
Returns absolute URL of the hit.
26 |
# File 'lib/pikuri/tool/search/result.rb', line 26 Result = Data.define(:url, :title, :body) |