Class: Smith::Tools::WebSearch
- Inherits:
-
Smith::Tool
- Object
- RubyLLM::Tool
- Smith::Tool
- Smith::Tools::WebSearch
- Defined in:
- lib/smith/tools/web_search.rb
Constant Summary
Constants included from Smith::Tool::ScopedContext
Smith::Tool::ScopedContext::CONTEXT_KEYS
Instance Method Summary collapse
Methods inherited from Smith::Tool
authorize, before_execute, capabilities, category, compatible_with, #execute, inherited
Methods included from Smith::Tool::CaptureConfiguration
#capture_result, #capture_result_strict?
Methods included from Smith::Tool::ScopedContext
around, capture, #with_invocation_context
Instance Method Details
#perform(query:, max_results: 5) ⇒ Object
12 13 14 |
# File 'lib/smith/tools/web_search.rb', line 12 def perform(query:, max_results: 5) raise NotImplementedError, "#{self.class} requires a host-app implementation" end |