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
Agent framework (#1161 ) needs tools to extend functionality. This issue propose to add cat index tools to it.
The cat index tool should return main information of index
health status
shard info: primary/replica shard count, size
doc count
What solution would you like?
Build tool in ml-commons to retrieve all index information.
Agent framework (#1161 ) will provide a general tool framework. We can build search monitor/alerts tools with that framework.
Is your feature request related to a problem?
Agent framework (#1161 ) needs tools to extend functionality. This issue propose to add cat index tools to it.
The cat index tool should return main information of index
What solution would you like?
Build tool in ml-commons to retrieve all index information.
Agent framework (#1161 ) will provide a general tool framework. We can build search monitor/alerts tools with that framework.
Build against the Tool interface on the
agent_framework_dev
branch: https://github.com/opensearch-project/ml-commons/blob/feature/agent_framework_dev/spi/src/main/java/org/opensearch/ml/common/spi/tools/Tool.javaReview example tools in the Agent Framework POC commit: 1b85cff where there are 6 tools under
ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/
. A good example is theCatIndices
tool: https://github.com/opensearch-project/ml-commons/blob/feature/agent_framework_dev/ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/CatIndexTool.java which shows how to use the NodeClient (IndicesAdminClient) to fetch Cluster Health statistics.What alternatives have you considered?
N/A
Do you have any additional context?
#1161
The text was updated successfully, but these errors were encountered: