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

89 bedrock agent required arguments documented as optional #92

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

suyinw
Copy link

@suyinw suyinw commented Nov 26, 2024

Issue #, if available:
#89 Bedrock Agent required arguments documented as optional

Description of changes:
The the optional arguments: bedrock_session_attributes and bedrock_prompt_session_attributes (as shown in documentation) were not defined as optional for the Bedrock Agent target, which causes errors when not specifiying these two arguments as part of the agenteval.yml. Updating the target.py for Bedrock Agent to change the two arguments as optional and change the logic for passing to the sessionState as one of the key arguments for agent invokation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

suyinwa added 4 commits November 26, 2024 12:59
…ibutes to be optional as input for BedrockAgentTarget
…ibutes to be optional as input for BedrockAgentTarget
…ttributes and promptSessionAttributes variables
…es and promptSessionAttributes variables - removing sessionState argument as is not needed
@suyinw suyinw linked an issue Nov 26, 2024 that may be closed by this pull request
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.

Bedrock Agent required arguments documented as optional
1 participant