-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: search index tool #1750
feat: search index tool #1750
Conversation
36ab02a
to
6ae9c7c
Compare
Signed-off-by: yuye-aws <[email protected]> run spotless apply Signed-off-by: yuye-aws <[email protected]> forward model and connetor search to transport action in search index tool Signed-off-by: yuye-aws <[email protected]> format fix Signed-off-by: yuye-aws <[email protected]> format exception statement Signed-off-by: yuye-aws <[email protected]> typo fix Signed-off-by: yuye-aws <[email protected]> fix unit test bug Signed-off-by: yuye-aws <[email protected]> unit tests for search index tool Signed-off-by: yuye-aws <[email protected]> fix unit tests for abstract retriever tool Signed-off-by: yuye-aws <[email protected]>
6ae9c7c
to
d73d3a6
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## feature/agent_framework_dev #1750 +/- ##
=================================================================
+ Coverage 69.59% 69.75% +0.16%
- Complexity 2662 2666 +4
=================================================================
Files 242 243 +1
Lines 13017 13020 +3
Branches 1305 1311 +6
=================================================================
+ Hits 9059 9082 +23
+ Misses 3340 3318 -22
- Partials 618 620 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Please don't do force push. Otherwise, reviewers can't see the previous comments and don't know what's the latest change. |
Signed-off-by: yuye-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>
Signed-off-by: yuye-aws <[email protected]>
This PR will be closed because we will move SearchIndexTool to skills repo, here is the link for new PR: opensearch-project/skills#61. |
Description
Implement SearchIndexTool to support agent framework. It takes in two string parameters: index and query. Here is the sample usage of this tool. Please remember to replace the model id and agent id.
The expected successful response should be
If there is error when parsing the input, the expected error response could be:
Issues Resolved
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.