Class: Smith::Tools::WebSearch
- Inherits:
-
Smith::Tool
- Object
- RubyLLM::Tool
- Smith::Tool
- Smith::Tools::WebSearch
- Defined in:
- lib/smith/tools/web_search.rb
Instance Method Summary collapse
Methods inherited from Smith::Tool
authorize, before_execute, capabilities, capture_result, category, compatible_with, current_deadline, current_deadline=, current_guardrails, current_guardrails=, current_ledger, current_ledger=, current_tool_call_allowance, current_tool_call_allowance=, current_tool_result_collector, current_tool_result_collector=, #execute, inherited
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 |