-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Fix : short_term_memory with bedrock - using user defined model(when passed as attribute) rather than default #1959
Conversation
Modified _configure_bedrock method to use user submitted model_name rather than default amazon.titan-embed-text-v1. Sending model_name in short_term_memory (embedder_config/config) was not working. # Passing model_name to use model_name provide by user than using default. Added if/else for backward compatibility
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #1959OverviewThe proposed changes to the Code ChangesThis modification alters how the Key Findings and Recommendations
Additional Considerations
SummaryWhile the functional enhancements are beneficial for supporting customized embedding configurations, incorporating the outlined suggestions would significantly improve code quality, maintainability, and clarity. Addressing the identified issues will position the code well for future development and user engagement. |
Incorporated review comments
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.
Thank you for the fix!
…passed as attribute) rather than default (#1959) * Update embedding_configurator.py Modified _configure_bedrock method to use user submitted model_name rather than default amazon.titan-embed-text-v1. Sending model_name in short_term_memory (embedder_config/config) was not working. # Passing model_name to use model_name provide by user than using default. Added if/else for backward compatibility * Update embedding_configurator.py Incorporated review comments --------- Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com>
Modified _configure_bedrock method to use user submitted model_name rather than default amazon.titan-embed-text-v1.
Sending model_name in short_term_memory (embedder_config/config) was not working.
Passing model_name to use model_name provide by user than using default. Added if/else for backward compatibility