You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-38Lines changed: 6 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -328,54 +328,22 @@ result = execute_tool.call(toolName="hris_list_employees", params={"limit": 10})
328
328
329
329
## Semantic Search
330
330
331
-
Semantic search enables tool discovery using natural language instead of exact keyword matching. It understands intent and synonyms, so queries like "onboard new hire" or "check my to-do list" resolve to the right StackOne actions.
332
-
333
-
**How it works:** Your query is matched against all StackOne actions using semantic vector search. Results are automatically filtered to only the connectors available in your linked accounts, so you only get tools you can actually use.
334
-
335
-
### `search_tools()` — Recommended
336
-
337
-
High-level method that returns a `Tools` collection ready for any framework:
331
+
Discover tools using natural language instead of exact names. Queries like "onboard new hire" resolve to the right actions even when the tool is called `hris_create_employee`.
338
332
339
333
```python
340
334
from stackone_ai import StackOneToolSet
341
335
342
336
toolset = StackOneToolSet()
343
337
344
-
# Natural language search — no need to know exact tool names
results = search_tool.call(query="onboard a new team member", limit=5)
374
344
```
375
345
376
-
> `tool_search` is scoped to the connectors in your fetched tools, so only tools you can execute are returned.
377
-
378
-
See [Semantic Search Example](examples/semantic_search_example.py) for complete patterns including OpenAI and LangChain integration.
346
+
Results are automatically scoped to connectors in your linked accounts. See [Semantic Search Example](examples/semantic_search_example.py) for utility tools integration, OpenAI, and LangChain patterns.
0 commit comments