forked from opensearch-project/ml-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fix: Fix for rag processor throwing NPE when optional parameters …
…are not provided (opensearch-project#3057) * fix (rag npe): optional and empty fields are handled appropriately Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: test cases Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: format violations Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * tests: adding empty params test case Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> * fix: remove wildcard import Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com> --------- Signed-off-by: Pavan Yekbote <mail2pavanyekbote@gmail.com>
- Loading branch information
Showing
3 changed files
with
175 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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