-
Notifications
You must be signed in to change notification settings - Fork 147
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
tool uses original input #2022
tool uses original input #2022
Conversation
Signed-off-by: Jing Zhang <jngz@amazon.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2022 +/- ##
============================================
- Coverage 82.57% 82.56% -0.02%
+ Complexity 5581 5580 -1
============================================
Files 540 540
Lines 22462 22465 +3
Branches 2287 2288 +1
============================================
- Hits 18549 18548 -1
- Misses 2980 2984 +4
Partials 933 933
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jing Zhang <jngz@amazon.com>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-2022-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 ef90bf069bb8ce19857469751982e6888fb9e26e
# Push it to GitHub
git push --set-upstream origin backport/backport-2022-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
* tool uses original input Signed-off-by: Jing Zhang <jngz@amazon.com> * fix tool input in trace Signed-off-by: Jing Zhang <jngz@amazon.com> --------- Signed-off-by: Jing Zhang <jngz@amazon.com>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.12 2.12
# Navigate to the new working tree
cd .worktrees/backport-2.12
# Create a new branch
git switch --create backport/backport-2022-to-2.12
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 ef90bf069bb8ce19857469751982e6888fb9e26e
# Push it to GitHub
git push --set-upstream origin backport/backport-2022-to-2.12
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.12 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.12 2.12
# Navigate to the new working tree
cd .worktrees/backport-2.12
# Create a new branch
git switch --create backport/backport-2022-to-2.12
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 ef90bf069bb8ce19857469751982e6888fb9e26e
# Push it to GitHub
git push --set-upstream origin backport/backport-2022-to-2.12
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.12 Then, create a pull request where the |
* tool uses original input Signed-off-by: Jing Zhang <jngz@amazon.com> * fix tool input in trace Signed-off-by: Jing Zhang <jngz@amazon.com> --------- Signed-off-by: Jing Zhang <jngz@amazon.com> (cherry picked from commit ef90bf0)
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.12 2.12
# Navigate to the new working tree
cd .worktrees/backport-2.12
# Create a new branch
git switch --create backport/backport-2022-to-2.12
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 ef90bf069bb8ce19857469751982e6888fb9e26e
# Push it to GitHub
git push --set-upstream origin backport/backport-2022-to-2.12
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.12 Then, create a pull request where the |
* tool uses original input Signed-off-by: Jing Zhang <jngz@amazon.com> * fix tool input in trace Signed-off-by: Jing Zhang <jngz@amazon.com> --------- Signed-off-by: Jing Zhang <jngz@amazon.com> (cherry picked from commit ef90bf0) Co-authored-by: Jing Zhang <jngz@amazon.com>
* tool uses original input Signed-off-by: Jing Zhang <jngz@amazon.com> * fix tool input in trace Signed-off-by: Jing Zhang <jngz@amazon.com> --------- Signed-off-by: Jing Zhang <jngz@amazon.com>
Description
Conversational agent pass user original question as input to the tool that sets useoriginalinput flag as true.
Issues Resolved
The RAG tool can parse the output from LLM, actually the RAG tool needs user original question to search vector DB.
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.