Skip to content

Commit

Permalink
update description in search index tool so that it will only be calle…
Browse files Browse the repository at this point in the history
…d when both parameters are availalbe (#122)

Signed-off-by: yuye-aws <[email protected]>
  • Loading branch information
yuye-aws authored Jan 12, 2024
1 parent cf20a00 commit c202f62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class SearchIndexTool implements Tool {

public static final String TYPE = "SearchIndexTool";
private static final String DEFAULT_DESCRIPTION =
"Use this tool to search an index by providing two parameters: 'index' for the index name, and 'query' for the OpenSearch DSL formatted query. Only use this tool when a DSL query is available.";
"Use this tool to search an index by providing two parameters: 'index' for the index name, and 'query' for the OpenSearch DSL formatted query. Only use this tool when both index name and DSL query is available.";

private String name = TYPE;

Expand Down

0 comments on commit c202f62

Please sign in to comment.