Skip to content
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

[Backport 2.x] Bug Fix: Fix for rag processor throwing NPE when optional parameters are not provided #3065

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport b7a0d78 from #3057

…are not provided (#3057)

* fix (rag npe): optional and empty fields are handled appropriately

Signed-off-by: Pavan Yekbote <[email protected]>

* fix: test cases

Signed-off-by: Pavan Yekbote <[email protected]>

* fix: format violations

Signed-off-by: Pavan Yekbote <[email protected]>

* tests: adding empty params test case

Signed-off-by: Pavan Yekbote <[email protected]>

* fix: remove wildcard import

Signed-off-by: Pavan Yekbote <[email protected]>

---------

Signed-off-by: Pavan Yekbote <[email protected]>
(cherry picked from commit b7a0d78)
@opensearch-trigger-bot opensearch-trigger-bot bot had a problem deploying to ml-commons-cicd-env-require-approval October 4, 2024 23:45 Error
@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env-require-approval October 4, 2024 23:45 Inactive
@opensearch-trigger-bot opensearch-trigger-bot bot had a problem deploying to ml-commons-cicd-env-require-approval October 4, 2024 23:45 Error
@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env-require-approval October 4, 2024 23:45 Inactive
@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env-require-approval October 4, 2024 23:45 Inactive
@opensearch-trigger-bot opensearch-trigger-bot bot had a problem deploying to ml-commons-cicd-env-require-approval October 4, 2024 23:45 Failure
@ylwu-amzn ylwu-amzn merged commit 73c8816 into 2.x Oct 7, 2024
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants