-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat(constructs): bug fixes from joyride testing #48
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
📢 Thoughts on this report? Let us know!. |
logger.info(f"_retriever={handler_type} does not match _current_retriever={_current_doc_index}, " | ||
f"resetting retriever") | ||
_doc_index = None | ||
|
||
if _doc_index is None: |
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.
when will be _doc_index not null
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.
statically initialized before the method signature
requests==2.31.0 | ||
requests-aws4auth==1.2.3 | ||
opensearch-py==2.3.1 | ||
numpy |
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.
are we using numpy, couldn't find any import for this.
) | ||
sts_client = boto3.client("sts") | ||
|
||
def get_bedrock_client(service_name="bedrock-runtime"): |
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.
can't this function be imported from opensearch_helper.py
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.
some small questions , nothing blocking hence approving.
Fixes #
Fixes multiple issues related to testing of the constructs:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.