generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 178
add processor chain and add support for model and tool #4093
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
Draft
ylwu-amzn
wants to merge
3
commits into
opensearch-project:main
Choose a base branch
from
ylwu-amzn:agentimprove
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,611
−26
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db22e6f
to
49340dd
Compare
b6e9dbd
to
f648038
Compare
Signed-off-by: Yaliang Wu <[email protected]>
f648038
to
04b2fc5
Compare
04b2fc5
to
a196876
Compare
Signed-off-by: Yaliang Wu <[email protected]>
a196876
to
896b4d2
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4093 +/- ##
============================================
- Coverage 82.02% 82.01% -0.01%
- Complexity 9195 9234 +39
============================================
Files 789 792 +3
Lines 39541 39865 +324
Branches 4387 4461 +74
============================================
+ Hits 32432 32696 +264
- Misses 5219 5255 +36
- Partials 1890 1914 +24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Yaliang Wu <[email protected]>
394b625
to
f9f3764
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
When build tutorial for Agentic RAG with Bedrock OpenAI OSS model, see the converse API returns different result with Bedrock Claude model.
Build post process function with Painless Script is painful. Propose a new processor framework for processing outputs from ML models and tools using chainable processors
Supports multiple built-in processors:
to_string
: Converts input to string formatregex_replace
: Performs regex-based text replacementjsonpath_filter
: Filters JSON using JsonPath expressionsextract_json
: Extracts JSON objects/arrays from textregex_capture
: Captures text using regex groupsremove_jsonpath
: Removes elements at specified JsonPathconditional
: Applies different processors based on conditionsRelated Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff
.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.