File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -373,6 +373,8 @@ search_tool = utility.get_tool("tool_search")
373373results = search_tool.call(query = " onboard a new team member" , limit = 5 )
374374```
375375
376+ > ` tool_search ` queries the full backend catalog, so make sure ` fetch_tools() ` covers the actions you expect to discover.
377+
376378See [ Semantic Search Example] ( examples/semantic_search_example.py ) for complete patterns including OpenAI and LangChain integration.
377379
378380## Examples
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def example_utility_tools_semantic():
100100
101101 filter_tool = utility_tools .get_tool ("tool_search" )
102102 if filter_tool :
103- # Semantic search understands intent — "onboard new hire" finds termination tools
103+ # Semantic search understands intent — "onboard new hire" finds onboarding tools
104104 result = filter_tool .call (query = "onboard a new team member" , limit = 5 , minScore = 0.0 )
105105
106106 print ("Found relevant tools (semantic search):" )
You can’t perform that action at this time.
0 commit comments