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: docs/tutorials/agent_framework/build_your_own_chatbot.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -255,7 +255,7 @@ POST _plugins/_ml/agents/_register
255
255
}
256
256
},
257
257
{
258
-
"type": "CatIndexTool",
258
+
"type": "ListIndexTool",
259
259
"description": "Use this tool to get OpenSearch index information: (health, status, index, uuid, primary count, replica count, docs.count, docs.deleted, store.size, primary.store.size). \nIt takes 2 optional arguments named `index` which is a comma-delimited list of one or more indices to get information from (default is an empty list meaning all indices), and `local` which means whether to return information from the local node only instead of the cluster manager node (default is false)."
260
260
},
261
261
{
@@ -287,14 +287,14 @@ Tips:
287
287
2. Provide a detailed tool description to clarify what the tool can do.
288
288
3. Specify the tool to use in the LLM question, for example, `Can you use the PPLTool to query index opensearch_dashboards_sample_data_ecommerce to calculate how many orders there were during last week?`
289
289
4. Specify the tool to use when executing an agent,
290
-
for example, tell the agent to only use the `PPLTool` and `CatIndexTool` in the current request.
290
+
for example, tell the agent to only use the `PPLTool` and `ListIndexTool` in the current request.
291
291
```
292
292
POST _plugins/_ml/agents/your_agent_id/_execute
293
293
{
294
294
"parameters": {
295
295
"question": "Can you query with index opensearch_dashboards_sample_data_ecommerce to calculate how many orders in last week?",
0 commit comments