-
Notifications
You must be signed in to change notification settings - Fork 140
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
[bug-fix] Handle BWC for bedrock converse API #3173
[bug-fix] Handle BWC for bedrock converse API #3173
Conversation
Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
Please add 2.x, 2.18 backport labels |
Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
.../org/opensearch/searchpipelines/questionanswering/generative/ext/GenerativeQAParameters.java
Show resolved
Hide resolved
can we add corresponding unit test if possible? |
Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
Added a UT, please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your UT fails, please check and fix
Not related to my UT, taking a look at what test is failing |
Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
29dd894
to
4bf57b4
Compare
Tests are fixed. Requesting for re-review @dhrubo-os @b4sjoo |
* fix: bwc check for llm messages Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: add bwc for llmquestion Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * test: adding ut for bwc Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: test case which counts optional occurence Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> --------- Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> (cherry picked from commit 24d2640)
* fix: bwc check for llm messages Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: add bwc for llmquestion Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * test: adding ut for bwc Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: test case which counts optional occurence Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> --------- Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> (cherry picked from commit 24d2640)
* fix: bwc check for llm messages Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: add bwc for llmquestion Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * test: adding ut for bwc Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: test case which counts optional occurence Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> --------- Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> (cherry picked from commit 24d2640) Co-authored-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
* fix: bwc check for llm messages Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: add bwc for llmquestion Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * test: adding ut for bwc Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: test case which counts optional occurence Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> --------- Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> (cherry picked from commit 24d2640) Co-authored-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
Description
Handles serialization and de-serialization of newly added field for bedrock converse API
Related Issues
Resolves #3126
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.