-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: add aws bedrock to AgentComponent #4515
Merged
edwinjosechittilappilly
merged 16 commits into
main
from
feat-add-aws-bedrock-simple-agents
Nov 12, 2024
Merged
feat: add aws bedrock to AgentComponent #4515
edwinjosechittilappilly
merged 16 commits into
main
from
feat-add-aws-bedrock-simple-agents
Nov 12, 2024
Conversation
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
update model list as constants Add default value to Secret string variables
load_from_db false for session_token
aws bedrock added
dosubot
bot
added
size:L
This PR changes 100-499 lines, ignoring generated files.
enhancement
New feature or request
labels
Nov 12, 2024
edwinjosechittilappilly
changed the base branch from
main
to
fix-aws-bedrock-components-secrets
November 12, 2024 00:22
dosubot
bot
added
size:S
This PR changes 10-29 lines, ignoring generated files.
and removed
size:L
This PR changes 100-499 lines, ignoring generated files.
labels
Nov 12, 2024
…edrock-simple-agents
github-actions
bot
added
enhancement
New feature or request
and removed
enhancement
New feature or request
labels
Nov 12, 2024
edwinjosechittilappilly
changed the base branch from
fix-aws-bedrock-components-secrets
to
main
November 12, 2024 00:23
dosubot
bot
added
size:L
This PR changes 100-499 lines, ignoring generated files.
and removed
size:S
This PR changes 10-29 lines, ignoring generated files.
labels
Nov 12, 2024
github-actions
bot
added
enhancement
New feature or request
and removed
enhancement
New feature or request
labels
Nov 12, 2024
CodSpeed Performance ReportMerging #4515 will degrade performances by 13.97%Comparing Summary
Benchmarks breakdown
|
ogabrielluiz
changed the title
feat: add aws bedrock simple agents
feat: add aws bedrock to AgentComponent
Nov 12, 2024
github-actions
bot
added
enhancement
New feature or request
and removed
enhancement
New feature or request
labels
Nov 12, 2024
ogabrielluiz
requested changes
Nov 12, 2024
dosubot
bot
added
size:S
This PR changes 10-29 lines, ignoring generated files.
and removed
size:L
This PR changes 100-499 lines, ignoring generated files.
labels
Nov 12, 2024
ogabrielluiz
approved these changes
Nov 12, 2024
edwinjosechittilappilly
deleted the
feat-add-aws-bedrock-simple-agents
branch
November 12, 2024 21:59
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
lgtm
This PR has been approved by a maintainer
size:S
This PR changes 10-29 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request enhances the integration with Amazon Bedrock by adding support for new AWS models and regions, and updating the relevant components to use these new constants. The most important changes include the addition of new AWS model IDs and regions, and the modification of components to utilize these constants.
Enhancements to AWS Model and Region Support:
src/backend/base/langflow/base/models/aws_constants.py
: Added new constantsAWS_MODEL_IDs
andAWS_REGIONS
to list supported AWS model IDs and regions.Integration with Amazon Bedrock Components:
src/backend/base/langflow/base/models/model_input_constants.py
: IncludedAmazonBedrockComponent
and its input fields in the model input constants. [1] [2] [3] [4]src/backend/base/langflow/components/embeddings/amazon_bedrock.py
: UpdatedAmazonBedrockEmbeddingsComponent
to useAWS_REGIONS
for region selection and added default values for AWS credentials. [1] [2] [3] [4]src/backend/base/langflow/components/models/amazon_bedrock.py
: UpdatedAmazonBedrockComponent
to useAWS_MODEL_IDs
andAWS_REGIONS
for model ID and region selection, and added default values for AWS credentials. [1] [2] [3] [4] [5]